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

x/vectorizer/src/utils/mod.ts

Feature Extraction and Feature Selection in TypeScript
Go to Latest
import * as vectorizer from "https://deno.land/x/vectorizer@v0.3.7/src/utils/mod.ts";

Classes

Class for 2D Arrays. This is not akin to a mathematical Matrix (a collection of column vectors). This is a collection of row vectors.

Functions

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.