AI-FLARES: Artificial Intelligence for the Analysis of Solar Flares Data