import { type CPUCostFunction } from "https://deno.land/x/netsaur@0.1.5/backends/cpu/cost.ts";
Methods
cost(yHat: DataTypeArray<T>, y: DataTypeArray<T>): number
Return the cost associated with an output a
and desired output y
.
import { type CPUCostFunction } from "https://deno.land/x/netsaur@0.1.5/backends/cpu/cost.ts";
Return the cost associated with an output a
and desired output y
.