Reputation: 3593
I have a dataset with:
cluster
with values:
cluster1
cluster2
cluster10
How do I remove instances where e.g. cluster=cluster5
? (using the GUI)
I was told to use the filter weka.filters.unsupervised.instance.RemoveWithValues
, but it seems to only be able to remove numerical values below a certain splitPoint. I could of course use the Edit window, but notice I have 400 instances!
Upvotes: 1
Views: 6499
Reputation: 2811
weka.filters.unsupervised.instance.RemoveWithValues will remove nominal values. Note the field "nominalIndices" in the image below. After selecting the index of the desired attribute, enter the index of the nominal value you would like to have removed.
Upvotes: 3