[prev in list] [next in list] [prev in thread] [next in thread]
List: wekalist
Subject: [Wekalist] How to disable the filter from the labeled data ?
From: Patrick Diviacco <patrick.diviacco () gmail ! com>
Date: 2011-03-30 11:47:10
Message-ID: AANLkTikdHtP8zRVQCt4=14FK2p3GU6tmt_HXV0aGnSCy () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
I'm applying the following filter to my data. However I don't have
String[] options = new String[2];
options[0] = "-R";
options[1] = "1-2";
Remove remove = new Remove(); // new instance of
filter
remove.setOptions(options);
remove.setInputFormat(train);
train = Filter.useFilter(train, remove);
unlabeled = Filter.useFilter(unlabeled, remove);
However I would like to add the removed fields when I print the labeled data
in the end.
How can I re-add the columns ?
thanks
[Attachment #5 (text/html)]
I'm applying the following filter to my data. However I don't \
have<div><div><br></div><div><div>String[] options = new String[2];</div><div><span \
class="Apple-tab-span" style="white-space:pre"> </span>options[0] = "-R"; \
</div> <div><span class="Apple-tab-span" style="white-space:pre"> </span>options[1] \
= "1-2"; </div><div><span class="Apple-tab-span" \
style="white-space:pre"> </span> </div><div> \
</div><div> <span class="Apple-tab-span" style="white-space:pre"> </span>Remove \
remove = new Remove(); // new instance of \
filter</div><div><span class="Apple-tab-span" \
style="white-space:pre"> </span>remove.setOptions(options); <span \
class="Apple-tab-span" style="white-space:pre"> </span></div> \
<div><br></div><div><span class="Apple-tab-span" \
style="white-space:pre"></span>remove.setInputFormat(train); \
</div><div>train = Filter.useFilter(train, remove); </div></div></div><div>unlabeled \
= Filter.useFilter(unlabeled, remove); </div> \
<div><br></div><div><br></div><div>However I would like to add the removed fields \
when I print the labeled data in the end. </div><div><br></div><div>How can I re-add \
the columns ?</div><div><br></div><div>thanks</div><meta charset="utf-8">
_______________________________________________
Wekalist mailing list
Send posts to: Wekalist@list.scms.waikato.ac.nz
List info and subscription status: https://list.scms.waikato.ac.nz/mailman/=
listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.=
html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic