import * as vectorizer from "https://deno.land/x/vectorizer@v0.3.7/src/mod.ts";
Classes
Confusion matrix for the result. | |
Class for 2D Arrays. This is not akin to a mathematical Matrix (a collection of column vectors). This is a collection of row vectors. | |
Variables
The fraction of positives that were predicted correctly |
Functions
The fraction of predictions that were correct | |
Get a histogram of frequency of colors. | |
f mae | Mean Absolute Error |
f mse | Mean Square Error |
Extract patches from a 2d image | |
The fraction of "positive" predictions that were actually positive | |
f r2 | |
f rmse | Root Mean Square Error |
The fraction of positives that were predicted correctly | |
The fraction of negatives that were predicted correctly | |
Convert milliseconds into a duration object. | |
Generate a normal random variate. | |
Generate a normally distributed array. | |
Get n evenly distributed numbers in a range. | |
Rearrange characters in a string randomly. | |
Get random number from range | |
Get an array of numbers between a given range, incremented by a step. | |
Shuffle a given array in-place. | |
Split arrays by their first axis | |
Get current time as an object | |
Remove duplicate values in an array. Uses a strict = for identifying duplicates. | |
Roll one from an array of weighted choices. |