Weka - Attribute Selector Classifier

In weka, they have three technique to perform selected attribute which are :
  • native approach, using the attribute selection classes directly
  • using a meta-classifier
  • the filter approach
For this time, I will be using meta-classifier. Basically meta-classifier will use Attribute Selector Classifier, after it reduce the attribute, then the attribute reduced will be use in other method.

For example :-

You have a data set, the column in data set are :
  • name
  • age
  • smoking
  • heart rate
  • no. tel

After using Attribute Selector Classifier to the data, it will reduce the attribute to :
  • age
  • smoking
  • heart rate
So this attribute will be use in other method such as Multilayer Perceptron, Naive Bayes or any method. That's it.

Practical Session :

Open your weka, and load any data. Or you can try download data from here.

After that go to classify tab.


Then click button Choose -> meta -> AttributeSelectedClassifier


You can change the method, for example I choose Linear Regression.


Just click OK, then choose any Test Options, I choose Percentage split, by 70% for training set, 30% for testing.


Thank you.

Source : https://weka.wikispaces.com/Performing+attribute+selection

Share this

Related Posts

:)
:(
hihi
:-)
:D
=D
:-d
;(
;-(
@-)
:P
:o
:>)
(o)
:p
:-?
(p)
:-s
(m)
8-)
:-t
:-b
b-(
:-#
=p~
$-)
(y)
(f)
x-)
(k)
(h)
cheer