Skip to content

Use Genetic Algorithm and Simulate Anneal for feature selection. 用遗传算法/模拟退火算法进行特征选择.

Notifications You must be signed in to change notification settings

OlaWod/feature-selection_GA-SA

Repository files navigation

feature-selection_GA-SA

Use Genetic Algorithm and Simulate Anneal for feature selection. 用遗传算法/模拟退火算法进行特征选择.

Description

GA_feature_selection.py:遗传算法进行特征选择
SA_feature_selection.py:模拟退火算法进行特征选择
without_selection.py:未进行特征选择,用原始数据进行分类

Output

1.without_selection.py

score = 0.6257839721254356

2.GA_feature_selection.py

3.SA_feature_selection.py


The dataset comes from here:https://github.com/Fangzhenxuan/AI_Projects/tree/master/Pattern%20Recognition/GA GA_feature_selection was written with a lot of reference from here:https://github.com/cainsmile/GA_for_Feature_Selection

About

Use Genetic Algorithm and Simulate Anneal for feature selection. 用遗传算法/模拟退火算法进行特征选择.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages