{'fraction_non_alphanumeric': 0.018799710773680405, 'fraction_numerical': 0.004338394793926247, 'mean_word_length': 5.437209302325582, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Weather classification method based on spiking neural network

People's life and production activities are directly or indirectly affected by the weather. It is very necessary to accurately and quickly predict weather conditions. At present, the weather prediction system needs a series of sensors and manual assistance, but it cannot be arranged in high density due to high cost, which leads to inaccurate weather prediction. Computer vision technology can classify weather conditions through images, which reduces the cost and can be arranged in high density to ensure the accuracy of weather prediction. Because the training and reasoning of traditional p Convolutional Neural Network has very large energy consumption, while Spiking Neural Network has the characteristics of ultra-low energy consumption, which can further reduce the energy cost. In this paper, a shallow Spiking Neural Network for weather classification is constructed, which is trained and tested on a dataset containing four categories (cloudy, rainy, sunny and sunrise). Experiments show that the classification accuracy of the model is 93.45%, which is higher than that of the Convolutional Neural Network based on vgg19. In addition, the computational complexity of Spiking Neural Network and Convolutional Neural Network are analyzed to show the advantages of Spiking Neural Network in energy consumption.