import * as vectorizer from "https://deno.land/x/vectorizer@v0.7.5/src/metrics/mod.ts";
Metrics for Machine Learning outcomes.
Classes
A report with metrics for classification results | |
Confusion matrix for the result. |
Variables
The fraction of positives that were predicted correctly |
Functions
The fraction of predictions that were correct | |
Compute Cohen's Kappa to find Agreement | |
Compute F1 Score | |
f mae | Mean Absolute Error |
f mse | Mean Square Error |
The fraction of "positive" predictions that were actually positive | |
f r2 | R2 Score for regression |
f rmse | Root Mean Square Error |
The fraction of positives that were predicted correctly | |
The fraction of negatives that were predicted correctly |