Difference between revisions of "Weka"

From BarikWiki
Jump to: navigation, search
(Created page with "== Introduction == * You can integrate R with Weks using RWeka.")
 
(Introduction)
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Introduction ==
 
== Introduction ==
  
* You can integrate R with Weks using RWeka.
+
* [http://www.cs.waikato.ac.nz/ml/weka/book.html Data Mining: Practical Machine Learning Tools and Techniques, Third Edition]. If you install Weka, you can find many of the sample files within <code>C:\Program Files (x86)\Weka-3-6\data</code>.
 +
* You can integrate R with Weka using [http://cran.r-project.org/web/packages/RWeka/index.html RWeka].
 +
* Support vectors machines (SVM) are available with <code>libsvm</code>.
 +
* [http://www.csie.ntu.edu.tw/~cjlin/libsvm/ LIBSVM] A Library for Support Vector Machines. Scroll down to the section labeled [http://www.csie.ntu.edu.tw/~cjlin/libsvm/#download Download LIBSVM], and grab either the <code>zip</code> or the <code>tar</code> package, including all of the source code. You'll likely just want <code>libsvm.jar</code> from the <code>java</code> directory.
 +
* [http://weka.wikispaces.com/How+do+I+use+libsvm+in+WEKA%3F How do I use libsvm in WEKA?]
 +
 
 +
== Sample ARFF ==
 +
 
 +
<pre>
 +
@relation weather
 +
 
 +
@attribute outlook {sunny, overcast, rainy}
 +
@attribute temperature real
 +
@attribute humidity real
 +
@attribute windy {TRUE, FALSE}
 +
@attribute play {yes, no}
 +
 
 +
@data
 +
sunny,85,85,FALSE,no
 +
sunny,80,90,TRUE,no
 +
overcast,83,86,FALSE,yes
 +
rainy,70,96,FALSE,yes
 +
rainy,68,80,FALSE,yes
 +
rainy,65,70,TRUE,no
 +
overcast,64,65,TRUE,yes
 +
sunny,72,95,FALSE,no
 +
sunny,69,70,FALSE,yes
 +
rainy,75,80,FALSE,yes
 +
sunny,75,70,TRUE,yes
 +
overcast,72,90,TRUE,yes
 +
overcast,81,75,FALSE,yes
 +
rainy,71,91,TRUE,no
 +
</pre>

Latest revision as of 19:29, 24 November 2012

Introduction

Sample ARFF

@relation weather

@attribute outlook {sunny, overcast, rainy}
@attribute temperature real
@attribute humidity real
@attribute windy {TRUE, FALSE}
@attribute play {yes, no}

@data
sunny,85,85,FALSE,no
sunny,80,90,TRUE,no
overcast,83,86,FALSE,yes
rainy,70,96,FALSE,yes
rainy,68,80,FALSE,yes
rainy,65,70,TRUE,no
overcast,64,65,TRUE,yes
sunny,72,95,FALSE,no
sunny,69,70,FALSE,yes
rainy,75,80,FALSE,yes
sunny,75,70,TRUE,yes
overcast,72,90,TRUE,yes
overcast,81,75,FALSE,yes
rainy,71,91,TRUE,no