Solar activity has various influences on the global environment, in particular on the weather and the likelihood of natural disasters. In particular, it may have serious impacts on Earth such as failure of satellite communication and navigation (GPS), satellite damage, increased radiation exposure to astronauts, geomagnetic storm and aurora, and power plant failures causing more serious disaster. For a precise forecast of larger scale solar flares causing serious disaster, it is important to improve the space weather forecast, which is basically a daily forecast of the solar flare. In our work so far, a machine-learning algorithm called Support Vector Machine (SVM) was used to forecast the space weather. Here, we propose to extend this technology by integrating a Genetic Algorithm (GA) for a more precise forecast and present an evaluation of this approach.