florida international university cop 4770 introduction of weka

20
Florida International University COP 4770 Introduction of Weka Introduction of Weka

Upload: erick-eves

Post on 31-Mar-2015

217 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Florida International University COP 4770 Introduction of Weka

Introduction of Weka

Florida International UniversityCOP 4770

Introduction of Weka

Page 2: Florida International University COP 4770 Introduction of Weka

Introduction of Weka

OutlineIntroductionTake a tourInput & output format

Page 3: Florida International University COP 4770 Introduction of Weka

Introduction of Weka

What’s WekaWaikato Environment for Knowledge

Analysis (WEKA)Developed by the Department of Computer

Science, University of Waikato, New Zealand

Machine learning/data mining software written in Java (distributed under the GNU Public License)

Used for research, education, and applications

Page 5: Florida International University COP 4770 Introduction of Weka

Introduction of Weka

Installation WekaTo run:

weka-3-6-3.exe

Page 6: Florida International University COP 4770 Introduction of Weka

Introduction of Weka

Main Features Schemes for classification include:

decision trees, rule learners, naive Bayes, decision tables, locally weighted regression, SVMs, instance-based learners, logistic regression, voted perceptrons, multi-layer perceptron

Schemes for numeric prediction include: linear regression, model tree generators, locally weighted

regression, instance-based learners, decision tables, multi-layer perceptron

Meta-schemes include: Bagging, boosting, stacking, regression via classification,

classification via regression, cost sensitive classification Schemes for clustering:

EM and CobwebSchemes for feature selection:

Ranker….

Page 7: Florida International University COP 4770 Introduction of Weka

Introduction of Weka

Take a tourGetting startStart All Programs Weka 3.6.3 Weka

3.6

Click to Start a Tour!

Page 8: Florida International University COP 4770 Introduction of Weka

Introduction of Weka

Take a tour Weka Explorer Screenshot

FilterLoad

Feature Info

Label Info

Page 9: Florida International University COP 4770 Introduction of Weka

Introduction of Weka

Take a tourClick “Open file” ;Choose “Weka-3.6/data/*.arff”;Click “Open”.

Page 10: Florida International University COP 4770 Introduction of Weka

Introduction of Weka

Take a tour FilterFilters can be used to change data files;AttributeSelection lets you select a set of

attributes;

Other filtersDiscretize: Discretizes a range of numeric

attributes in the dataset into nominal attributes;NominalToBinary: Converts nominal attributes

into binary ones, replacing each attribute with k values with k-1 new binary attributes;

Page 11: Florida International University COP 4770 Introduction of Weka

Introduction of Weka

Take a tour2D Visualization

Visualize Attribute

s

Page 12: Florida International University COP 4770 Introduction of Weka

Introduction of Weka

Take a tour Classifier - 1

Page 13: Florida International University COP 4770 Introduction of Weka

Introduction of Weka

Take a tour Classifier - 2

Single Click!

Page 14: Florida International University COP 4770 Introduction of Weka

Introduction of Weka

Take a tour Classifier - 3

Page 15: Florida International University COP 4770 Introduction of Weka

Introduction of Weka

Input File: .arff Format Detail:

http://www.cs.waikato.ac.nz/~ml/weka/arff.html

Require declarations of @RELATION, @ATTRIBUTE and @DATA @RELATION declaration associates a name

with the dataset

@ATTRIBUTE declaration specifies the name and type of an attribute

@DATA declaration is a single line denoting the start of the data segment

Page 16: Florida International University COP 4770 Introduction of Weka

Introduction of Weka

Input File: .cvs Format

Page 17: Florida International University COP 4770 Introduction of Weka

Introduction of Weka

OutputText-based resultsRun Information;Summary of model;Statistics of training data;Predictions of test data;Type of sampling;Confusing Matrix;Detailed Accuracy by class;Entropy evaluation measures;…

Page 18: Florida International University COP 4770 Introduction of Weka

Introduction of Weka

OutputText-based results - exampleclassifyResultExample.txt

Page 19: Florida International University COP 4770 Introduction of Weka

Introduction of Weka

OutputGraphical-based results

Page 20: Florida International University COP 4770 Introduction of Weka

Introduction of Weka

Any questions??