Electric power data classification method and system based on k-means algorithm

A technology of power data and classification method, applied in the computer field, can solve the problems of data analysis influence and large error, etc.

Inactive Publication Date: 2020-02-14
STATE GRID ZHEJIANG ELECTRIC POWER CO LTD HANGZHOU POWER SUPPLY CO +1
View PDF6 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The existing classification method is manual classification according to the source of the data. This method of data classification has large errors, so it will have a great impact on the final data analysis.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Electric power data classification method and system based on k-means algorithm
  • Electric power data classification method and system based on k-means algorithm
  • Electric power data classification method and system based on k-means algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The technical solutions of the present invention will be further described below in conjunction with the accompanying drawings, but the present invention is not limited to these embodiments.

[0030] The basic idea of ​​the present invention is to obtain the data that needs to be classified from the power system of the electric power company, manually select the optimal classification number according to the expected classification in the power grid project, randomly generate the cluster centers, and start iterative calculation, each time the entire data The condition for judging the classification is the distance between the current data point and each cluster center, and the nearest center is selected as the category to which it belongs. When all points are classified, the center of each type is calculated as the new cluster center, and the clustering center is judged as It ends when the center variation is less than a certain set value, and finally realizes the classi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to the field of computers, in particular to an electric power data classification method and system based on a naive Bayesian algorithm, and the method comprises the steps: S1, obtaining data from an electric power system of an electric power company, and generating a data set; S2, taking a data subset from the data set, and carrying out incremental training to obtain the data subset; S3, calculating the frequency of each type of Ck in the data subset; S4, dividing the data subset into K sub-data subsets, and calculating the probability that the jth feature Xj is equal toajl; S5, calculating the posterior probability of each category Ck, wherein the category with the maximum probability value is the prediction category of the to-be-predicted sample; S6, removing thecurrent data subset from the data set, judging whether the data set is empty or not, if not, executing the step S2, and if yes, ending classification. According to the method, maximum likelihood estimation is adopted to represent the probabilities of various classifications for various features, and then the category with the maximum probability value is selected as the prediction category of theto-be-predicted sample, so that data classification can be quickly and accurately realized.

Description

technical field [0001] The invention relates to the field of computers, in particular to a power data classification method and system based on a k-means algorithm. Background technique [0002] In order to study the current risk status of power supply enterprises, standardize the business management of power supply enterprises, improve the efficiency of production and operation, and effectively ensure the safe and reliable supply of electricity and high-quality services, the State Grid needs to analyze the data in the power system. [0003] Before analyzing the data in the power system, it is necessary to classify the data reasonably and effectively for better analysis. The existing classification method is manual classification according to the source of the data. This method of data classification has large errors, so it will have a great impact on the final data analysis. Contents of the invention [0004] In order to solve the above problems, the present invention pr...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06K9/62G06Q10/06G06Q50/06
CPCG06Q10/0635G06Q50/06G06F18/23213G06F18/24147
Inventor 司为国朱炯张博张玉鹏赵开郭小茜张浩俞成彪严志毅闫宇铎曹杰人金仁云宋惠忠李骏柳志军唐鸣张益军施萌张俊侯伟宏钟晓红何可人高瑾吴颖陈晨厉律阳徐国锋章晨璐朱小炜孙远向新宇华玫沈志强朱坚孙建军仲从杰毛无穷刘磊
Owner STATE GRID ZHEJIANG ELECTRIC POWER CO LTD HANGZHOU POWER SUPPLY CO
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products