class CrossEntropy
implements CPUCostFunction
import { CrossEntropy } from "https://deno.land/x/netsaur@0.1.5/backends/cpu/cost.ts";
Cross entropy cost function is the standard cost function for binary classification.
Methods
cost(yHat: DataTypeArray<T>, y: DataTypeArray<T>)
prime(yHat: number, y: number)