Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/vectorizer/src/metrics/classification.ts

Machine Learning utilities for TypeScript
Latest
import * as vectorizer from "https://deno.land/x/vectorizer@v0.7.5/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