Check patentability & draft patents in minutes with Patsnap Eureka AI!

Method for determining weight of weighted naive Bayesian algorithm

A Bayesian and weight technology, applied in the field of determining the weights of the weighted naive Bayes algorithm, can solve the problems of ineffectiveness and poor classification effect of the naive Bayes method.

Pending Publication Date: 2020-04-28
HANGZHOU DIANZI UNIV
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The model assumes that the attributes are independent of each other, but this assumption is often not true in practical applications. When the number of attributes is large or the correlation between attributes is large, the classification effect of the Naive Bayesian method is not good.

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
  • Method for determining weight of weighted naive Bayesian algorithm
  • Method for determining weight of weighted naive Bayesian algorithm
  • Method for determining weight of weighted naive Bayesian algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] In order to illustrate the embodiments of the present invention more clearly, the specific implementation manners of the present invention will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention, and those skilled in the art can obtain other accompanying drawings based on these drawings and obtain other implementations.

[0038] like figure 1 As shown, the method for determining the weight of the weighted naive Bayesian algorithm in the embodiment of the present invention includes:

[0039] (1) Set the initial weight, and randomly select a weight growth rate;

[0040] (2) In the training set, use the posterior probability maximization criterion to calculate the prediction accuracy of the program under the initial weight;

[0041] (3) Adjust the weight so that the weight is equal to the initial weight plus the growth rate of the weight to o...

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 a method for determining the weight of a weighted naive Bayesian algorithm. The method comprises the following steps: S1, setting an initial weight and selecting a weight increase amplitude; s2, in the training set, calculating the prediction accuracy of the program under the initial weight; s3, adjusting the weight so as to enable the adjusted weight to be equal to the sum of the initial weight and the weight increase amplitude, and obtaining the prediction accuracy of the program under the adjusted weight; s4, comparing the prediction accuracies before and after weight modification, if the prediction accuracy after weight modification is higher, keeping the weight after weight modification unchanged, and increasing the weight increase amplitude by 1; otherwise, recovering the weight to be in a state before modification, and reducing the weight increase amplitude by 0.1; s5, judging whether the weight increasing amplitude is 0 or not, and if so, turning to thestep S6; otherwise, turning to the step S3; s6, taking the obtained weight as the optimal weight, and outputting the optimal weight. According to the method, under the condition that attributive characters of the naive Bayesian algorithm do not meet'naive ', an optimization method for quickly determining the weight is carried out.

Description

technical field [0001] The invention belongs to the field of machine learning, and in particular relates to a method for determining the weight of a weighted naive Bayesian algorithm. Background technique [0002] Epilepsy is a common chronic brain disorder. Not only in China, but also in the whole world, many people are deeply affected by epilepsy. Epilepsy is usually detected by EEG, and the analysis work in the previous research process was done manually, which has many disadvantages. Therefore, people began to seek to replace labor by automated detection. The Naive Bayesian algorithm is a very classic algorithm in the field of machine learning, which is based on Bayesian theorem and the independent assumption of feature conditions. Prediction of epilepsy using Naive Bayesian method is very simple. The model assumes that the attributes are independent of each other, but this assumption is often not true in practical applications. When the number of attributes is large...

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
IPC IPC(8): G06N20/00G06N7/00
CPCG06N20/00G06N7/01
Inventor 冯维胡创许丹曹荻秋吴端坡吕耿夏晓威
Owner HANGZHOU DIANZI UNIV
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More