No attributes to filter on (Filter Examples)

lediankollediankol MemberPosts:3Contributor I
edited December 2018 inHelp

Hello guys!

I have a problem with using Filter Examples. I am using a data that is already in rapidminer ("Repository/Samples/data/Iris"). After putting data in the process I put the Filter Examples and connect them. Then in the parameters I press "Add Filters" but in the left box there are no attributes shown.

Here is my XML
















Can somebody help with this issue?

Thank you in advance for your time.

Best regards,

Ledian

Tagged:

Best Answer

  • Telcontar120Telcontar120 主持人,RapidMiner注册分析师RapidMiner Certified Expert, MemberPosts:1,635Unicorn
    Solution Accepted

    Usually this is simply a problem of metadata not propagating so RapidMiner can't pre-fill the attribute names. You can always type the name of the attribute directly and it will work. Or you can check the option to "synchronize meta data with real data" which is under the "Process" heading in the top menu bar.

    Brian T.
    Lindon Ventures
    Data Science Consulting from Certified RapidMiner Experts
    艾丁_Klapic lediankol

Answers

  • lionelderkrikorlionelderkrikor Moderator, RapidMiner Certified Analyst, MemberPosts:1,195Unicorn

    Hi@lediankol

    A priori there is a problem with your XML process : it can not be loaded.

    Can you verify it ?

    Regards,

    Lionel

  • 艾丁_Klapic艾丁_Klapic Moderator, Employee, RMResearcher, MemberPosts:299RM Data Scientist

    Hi@lediankol,

    As@lionelderkrikorsaid your XML is broken. I attached my version of the process you described and I can select the Attributes to filter by.

    Inspecting your XML I could not see the line

    这将表明,Retrieve Operator and the Filter Examples Operator are *not* connected which would explain why Filter Examples does not know about the Attributes.

    Best,

    艾丁





















    sgenzer
  • lediankollediankol MemberPosts:3Contributor I

    Hi to all and thank you for your replies!

    Typing the name of the attribute directly does work but I was thinking maybe I could fix this issue. I checked the option to "synchronize meta data with real data" which is under the "Process" but still the same thing. So hopefully this time you have the correct XML.

















    Thank you again for your time.

    sgenzer
  • Thomas_OttThomas_Ott RapidMiner Certified Analyst, RapidMiner Certified Expert, MemberPosts:1,761Unicorn

    @lediankolNo, this XML is still bad. You have to open the XML panel and copy and paste it from there.

    Your XML will get corrupted if you just select the operators with a crossing window and copy and paste.

  • lediankollediankol MemberPosts:3Contributor I

    @Thomas_OttThank you for your comment.

    This my first time posting a question here and I did exactly what the video tutorial suggested for posting for the first time...

    So now I dropped Iris data in the process and then conected Filter Examples. Then I pressed in the search option (on the right corner) XML: Display Panel XML. Maybe you mean this XML if I understand correctly.























    Kind Regards,

    Ledian

  • Thomas_OttThomas_Ott RapidMiner Certified Analyst, RapidMiner Certified Expert, MemberPosts:1,761Unicorn

    @lediankolYes, that's what I mean. The XML is now correct and I managed to load it into my Studio. That said, I'm getting all the metadata from the Iris data set, I can see all the attributes in the Filter Example.

    Filter Example.png

    sgenzer
  • MoslemMoslem MemberPosts:3Newbie
    edited April 2020
    Hi,
    I have the same problem and I don't know, how to getting metadata from different data set. sometimes, I select Iris data set and select "synchronize metadata with real data" the problem was solved. but, when I changed the dataset from Iris to Titanic There was the same problem.

     
       
       
       
     
     
       
       
       
       
       
       
       
         
           
         
         
           
           
           
           
             
           
           
           
         
         
         
         
       
     



Sign InorRegisterto comment.