Filter Examples With Multiple Valued Attriburtes ex: Cluster_1 and Cluster_2

dragoljubdragoljub MemberPosts:241Maven
edited October 2019 inHelp
Hi Guys,

Often after cluster analysis I have multiple clusters of interest. What is the easiest way to select all examples from cluster_1 and cluster_2. Ideally I would use filter examples for 'cluster=1 or cluster=2' but that does not work for me.

-Gagi

Answers

  • haddockhaddock MemberPosts:849Maven
    Please note your can define a logical OR of several conditions with ||
    so







    <运营商激活= " true " class = "过程”兼容ibility="5.0.0" expanded="true" name="Root">



























  • dragoljubdragoljub MemberPosts:241Maven
    WOW that was super easy! Thanks Haddock! ;D

    For everyone else who did not realize logical expressions are allowed in the filter examples operator:

    Filter Examples-> Attribute_value_filter-> parameter string = cluster_0||cluster=cluster_1

    -Gagi
  • landland RapidMiner Certified Analyst, RapidMiner Certified Expert, MemberPosts:2,531Unicorn
    Hi,
    yes, sometimes everything becomes surprisingly easy if you read the documentation...

    Greetings,
    Sebastian
  • dragoljubdragoljub MemberPosts:241Maven
    The help section for 'filter examples' mentions that you can use logical 'or', 'and' operators but in the example section of the attribute value filter it just has:

    "Parameter string for the condition, e.g. 'attribute=value' for the AttributeValueFilter."

    For someone who looks at a lot of documentation it seems this would be a perfect place to add another example'attribute=value1||attribute=value2'. Or by the example mention that other operators such as && || can be used. A clear discussion of white space is also missing and often times I find that white space matters. When exploring different logical operators you never really know if you are entering wrong code or if white space is messing up your process.

    I know these are small picky details but for this package to gain even more success these are the growing pains that documentation (and users) must go through. ;D

    -Gagi
  • landland RapidMiner Certified Analyst, RapidMiner Certified Expert, MemberPosts:2,531Unicorn
    Hi Gagi,
    如果你看到它,你会非常高兴的to hear, that the RapidMiner Operator's documentation will be copied to our wiki soon. (In fact it's already there, but missing line breaks make it a pain to edit...). Then you will be able to add description as you want and contribute to other users and yourself. We will retrieve the documentation from the wiki and bundle it again with RapidMiner for each update.
    We hope to make it easy enough, so that the operator documentation is finally updated.

    Greetings,
    Sebastian
  • dragoljubdragoljub MemberPosts:241Maven
    That's great news Sebastian! If its easy to contribute I'm sure people will add/edit the documentation to help everyone! ;D

    -Gagi
  • landland RapidMiner Certified Analyst, RapidMiner Certified Expert, MemberPosts:2,531Unicorn
    Hi,
    well, I don't actually bet on this, but let's hope the best...

    Greetings,
    Sebastian
Sign InorRegisterto comment.