Ml weka4. What is WEKA
• Ease of Use GUI
• Command Line Tools
• Integrated with STDIO
• Pure Java implementation
• Integrated with Jython, Groovy
13年9月24日星期二
7. 別人怎麼看資料?
• IRIS Dataset
• Class, setosa, versicolor, virginica
• Attributes
• sepal_length
• sepal_width
• petal_length
• petal_width
13年9月24日星期二
13. Open File
• CSV, JSON,ARFF....
• WEKA handles ARFF only in the past
• There is a lot of utility convert file to ARFF
•
13年9月24日星期二
14. Demo
• Open File
• Observe Data
• Apply Filter
• supervised filter
• instance filter
13年9月24日星期二
19. Demo for cli
• Click Right Key, Copy Run Infomation
• training
• java weka.classifiers.trees.J48 -O -C 0.08 -
M 1 -t ../data/iris.arff -d model_from_cmd
• testing
• java weka.classifiers.trees.J48 -T ../data/
iris.arff -l model_from_cmd
13年9月24日星期二
20. Integration with Python
• Jython
• Runs on top of java
• jnius
• Use Java with JNI
• weka # python package
• Interface with Subprocess
13年9月24日星期二
22. Conclusion
• You can lean without any coding
• Good GUI tool
• Clear Workflow
• writing java is no quick
• Utilize CLI, python weka to write faster
13年9月24日星期二