Home > Testing and Tuning Models > Testing Classification Models > Test Metrics for Classifica... > Classification Model Test a... > Tuning Classification Models > Cost
The Cost tab of Tune Settings enables you to specify costs for target for scoring purposes.
By default the cost matrix is initially generated based on all the known target values in the Build Data Source. The cost matrix is set to cost values of 1 to start with.
To specify costs:
Open the Properties pane for the Build node. Right-click the node and select Go to Properties.
In the Test section, select Generate Select Test Results for Model Tuning and run the node.
In the Models section, select the models that you want to tune and click
.
Select Tune from the drop-down list. The Tune Settings dialog box opens.
In the Tune Settings dialog box, go to the Cost tab.
If you are tuning more than one model, then select a model from the Models list in the bottom pane. After you tune the first model, return to this pane and select another model.
Select the target value for which to specify costs.
Select the appropriate option:
False Positive: Incorrectly identifying a case as a target. (Default)
False Negative: Incorrectly identifying a case as a non-target.
In the Weight field, specify a weight for the cost.
Click Apply to add the cost that you just specified to the cost matrix.
Define costs for all target values that you are concerned about.
To apply the matrix, click Tune in the upper right pane.
Click Derived Matrix to view the cost matrix that you created. Examine the derived cost matrix. You can continue tuning by changing any selections that you made.
When you have finished, click OK to accept the tuning. Click Cancel to cancel the tuning
To cancel the tuning, click Reset. Tuning returns to Automatic.
To see the impact of the tuning, rerun the model node.