an introduction to weka - university of...

25
AN INTRODUCTION TO WEKA JOHN KUNDERT-GIBBS

Upload: others

Post on 25-May-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: AN INTRODUCTION TO WEKA - University of Georgiacobweb.cs.uga.edu/~khaled/MLcourse/WekaIntroduction_JLKG.pdf · 2017-02-02 · • weka’s native data representation/file format

AN INTRODUCTION TO WEKAJOHN KUNDERT-GIBBS

Page 2: AN INTRODUCTION TO WEKA - University of Georgiacobweb.cs.uga.edu/~khaled/MLcourse/WekaIntroduction_JLKG.pdf · 2017-02-02 · • weka’s native data representation/file format

WHAT IS WEKA?(HINT: NOT A BIRD!)

Page 3: AN INTRODUCTION TO WEKA - University of Georgiacobweb.cs.uga.edu/~khaled/MLcourse/WekaIntroduction_JLKG.pdf · 2017-02-02 · • weka’s native data representation/file format

WHAT IS WEKA?

• A data mining suite with a sizable collection of supervised and unsupervised algorithms

• Freeware!

• Methods to statistically compare the success of different algorithms

• An easy GUI mode

• Java-Based

• Command-line access as well

• http://www.cs.waikato.ac.nz/ml/weka/

Page 4: AN INTRODUCTION TO WEKA - University of Georgiacobweb.cs.uga.edu/~khaled/MLcourse/WekaIntroduction_JLKG.pdf · 2017-02-02 · • weka’s native data representation/file format

MAJOR INTERFACE ELEMENTS

• Explorer

• Experimenter

• KnowledgeFlow

• Simple CLI

Page 5: AN INTRODUCTION TO WEKA - University of Georgiacobweb.cs.uga.edu/~khaled/MLcourse/WekaIntroduction_JLKG.pdf · 2017-02-02 · • weka’s native data representation/file format

ARFF (ATTRIBUTE-RELATION FILE FORMAT)

• Weka’s native data representation/file format

• Three elements

• @relation

• @attribute

• @data

Page 6: AN INTRODUCTION TO WEKA - University of Georgiacobweb.cs.uga.edu/~khaled/MLcourse/WekaIntroduction_JLKG.pdf · 2017-02-02 · • weka’s native data representation/file format

ARFF EXAMPLE@Relation iris

@Attribute sepallength Real @Attribute sepalwidth Real @Attribute petallength short, medium, long @Attribute petalwidth Real @Attribute class {Iris-setosa,Iris-versicolor,Iris-virginica}

@Data 5.1,3.5,medium,0.2,Iris-setosa 4.9,3.0,medium,0.2,Iris-setosa 4.7,3.2,medium,0.2,Iris-setosa 4.6,3.1,long,0.2,Iris-setosa

Page 7: AN INTRODUCTION TO WEKA - University of Georgiacobweb.cs.uga.edu/~khaled/MLcourse/WekaIntroduction_JLKG.pdf · 2017-02-02 · • weka’s native data representation/file format

OTHER FILE FORMATSE.G., .CSV

Page 8: AN INTRODUCTION TO WEKA - University of Georgiacobweb.cs.uga.edu/~khaled/MLcourse/WekaIntroduction_JLKG.pdf · 2017-02-02 · • weka’s native data representation/file format

KNOWLEDGEFLOWQUICK OVERVIEW

Page 9: AN INTRODUCTION TO WEKA - University of Georgiacobweb.cs.uga.edu/~khaled/MLcourse/WekaIntroduction_JLKG.pdf · 2017-02-02 · • weka’s native data representation/file format

SIMPLE CLISIMPLE COMMAND LINE INTERFACE QUICK OVERVIEW

Page 10: AN INTRODUCTION TO WEKA - University of Georgiacobweb.cs.uga.edu/~khaled/MLcourse/WekaIntroduction_JLKG.pdf · 2017-02-02 · • weka’s native data representation/file format

EXPLORERTHE MAIN WEKA INTERFACE

Page 11: AN INTRODUCTION TO WEKA - University of Georgiacobweb.cs.uga.edu/~khaled/MLcourse/WekaIntroduction_JLKG.pdf · 2017-02-02 · • weka’s native data representation/file format

