Goodness of Fit
Verifies a trained model.
Information at a Glance
Category | Model Validation |
Data source type | DB, HD |
Sends output to other operators | No |
Data processing tool | MapReduce |
This operator applies the trained model on the input data set, and then calculates the following for the model.
It applies in general to classification models.
Algorithm
When both columns being compared are categorical (or levels), the natural summary is a contingency table - a simple matrix of counts of how often each combination of categories or levels is seen. For example, a result could look like the following illustration.
From this table, all of the traditional Goodness of Fit statistics (Precision, Recall, F1, Sensitivity, Specificity, and Accuracy) can immediately be read off, as shown in the following table.
Configuration
Copyright © Cloud Software Group, Inc. All rights reserved.