DEVELOPMENT OF ADVANCED ALGORITHMS TO DETECT, CHARACTERIZE AND FORECAST SOLAR ACTIVITIES