Skip to main content

Varicent ELT Assistant

Confusion Matrix

Use the Confusion Matrix tool to compare the actual values in your data against predicted values in a confusion matrix to understand how your model is performing. It takes a set of classification predictions and produces a 2x2 confusion matrix.

A confusion matrix compares the actual values in your data against the predicted values. In a 2x2 matrix, you'll see:

  • true positives, where the actual value and predicted value are both true.

  • true negatives, where the actual value and predicted value are both false.

  • false positives, where the actual value was false, but the prediction was true.

  • false negatives, where the actual value was true but the prediction was false.

Configuration

Use the following configuration to help import your data into your pipe.

Configuring the Confusion Matrix Tool
  1. Go to the Pipes module from the side navigation bar.

  2. From the Pipes tab, click an existing pipe to open, or create a new pipe. To create a new pipe, read the Creating a pipe documentation.

  3. In the Pipe builder, add a data source to your pipe. For more information on adding a data source, see the Data Input tool.Data Input

  4. Click symon_add_icon.png + Add tool.

    The Tools modal opens, where you can add tools, such as the  Aggregate  tool, to your pipe.

  5. In the search bar, search for Confusion matrix, and then click + Tool.

    Note

    You can also find the Confusion matrix tool in the Learn section.

  6. Click the tool node and drag the line to the next tool to connect the tools. If you need to undo the action, click the line and then click Unlink.

  7. In the configuration pane, under Actual, select the column to use as the actual value of data.

  8. Under Predicted, select the column to predict the value of the data.

Predicted positive, Predicted negative , and Label columns appear with the data.