No attributes to filter on (Filter Examples)
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
Best Answer
-
Telcontar120 主持人,RapidMiner注册分析师RapidMiner Certified Expert, MemberPosts:1,635Unicorn
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.
2
Answers
Hi@lediankol
A priori there is a problem with your XML process : it can not be loaded.
Can you verify it ?
Regards,
Lionel
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,
艾丁
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.
@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.
@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
@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.
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.