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

x/netsaur/packages/utilities/src/metrics/classification.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/classification.ts";

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

The fraction of "positive" predictions that were actually positive

The fraction of positives that were predicted correctly

The fraction of negatives that were predicted correctly