Astronomy Prediction Based on Patterns