-
Notifications
You must be signed in to change notification settings - Fork 6k
Default column names #5640
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
@aditidugar can you take a look at this question? It's about the Iris tutorial. |
@codemzs will be able to help you here! |
@korzh PredictedLabel is the default name of the column that Scorer produces after a predictor has been trained. This name can be suffixed with a string by setting the properties of the scorer. Unfortunately at the moment we are not exposing the scorer to be configured. You might wonder what is a scorer? It is the component that produces Score, Probability and PredictedLabel columns from a predictor and we automatically attach a scorer in front of a predictor by default because without the scorer the predictor is of little use. I will open an issue for the scorer to be configured and make sure this is addressed in the next one month, hopefully until then you are able to work with the default names? |
@codemzs Thank you for so detailed explanation. Of course, I can totally work with the default names. |
Thanks, @aditidugar, and @codemzs for the answers. I think we can close this. |
From your IRIS classifier example, I guessed that the default column name for features is "Features" and for the label is "Label" and they can be changed using "LabelColumn" and "FeatureColumn" properties of the classifier class. Is it correct?
(it would be better to call the second one "FeaturesColumn" by the way)
Then I tried to change the column name for the output data structure. I used
and then
but it throws an exception saying "Column not found: PredictedIris"
What am I doing wrong?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: