Skip to main content
Module

x/netsaur/web.ts>Cost

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

Members

CrossEntropy = "crossentropy"

Cross entropy cost function is the standard cost function for binary 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.