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

x/dklearn/mod.ts>LinearRegression#train

A Deno Machine Learning Framework
Latest
method LinearRegression.prototype.train
import { LinearRegression } from "https://deno.land/x/dklearn@0.0.3/mod.ts";

Parameters

X_train: Matrix
y_train: Matrix
epochs: number
w: number
b: number
lr: number
optional
verbose = [UNSUPPORTED]