基于KNN的空气质量等级预测研究与实现

Y. Gong, P. Zhang
{"title":"基于KNN的空气质量等级预测研究与实现","authors":"Y. Gong, P. Zhang","doi":"10.1109/AIAM54119.2021.00068","DOIUrl":null,"url":null,"abstract":"Since entering modern society, people have paid more and more attention to air quality in order to better help predict the air quality level. This paper proposes an air quality grade prediction model based on the K-nearest neighbor algorithm. Firstly, the historical measurement data of air quality is crawled from the relevant weather website and saved to the local CSV file; then the data is read, and the scatter diagram is used to visually display the 6 characteristics that affect the air quality level evaluation; then the K nearest neighbor algorithm is selected, and the difference is adjusted. The parameter training model of, and then through the test set verification, the test accuracy rate is 95.10%. Finally, a set of new data is randomly given, and the prediction results are in line with the expected results, which can be extended to predict the air quality level.","PeriodicalId":227320,"journal":{"name":"2021 3rd International Conference on Artificial Intelligence and Advanced Manufacture (AIAM)","volume":"17 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"Research and Realization of Air Quality Grade Prediction Based on KNN\",\"authors\":\"Y. Gong, P. Zhang\",\"doi\":\"10.1109/AIAM54119.2021.00068\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Since entering modern society, people have paid more and more attention to air quality in order to better help predict the air quality level. This paper proposes an air quality grade prediction model based on the K-nearest neighbor algorithm. Firstly, the historical measurement data of air quality is crawled from the relevant weather website and saved to the local CSV file; then the data is read, and the scatter diagram is used to visually display the 6 characteristics that affect the air quality level evaluation; then the K nearest neighbor algorithm is selected, and the difference is adjusted. The parameter training model of, and then through the test set verification, the test accuracy rate is 95.10%. Finally, a set of new data is randomly given, and the prediction results are in line with the expected results, which can be extended to predict the air quality level.\",\"PeriodicalId\":227320,\"journal\":{\"name\":\"2021 3rd International Conference on Artificial Intelligence and Advanced Manufacture (AIAM)\",\"volume\":\"17 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-10-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2021 3rd International Conference on Artificial Intelligence and Advanced Manufacture (AIAM)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/AIAM54119.2021.00068\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 3rd International Conference on Artificial Intelligence and Advanced Manufacture (AIAM)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/AIAM54119.2021.00068","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

摘要

进入现代社会以来,人们越来越关注空气质量,以便更好地帮助预测空气质量水平。提出了一种基于k近邻算法的空气质量等级预测模型。首先,从相关天气网站抓取空气质量历史测量数据,保存到本地CSV文件中;然后读取数据,用散点图直观显示影响空气质量等级评价的6个特征;然后选择K个最近邻算法,并调整差值。的参数训练模型,然后通过测试集验证,测试准确率为95.10%。最后随机给出一组新的数据,预测结果与预期结果一致,可推广到空气质量水平的预测。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Research and Realization of Air Quality Grade Prediction Based on KNN
Since entering modern society, people have paid more and more attention to air quality in order to better help predict the air quality level. This paper proposes an air quality grade prediction model based on the K-nearest neighbor algorithm. Firstly, the historical measurement data of air quality is crawled from the relevant weather website and saved to the local CSV file; then the data is read, and the scatter diagram is used to visually display the 6 characteristics that affect the air quality level evaluation; then the K nearest neighbor algorithm is selected, and the difference is adjusted. The parameter training model of, and then through the test set verification, the test accuracy rate is 95.10%. Finally, a set of new data is randomly given, and the prediction results are in line with the expected results, which can be extended to predict the air quality level.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信