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

x/netsaur/web.ts>Cost

Powerful machine learning, accelerated by WebGPU
Go to Latest
enum Cost
Re-export
import { Cost } from "https://deno.land/x/netsaur@0.2.12/web.ts";

Members

BinCrossEntropy = "bincrossentropy"

Cross entropy cost function is the standard cost function for binary classification.

CrossEntropy = "crossentropy"

Cross entropy cost function is the standard cost function for classification.

Hinge = "hinge"

Hinge cost function is the standard cost function for multi-class classification.

MSE = "mse"

Mean squared error cost function is the standard cost function for regression.