大数据分析案例:电力窃漏电用户自动识别.rar

上传者: cjw12581 | 上传时间: 2024-05-17 16:13:17 | 文件大小: 116KB | 文件类型: RAR
力窃漏电用户自动识别 1.背景与数据分析目的 a.通过电力系统采集到的数据,提取出窃漏电用户的关键特征, b.构建窃漏电用户的识别模型:以实现自动检查、判断用户是否是存在窃漏电行为。 2.数据预处理 通过对拿到的数据进行数据质量分析,检查原始数据中存在的脏数据,通过查看原始数据中抽取的数据,发现存在数据缺失的现象,使用朗格拉日插值法:选取缺失值前5个数据作为前参考组,缺失值后5个数据作为后参考组,处理缺失值程序. 3.挖掘建模 从专家样本中随机选取20%作为测试样本,剩下的80%作为训练样本,初步选择常用的分类预测模型:CART决策树和LM神经网络。 3.1 构建CART决策树模型 3.2 LM神经网络模型 3.3 CART和LM模型对比 结论:LM神经网络的ROC曲线比CART决策树更加靠近单位方形的左上角且LM神经网络的ROC曲线下的面积更大,则LM神经网络预测模型的分类性能更好,更适合应用于窃漏电用户自动识别当中。 将处理后的数据作为模型输入数据,利用构建好的模型(位于工程的tmp中)计算用户的窃漏电结果,并与实际调查结果做对比,对模型进行优化,进一步提高识别准确率。 ——

文件下载

资源详情

[{"title":"( 41 个子文件 116KB ) 大数据分析案例:电力窃漏电用户自动识别.rar","children":[{"title":"大数据分析案例:电力窃漏电用户自动识别","children":[{"title":"cjw","children":[{"title":"data","children":[{"title":"missing_data.xls <span style='color:#111;'> 24.50KB </span>","children":null,"spread":false},{"title":"model.xls <span style='color:#111;'> 39.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"tmp","children":[{"title":"missing_data_processed.xls <span style='color:#111;'> 5.50KB </span>","children":null,"spread":false},{"title":"tree.pkl <span style='color:#111;'> 4.29KB </span>","children":null,"spread":false},{"title":"net.model <span style='color:#111;'> 14.42KB </span>","children":null,"spread":false},{"title":"ROC of CART_tree and LM.png <span style='color:#111;'> 21.01KB </span>","children":null,"spread":false}],"spread":true},{"title":"code","children":[{"title":"lm_model.py <span style='color:#111;'> 2.46KB </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"dt_model.cpython-37.pyc <span style='color:#111;'> 1.69KB </span>","children":null,"spread":false},{"title":"cm_plot.cpython-37.pyc <span style='color:#111;'> 646B </span>","children":null,"spread":false}],"spread":true},{"title":"Lagrange_interpolation.py <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"dt_model.py <span style='color:#111;'> 2.37KB </span>","children":null,"spread":false},{"title":"cm_plot.py <span style='color:#111;'> 704B </span>","children":null,"spread":false},{"title":"bijiao.py <span style='color:#111;'> 3.25KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".idea","children":[{"title":"数据分析.iml <span style='color:#111;'> 461B </span>","children":null,"spread":false},{"title":"dbnavigator.xml <span style='color:#111;'> 22.41KB </span>","children":null,"spread":false},{"title":"codeStyles","children":[{"title":"Project.xml <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false}],"spread":true},{"title":"misc.xml <span style='color:#111;'> 208B </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 283B </span>","children":null,"spread":false},{"title":"encodings.xml <span style='color:#111;'> 272B </span>","children":null,"spread":false},{"title":"workspace.xml <span style='color:#111;'> 8.81KB </span>","children":null,"spread":false},{"title":"inspectionProfiles","children":[{"title":"profiles_settings.xml <span style='color:#111;'> 174B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"demo","children":[{"title":"data","children":[{"title":"normalization_data.xls <span style='color:#111;'> 22.00KB </span>","children":null,"spread":false},{"title":"discretization_data.xls <span style='color:#111;'> 55.00KB </span>","children":null,"spread":false},{"title":"electricity_data.xls <span style='color:#111;'> 23.00KB </span>","children":null,"spread":false},{"title":"leleccum.mat <span style='color:#111;'> 33.78KB </span>","children":null,"spread":false},{"title":"catering_sale.xls <span style='color:#111;'> 32.00KB </span>","children":null,"spread":false},{"title":"principal_component.xls <span style='color:#111;'> 25.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"tmp","children":[{"title":"electricity_data.xls <span style='color:#111;'> 5.50KB </span>","children":null,"spread":false},{"title":"sales.xls <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"code","children":[{"title":"cjw.py <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"cjwd.py <span style='color:#111;'> 495B </span>","children":null,"spread":false},{"title":"4-5_wave_analyze.py <span style='color:#111;'> 487B </span>","children":null,"spread":false},{"title":"4-2_data_normalization.py <span style='color:#111;'> 910B </span>","children":null,"spread":false},{"title":"dfsf.py <span style='color:#111;'> 3.11KB </span>","children":null,"spread":false},{"title":"4-4_line_rate_construct.py <span style='color:#111;'> 442B </span>","children":null,"spread":false},{"title":"4-1_lagrange_newton_interp.py <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false},{"title":"cjwa.py <span style='color:#111;'> 625B </span>","children":null,"spread":false},{"title":"ghg.py <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"4-6_principal_component_analyze.py <span style='color:#111;'> 465B </span>","children":null,"spread":false},{"title":"cjwc.py <span style='color:#111;'> 951B </span>","children":null,"spread":false},{"title":"4-3_data_discretization.py <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明