EXPERIMENTERRUN TESTS BETWEEN ML ALGORITHMS

Page 12: AN INTRODUCTION TO WEKA - University of Georgiacobweb.cs.uga.edu/~khaled/MLcourse/WekaIntroduction_JLKG.pdf · 2017-02-02 · • weka’s native data representation/file format

EXPLORERDATA FILE

Page 13: AN INTRODUCTION TO WEKA - University of Georgiacobweb.cs.uga.edu/~khaled/MLcourse/WekaIntroduction_JLKG.pdf · 2017-02-02 · • weka’s native data representation/file format

EXPLORERCLASSIFY

Page 14: AN INTRODUCTION TO WEKA - University of Georgiacobweb.cs.uga.edu/~khaled/MLcourse/WekaIntroduction_JLKG.pdf · 2017-02-02 · • weka’s native data representation/file format

EXPLORERRESULTS

Page 15: AN INTRODUCTION TO WEKA - University of Georgiacobweb.cs.uga.edu/~khaled/MLcourse/WekaIntroduction_JLKG.pdf · 2017-02-02 · • weka’s native data representation/file format

EXPLORERVISUALIZE

Page 16: AN INTRODUCTION TO WEKA - University of Georgiacobweb.cs.uga.edu/~khaled/MLcourse/WekaIntroduction_JLKG.pdf · 2017-02-02 · • weka’s native data representation/file format

EXPLORERATTRIBUTE SELECTION

Page 17: AN INTRODUCTION TO WEKA - University of Georgiacobweb.cs.uga.edu/~khaled/MLcourse/WekaIntroduction_JLKG.pdf · 2017-02-02 · • weka’s native data representation/file format

EXPLORERVISUALIZE ATTRIBUTES

Page 18: AN INTRODUCTION TO WEKA - University of Georgiacobweb.cs.uga.edu/~khaled/MLcourse/WekaIntroduction_JLKG.pdf · 2017-02-02 · • weka’s native data representation/file format

EXPLORERFORECASTING

Page 19: AN INTRODUCTION TO WEKA - University of Georgiacobweb.cs.uga.edu/~khaled/MLcourse/WekaIntroduction_JLKG.pdf · 2017-02-02 · • weka’s native data representation/file format

EXPERIMENTERSETUP

Page 20: AN INTRODUCTION TO WEKA - University of Georgiacobweb.cs.uga.edu/~khaled/MLcourse/WekaIntroduction_JLKG.pdf · 2017-02-02 · • weka’s native data representation/file format

EXPERIMENTERRUN

Page 21: AN INTRODUCTION TO WEKA - University of Georgiacobweb.cs.uga.edu/~khaled/MLcourse/WekaIntroduction_JLKG.pdf · 2017-02-02 · • weka’s native data representation/file format

EXPERIMENTERANALYZE

Page 22: AN INTRODUCTION TO WEKA - University of Georgiacobweb.cs.uga.edu/~khaled/MLcourse/WekaIntroduction_JLKG.pdf · 2017-02-02 · • weka’s native data representation/file format

SUPERVISED LEARNING METHODS

• Decision Trees

• Bayes (Naive and Nets)

• Logistic

• Regression

• Support Vector Machine

• Multilayer Perceptron

• K Nearest Neighbors

• Boosting

• Bagging

• etc!

Page 23: AN INTRODUCTION TO WEKA - University of Georgiacobweb.cs.uga.edu/~khaled/MLcourse/WekaIntroduction_JLKG.pdf · 2017-02-02 · • weka’s native data representation/file format

TEXTSTRINGTOWORDVECTOR

Page 24: AN INTRODUCTION TO WEKA - University of Georgiacobweb.cs.uga.edu/~khaled/MLcourse/WekaIntroduction_JLKG.pdf · 2017-02-02 · • weka’s native data representation/file format

DEMO: J48 AND MULTILAYER PERCEPTRON

Page 25: AN INTRODUCTION TO WEKA - University of Georgiacobweb.cs.uga.edu/~khaled/MLcourse/WekaIntroduction_JLKG.pdf · 2017-02-02 · • weka’s native data representation/file format

QUESTIONS?THANK YOU!