"Can I filter a dataset by the values of an attribute?"

el_chiefel_chief MemberPosts:63Maven
edited May 2019 inHelp
Hola,

Say I have an exampleset like this:

[tt]
ID Name Job
1 Neil Researcher
2 Ralf BizDev
3 Ingo Grandmaster
4 Haddock Researcher
[/tt]

Can I filter the exampleset in Rapidminer for only Job=Researcher?

If so, how?

Thanks

Neil
Tagged:

Answers

  • IngoRMIngoRM Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, Community Manager, RMResearcher, Member, University ProfessorPosts:1,751RM Founder
    Hi Neil,

    yes, that's possible with the operator "Filter Examples". The parameter "condition class" has to be set to "attribute_value_filter". Then you can specify an expression like "Job = Researcher" for the parameter named "parameter string".

    Here is an example working on one of the sample data sets:






    <宏/ >


















    Hope that helps. Cheers,
    Ingo
  • el_chiefel_chief MemberPosts:63Maven
    Thanks Ingo.

    Some other things I found:

    * spaces are allowed in value
    * you can use the | operator for "or"
    * attribute and value are both case sensitive
Sign InorRegisterto comment.