Effective hybrid feature selection method based on chi-square detection algorithm and improved fruit fly optimization algorithm
A fruit fly optimization algorithm and chi-square detection technology, applied in the field of bioinformatics, can solve problems such as the inability to select the optimal feature subset classification accuracy, and achieve the effects of increasing diversity, simplifying quantity, and enhancing search capabilities
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0062] The effective hybrid feature selection method (CS-IFOA method for short) based on chi-square detection algorithm and improved fruit fly optimization algorithm proposed by the present invention, such as figure 1 shown, including the following steps:
[0063] S101. Randomly initialize M individuals in the population by adopting a feature sorting strategy based on the chi-square detection algorithm, where M represents the total number of fruit fly individuals in the population;
[0064] S102. Calculate the fitness value of each individual in the population by using the set fitness function, and use the solution represented by the individual with the largest fitness value in the population as the global optimal solution;
[0065] S103. Use the improved fruit fly optimization algorithm to update the individuals in the population, and update the fitness value of each individual in the population, and update the global optimal solution in the population;
[0066] S104. Taking...
Embodiment 2
[0069] On the basis of the above-mentioned embodiment 1, the effective mixed feature selection method based on the chi-square detection algorithm and the improved fruit fly optimization algorithm provided by the embodiment of the present invention includes the following steps:
[0070] S201. Randomly initialize M individuals in the population by adopting a characteristic sorting strategy based on the chi-square detection algorithm;
[0071] Specifically, this step includes the following sub-steps:
[0072] S2011. Calculate the chi-square value of each attribute in the data set according to the chi-square detection algorithm;
[0073] Specifically, calculate the chi-square value of each attribute according to formula (1):
[0074]
[0075] Among them, A i is the observation frequency of level i, E i is the expected frequency of level i, r is the total frequency, p i is the expected frequency of level i. E. i =r×p i , k is the number of cells. x 2 The value indicates...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


