Score Model
Scores predictions for a trained classification or regression model
Category: Machine Learning / Score
You can use Score Model to generate predictions using a trained classification or regression model. The predicted value can be in many different formats, depending on the model and your input data:
If you are using a classification model to create the scores, Score Model outputs a predicted value for the class, as well as the probability of the predicted value.
For regression models, Score Model generates just the predicted numeric value.
For image classification models, the score might be the class of object in the image, or a Boolean indicating whether a particular feature was found.
After you have generated a set of scores using Score Model, you can connect the scored dataset to Evaluate Model, to generate a set of metrics used for evaluating the model’s accuracy (performance).
You can also save the results to a dataset, or use the output as part of a predictive web service. For more information, see this tutorial on publishing a web service using Azure ML Studio.
Models Not Supported by Score Model
If you are using one of the following special types of model, you might need to use one of these custom scoring modules:
Score a clustering model – Assign to Clusters (deprecated)
Create recommendations or generate data for evaluating a recommender - Score Matchbox Recommender
For examples of how Score Model is used in an experimental workflow, see these examples in the Model Gallery:
If the data that you are scoring contains missing values, in many cases no score will be generated for the entire row.
The following machine learning models require that data have no missing values. When using the following machine learning models, review the data before passing it to Score Model, and use Clean Missing Data to amend the missing values in input columns.
Name | Type | Description |
|---|---|---|
Trained model | Trained predictive model | |
Dataset | Input test dataset |
Name | Type | Description |
|---|---|---|
Scored dataset | Dataset with obtained scores |
Exception | Description |
|---|---|
Exception occurs if argument is not a number. | |
Exception occurs if argument is Infinity. | |
Exception occurs if one or more of inputs are null or empty. | |
Exception occurs if the learner that is passed to the module is an invalid type. |