柏/SoftwareRef

Weka†

データセット†

@relation [文字列]  //データセットの名前
@attribute [属性名] [属性のタイプ]  //属性タイプ(数値:real,名義:{,}で囲む
@data [@attribute一行目], [@attribute二行目], ……, [@attribute n行目] //以降はCSV方式

ex.†

@relation SelectOS
@attribute sex {man, women}
@attribute age real
@attribute income {poverty, middle, rich}
@attribute year real
@attribute class {windows, mac, linux}
@data
man, 24, poverty, 5, windows
man, 31, middle, 10, linux
women, 27, middle, 3, mac
man, 53, rich, 20, linux
women, 22, middle, 1, mac
man, 29, middle, 7, windows
man, 23, poverty, 3, windows
man, 53, rich, 20, linux
man, 31, poverty, 6, linux
women, 25, rich, 3, windows

ref†

NaiveBayes†

Reference†


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS