Error 0024

 

Updated: June 14, 2017

Error 0024

Exception occurs if dataset does not contain a label column.

This error in Azure Machine Learning occurs when the module requires a label column and the dataset does not have a label column. For example, evaluation of a scored dataset usually requires that a label column be present to compute accuracy metrics.

It can also happen that a label column is present in the dataset, but not detected correctly by Azure Machine Learning.

  • Open the module that generated the error, and determine if a label column is present. The name or data type of the column doesn't matter, as long as the column contains a single outcome (or dependent variable) that you are trying to predict. If you are not sure which column has the label, look for a generic name such as Class or Target.
  • If the dataset does not include a label column, it is possible that the label column was explicitly or accidentally removed upstream. It could also be that the dataset is not the output of an upstream scoring module.
  • To explicitly mark the column as the label column, add the Edit Metadata module and connect the dataset. Select only the label column, and select Label from the Fields dropdown list.
  • If the wrong column is chosen as the label, you can select Clear label from the Fields to fix the metadata on the column.
Exception Messages
There is no label column in dataset.
There is no label column in "{0}".

System_CAPS_ICON_tip.jpg Tip

Need more help or troubleshooting tips for Azure Machine Learning? Try these resources:

Module Error Codes

Show: