从UCI机器学习库中对葡萄酒质量数据集进行特征选择2018年6月18日来自KDnuggets的Matthe
import pandas pd # to use it's read_csv funtion to read the data set import os # to use it's chdir function set working direction df=pd.read_csv('winequality-white.csv', sep=";") # reading and storing the winequality-white data as df #summary statistics of the data set d=df.describe() # using the describe function to find summary statistics d dpath=os.path.abspath(os.pardir)+"\\Results\Description.csv" #setting a path to save ouput as Description d.to_csv(dpath) # saving output as csv
文件列表
Feature-Selection-main.zip
(预估有个5文件)
Feature-Selection-main
Wine_study
Results
Description.csv
1KB
CODE
GP_Selection_02_20_2023.ipynb
19KB
GP_Description_02_20_2023.ipynb
2KB
Data
winequality-white.csv
258KB
README.md
113B
暂无评论