Weka Tutorial
Weka Tutorial
What is weka?
weka Homepage
http://www.cs.waikato.ac.nz/ml/weka/
To run:
http://www.cs.waikato.ac.nz/~ml/weka/arff.html
% 1. Title: Iris Plants Database % @RELATION iris @ATTRIBUTE @ATTRIBUTE @ATTRIBUTE @ATTRIBUTE @ATTRIBUTE sepallength NUMERIC sepalwidth NUMERIC petallength NUMERIC petalwidth NUMERIC class {Iris-setosa,Iris-versicolor, Iris-virginica}
~cs4705/bin/weka-3-4-11/data/
7.Click 'Start'
8.Wait... 9.Right-click on Result list entry
a.'Save result buffer'
2.Click 'Explorer'
3.'Open file...'
4.Select 'Classify' tab
5.'Choose' a classifier
6.Confirm options
b.'Save model'
Classify
Analyzing Results
Accuracy
Save model
Visualization
http://weka.wikispaces.com/Primer
Running an N-fold cross validation experiment
Getting help
TN
S1 S2 SN
results
Your Feature Extractor
.arff
Weka
best model
Test .arff
Weka
results
Preprocessing (you)
Experimentation (you)
Grading (us)
Start early Read instructions carefully Start simply Your system should always work
80/20 Rule