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

x/netsaur/src/core/mod.ts>Sequential

Powerful machine learning, accelerated by WebGPU
Go to Latest
class Sequential
implements NeuralNetwork
import { Sequential } from "https://deno.land/x/netsaur@0.2.4/src/core/mod.ts";

Sequential Neural Network

Constructors

new
Sequential(config: NetworkConfig)

Create a Sequential Neural Network.

Methods

Use the network to make predictions.

save(str: string)

Save model to binary file

Export the network in a JSON format

train(
datasets: DataSet[],
epochs?,
rate?,
)

Train the Neural Network.

Static Methods

Import the network in a JSON format

load(_str: string)

Load model from binary file