-
Notifications
You must be signed in to change notification settings - Fork 1.9k
IRISClassification sample -MultiLabel calssification : Getting exception while referring slotnames #2810
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thank you for reporting this. |
To unblock your self you can change definition of slotNames from |
@Ivanidzo4ka after using |
Oh, right, this is one of our assumptions what slotnames should be strings. |
@Ivanidzo4ka it showing AnnotationUtils in accessible due to its protection level |
We did a good job on hiding our internals.
this one? |
|
@Ivanidzo4ka This code is working fine. But how do we map each score to label? For example GitHub labeler sample has 'area' as label. so we get scoreValues array more than 3. How do we map all of them? Do we need to write program manually like I have written in GITHUBLabeler sample here or do we have any predefined code written in ML.Net. Because obviously the purpose of this classification is to find the scores and map them to labels accordingly. |
|
Yes, if you can access slotnames. They broken right now if you have non string label. |
@Ivanidzo4ka I got your point that once we get scores and labels we need to Zip them to map each label to score. But From machine learning beginner/user perspective, its difficult to understand terms like slotnames, keys and zip them label and score manually. Its confusing for learners/users. The better way is get a dictionary of label and scores and user sorts them if needed. |
Uh oh!
There was an error while loading. Please reload this page.
@Ivanidzo4ka
I am trying to do multilabel classification on IRISClassification. I am referring to this link https://github.com/dotnet/machinelearning/blob/master/test/Microsoft.ML.Tests/Scenarios/Api/Estimators/PredictAndMetadata.cs#L41
While I am running the code I am getting below exception 'Invalid call to 'GetGetter'' while accessing slotnames.
The text was updated successfully, but these errors were encountered: