Stay organized with collections
Save and categorize content based on your preferences.
Computes a 2D error matrix for a collection by comparing two columns of a collection: one containing the actual values, and one containing predicted values. The values are expected to be small contiguous integers, starting from 0. Axis 0 (the rows) of the matrix correspond to the actual values, and Axis 1 (the columns) to the predicted values.
The name of the property containing the actual value.
predicted
String
The name of the property containing the predicted value.
order
List, default: null
A list of the expected values. If this argument is not specified, the values are assumed to be contiguous and span the range 0 to maxValue. If specified, only values matching this list are used, and the matrix will have dimensions and order matching this list.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-19 UTC."],[[["Computes a 2D error matrix (confusion matrix) by comparing actual and predicted values within a collection."],["The matrix is structured with actual values on rows and predicted values on columns, assuming small contiguous integers starting from 0 for both."],["Users specify the properties holding actual and predicted values, and optionally, a list of expected values to customize the matrix structure."]]],[]]