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

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

Classes

Convert 2D array of indices into multi-hot encoded vectors.

Convert an array of indices into one-hot encoded vectors.

Convert 2D array of indices into multi-hot encoded vectors where each index contains the number of times the respective value appears in a sample (term frequency encoder).

Functions

Convert a softmax output into one-hot vectors. Mutates the input.