[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wekalist
Subject:    [Wekalist] Re: How to disable the filter from the labeled data ?
From:       Patrick Diviacco <patrick.diviacco () gmail ! com>
Date:       2011-03-30 11:56:19
Message-ID: AANLkTimu71jafo-PVU=UTiV_GyDv_icz47c5mJeSXMxe () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


One more question, can I just ignore fields instead of removing them ?

thanks

On 30 March 2011 13:47, Patrick Diviacco <patrick.diviacco@gmail.com> wrote:

> 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)]

One more question, can I just ignore fields instead of removing them \
?<div><br></div><div>thanks<br><br><div class="gmail_quote">On 30 March 2011 13:47, \
Patrick Diviacco <span dir="ltr">&lt;<a \
href="mailto:patrick.diviacco@gmail.com">patrick.diviacco@gmail.com</a>&gt;</span> \
wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex;">I&#39;m applying the following filter to my data. \
However I don&#39;t have<div><div><br></div><div><div>String[] options = new \
String[2];</div> <div><span style="white-space:pre-wrap">			</span>options[0] = \
&quot;-R&quot;;                                  </div> <div><span \
style="white-space:pre-wrap">			</span>options[1] = &quot;1-2&quot;; </div><div><span \
style="white-space:pre-wrap">			</span>                             </div><div> \
</div><div> <span style="white-space:pre-wrap">			</span>Remove remove = new \
Remove();                         // new instance of filter</div><div><span \
style="white-space:pre-wrap">			</span>remove.setOptions(options);     <span \
style="white-space:pre-wrap">	</span></div>

<div><br></div><div><span \
style="white-space:pre-wrap"></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> </blockquote></div><br></div>



_______________________________________________
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