weka数据集举例之天气数据集weather.nominal.arff

例子weather.nominal.arff

@relation weather.symbolic

@attribute outlook {sunny, overcast, rainy}
@attribute temperature {hot, mild, cool}
@attribute humidity {high, normal}
@attribute windy {TRUE, FALSE}
@attribute play {yes, no}

@data
sunny,hot,high,FALSE,no
sunny,hot,high,TRUE,no
overcast,hot,high,FALSE,yes
rainy,mild,high,FALSE,yes
rainy,cool,normal,FALSE,yes
rainy,cool,normal,TRUE,no
overcast,cool,normal,TRUE,yes
sunny,mild,high,FALSE,no
sunny,cool,normal,FALSE,yes
rainy,mild,normal,FALSE,yes
sunny,mild,normal,TRUE,yes
overcast,mild,high,TRUE,yes
overcast,hot,normal,FALSE,yes
rainy,mild,high,TRUE,no

weka数据集举例之天气数据集weather.nominal.arff_第1张图片

对应表格

weka数据集举例之天气数据集weather.nominal.arff_第2张图片

打开的天气数据集

weka数据集举例之天气数据集weather.nominal.arff_第3张图片

简介:14个样本,5个属性:阴晴属性,温度属性、湿度属性、刮风属性、是否能玩游戏

选定属性就可以看到此属性的值:比如阴晴属性有晴朗、多云和有雨

weka数据集举例之天气数据集weather.nominal.arff_第4张图片

play属性

weka数据集举例之天气数据集weather.nominal.arff_第5张图片

weka数据集举例之天气数据集weather.nominal.arff_第6张图片

 

你可能感兴趣的:(#,机器学习)