Loading
CRM Analytics
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Overall Performance Tab for Multiclass Classification Use Cases

          Overall Performance Tab for Multiclass Classification Use Cases

          The Overall Performance tab shows key metrics for model quality.

          Note
          Note Einstein Discovery stories are now models. We wish we could snap our fingers to update the name everywhere, but you can expect to see the previous name in a few places until we replace it.

          Navigate to the Overall Performance Tab

          In Performance, click Model Evaluation, then click Overall Performance.

          Overall Performance tab showing accuracy analysis results

          Class Selector

          Select a class to see its performance statistics.

          ROC Curve

          Receiver Operating Characteristic Curve. Displays the performance measurement for the selected class. ROC is a probability curve and AUC (Area Under the Curve) represents the degree or measure of separability. This chart shows how well the model is able to distinguish between classes.

          • Y-axis: True Positive Rate: TPR = TP / (TP + FN)
          • X-axis: False Positive Rate>: FPR = FP / (FP + TN)
          • Model (blue line)
          • No Model (gray line)—the same as random chance

          Row Count for the Selected Class

          Number of observations in the training dataset associated with the selected class.

          AUC

          Area Under the Curve. Measures the model’s rate of correct classification for the selected class.

          Range:

          • 0.5 means that the model performed no better than random guessing.
          • 1.0 means that the model correctly classified the data 100% of the time. An AUC of 1.0 is suspect because it can indicate data leakage: the data used to train your model includes one or more columns that contain the information that you are trying to predict.

          Confusion Matrix for the Selected Class

          The confusion matrix is used to evaluate the trade-offs between different error types for the selected class. It displays how many times the model correctly and incorrectly classifies an observation as true and false for the class. Key Metrics:

          MetricDescription
          F1 Score

          The F1 score represents the harmonic average of precision and recall.

          Formula:

          F1 = 2 * ( (precision * recall) / (precision + recall) )

          where

          • precision represents the number of correct positive results divided by the number of all positive results.
          • recall represents the number of correct positive results divided by the number of all relevant observations (all observations that have been identified as positive).
          True Positive Rate

          The True Positive Rate (TPR) measures the proportion of true positives that the model predicted correctly.

          Formula:

          TPR = TP / (TP + FN)

          where

          • TP represents the number of true positives (positive prediction with a positive result)
          • FN represents the number of false negatives (negative prediction with a positive result)

          Range:

          • one (1) represents a perfect test (100% true positives)
          • zero (0) represents the worst possible value (0% true positives).

          The True Positive Rate is also known as Sensitivity or Recall.

          Precision

          Precision describes the proportion of positive results that are true positive results.

          Formula:

          Precision = TP / (TP + FP)

          where

          • TP represents the number of true positives (positive prediction with a positive result)
          • FP represents the number of false positives (positive prediction with a negative result)

          Range: Precision is also known as Positive Predictive Value (PPV).

          • 1 represents a perfect test (100% true positives)
          • 0 represents the worst possible value (0% true positives)
          Negative Predictive Value

          Negative Predictive Value (NPV) describes the proportion of negative results that are true negative results.

          Formula:

          NPV = TN / (TN + FN)

          where

          • TN represents the number of true negatives (negative prediction with a negative result)
          • FN represents the number of false negatives (negative prediction with a positive result)

          Range:

          • 1 represents a perfect test (100%)
          • 0 represents the worst possible value
          Markedness

          Markedness measures the trustworthiness of positive and negative predictions by the model.

          Formula:

          Markedness = PPV + NPV - 1

          where

          • PPV is the Positive Predictive Value
          • NPV is the Negative Predictive Value
          MCC

          The Matthews Correlation Coefficient (MCC) is a model quality measure. MCC provides a more even representation of the four parts of the confusion matrix than other classification metrics.

          Range:

          • +1 means that the model correctly predicts the class every time.
          • 0 means that the model is as good as random guessing
          • -1 means that the model wrongly predicts the opposite class every time
          Informedness

          Informedness measures how informed the model is about positives and negatives.

          Formula:

          Informedness = TPR + TNR - 1

          where

          • TPR is the True Positive Rate
          • TNR is the True Negative Rate
          Accuracy

          Accuracy measures the proportion of outcomes that the model predicted correctly.

          Formula:

          Accuracy = (TP + TN) / Total # of Predictions

          where

          • TP represents the number of true positives (positive prediction with a positive result)
          • TN represents the number of true negatives (negative prediction with a negative result)
          • Total # of Predictions that the model made (correct predictions plus incorrect predictions)

          Confusion Matrix for All Classes

          This chart shows you at a glance how accurately the model predicts each class. Where the row and column for each class intersect in the table, the color of the square indicates the model’s accuracy. The legend shows a color progression from 0 to 1, with 1 representing 100% accuracy. In this example, the darker blue diagonal indicates a high percentage of true positives.

           
          Loading
          Salesforce Help | Article