Rule Type: Classification

The Machine Learning function provides a rule type Classification to train and use a binary or multinomial classification model for prediction. The idea of a classification model is to interpret a relationship between a set of descriptive attributes (features) and a nominal target attribute with two or more than two classes using training data. The specific functional form learned depends on the choice of model.

The goal of a trained classification model is to predict a nominal output based on new input of descriptive attributes. The classification takes advantage of gradient boosting technique empowered by SAP HANA automated predictive library (APL). Gradient boosting is a machine learning algorithm to find the shortcomings in the previous predictions. It combines base learners by sequentially minimizing difference between the actual and predicted values. It mainly deals with large volumes of data to make a prediction with high prediction power.

Rule Input Fields

You can use the following input fields for configuration:
  • Classification Type: Offers three options – binary, multinomial and autonomous. Default is autonomous. When it is chosen, the algorithm will automatically inspect the classes of the target field in the input data and choose the right model for training.

  • Target Field: Specifies the field that stores the target attribute of the prediction. The target attribute should be integer-valued.

  • Influence Fields: Specifies the model input fields (features) that are used to find the assumed relationship to the target field.

  • Segmented By: Specifies the fields according to which the whole input data is to be segmented. An independent classification model is trained for each segment, for example an independent segmentation into classification is found. If this list is empty, then the whole input dataset is considered as one segment by default.

  • Order by Fields: Specifies the fields according to which the segmented datasets are to be sorted.

Rule Output Fields

You can use the following output fields for configuration:
  • Predicted Value: Specifies a field that stores the predicted values

  • Model: The field returns the unique ID of the trained model for each segment that is being used for predicting. It is acharacteristic field type and we recommend you use a length of 30 characters.