Loss

public interface Loss

Functions

Link copied to clipboard
public abstract NDArray<Float, D2> gradient(    NDArray<Float, D2> weights,     MultiArray<Float, D2> X,     NDArray<Float, D2> y)
Link copied to clipboard
public abstract Float loss(    NDArray<Float, D2> weights,     MultiArray<Float, D2> X,     NDArray<Float, D2> y)
Link copied to clipboard
public NDArray<Float, D2> numericGradient(    NDArray<Float, D2> weights,     MultiArray<Float, D2> X,     NDArray<Float, D2> y,     Float eps)