"Applying

cherokeecherokee Member Posts: 82 Maven
edited May 2019 in Help
Hi @ all!

I have some data with a lot of numerical values. I want to performe some kind of feature selection. Therefore I discretize (Discretize by Entropy)  the data and then I run some attribute selection operator (selfmade). This works out just fine. But for learning from my data I want to use the numerical values not the discretized ones.

So my operator provides an output port which deliveres the results of the feature selection as attribute weights (values only 1 and 0). The question is now how to apply those weights to my initial data? The simplest way (loading the original data, using Scale by Weight operator) doesn't work, as attributes which are not in the weight vector aren't touched. So the final example set contains all selected features and all features which were eliminated by the Entropy Discretizing operator (it automatically eliminates all attributes having only one discretized value -- which is highly appreciated).

Does anybody have an idea?

Best regards,
Michael
Tagged:

Answers

  • cherokeecherokee Member Posts: 82 Maven
    ::) Stupid me  ::)

    Just after I posted my message I found the solution.

    For all who have a similar problem, the solution is: Use Select by Weight operator. It has a parameter to deselect unweighted attributes.

    Best regards,
    Michael
Sign In or Register to comment.