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

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

Powerful machine learning, accelerated by WebGPU
Go to Latest
import * as netsaur from "https://deno.land/x/netsaur@0.4.0-patch/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