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

x/netsaur/packages/visualizer/mod.ts>Visualizer

Powerful Powerful Machine Learning library with GPU, CPU and WASM backends
Latest
class Visualizer
import { Visualizer } from "https://deno.land/x/netsaur@0.4.2/packages/visualizer/mod.ts";

Visualizer for Neural Networks in Jupyter Notebook

Constructors

new
Visualizer(title: string)

Methods

graph<R extends Rank>(
inputs: Tensor<R>[],
expectedResults: Tensor<R>[],
): Promise<{ [x: symbol]: () => { application/vnd.plotly.v1+json: { data: Line[]; layout: { title: string; }; }; }; }>

Graph the results of a Neural Network

graphLoss(loss: number[]): { [x: symbol]: () => { application/vnd.plotly.v1+json: { data: Line[]; layout: { title: string; }; }; }; }

Graph the loss of a Neural Network during training