addCostMatrix

This method adds cost matrix to the specified classification model. When cost matrix is specified one can enable cost computations for the models that do not take cost matrix as model build input. For example, SVM classification model build operation do not take cost matrix as input. However, at the time of apply a cost matrix can be used to specify costs associated with the false predictions and produce cost values associated with the prediction value. So this can be done in two ways in OJDM API, either by specifying the cost matrix table at the time of apply as part of the classification apply settings or by explicitely adding the cost matrix to the model using this method. Using this method is performant in calculating cost values because cost matrix is embedded with the model and also it avoids specifying cost matrix for each apply operations.