Home
Discussions
Community Q&A
"Read sparse data problem, Is it a bug?"
siamak_want
Hi,
I use RM 5.2;
I have a sparse dataset in RM Sparse Format. I used the "Read Sparse Operator" for reading my dataset. Because my label is the last token of the dataset, I set the format to "xy". So I have not any ".aml" file and nor label files. I ran the "Read Sparse Operator" and it worked fine and recognizes the "label attribute" very well.
Then I connected a KNN classifier to the "Read Sparse Operator" and I got the error: "Input example set must have special attribute 'label'."!!!
If RM has identified the label, so why it produces such an error when it is being connected to a classifier? now a more surprising fact: The process run with no problem, despite the generated error!!!
Is it a bug in RM or have I done something wrong?
Any help would be appreciated.
Find more posts tagged with
AI Studio
Bug Report
Accepted answers
All comments
Marco_Boeck
Hi,
the metadata view is not always accurate - one just cannot predict what will happen sometimes before actually doing it - like loading data from a file. In your case you can either chose to ignore the error because as you found out it's not a real problem, or you can store the data in the repository before proceeding with your k-NN operator, so RM knows your exampleset has a label.
Regards,
Marco
siamak_want
Hi, Marco,
Now I got it, thanks to your nice guide. In fact, before reading the file RM must not be able to find label. I mean RM recognizes thelabel in runtime.
Thanks Marco.
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)