Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/netsaur/packages/utilities/src/metrics/mod.ts

Powerful Powerful Machine Learning library with GPU, CPU and WASM backends
Latest
import * as netsaur from "https://deno.land/x/netsaur@0.4.2/packages/utilities/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

Mean Absolute Error

Mean Square Error

The fraction of "positive" predictions that were actually positive

R2 Score for regression

Root Mean Square Error

The fraction of positives that were predicted correctly

The fraction of negatives that were predicted correctly