The impact of traffic accidents is not limited to the parties involved, and often causes inconvenience to other road users. The causes of traffic accidents are complex, such as road conditions, traffic flow, signal control, and drivers themselves. Weather may also be a factor in traffic accidents. With the vigorous development of machine learning technology and the high transparency of data by governments around the world, the application of big data analysis has become more closer to people's daily life. This study uses machine learning methods such as Decision Trees, K-Nearest Neighbors, Random Forest, and Bayesian classifiers to examine the role of weather conditions such as the wind direction, wind speed, rainfall, air pressure, temperature, ultraviolet rays, etc. on traffic accidents.