LogisticLoss

public final class LogisticLoss

A Logistic Loss Function

Constructors

Link copied to clipboard
public LogisticLoss LogisticLoss()

Functions

Link copied to clipboard
public final NDArray<Float, D2> gradient(    NDArray<Float, D2> yPred,     MultiArray<Float, D2> XT,     NDArray<Float, D2> y)
Link copied to clipboard
public final Float loss(    NDArray<Float, D2> yPred,     MultiArray<Float, D2> X,     NDArray<Float, D2> yTransposed,     NDArray<Float, D2> yNegTransposed)