org.nd4j.linalg.lossfunctions.impl.LossNegativeLogLikelihood Maven / Gradle / Ivy
package org.nd4j.linalg.lossfunctions.impl;
import org.nd4j.linalg.api.ndarray.INDArray;
/**
* Negative log likelihood loss function
*
* In practice, this is implemented as an alias for {@link LossMCXENT} due to the mathematical equivalence
*/
public class LossNegativeLogLikelihood extends LossMCXENT {
public LossNegativeLogLikelihood() {
}
public LossNegativeLogLikelihood(INDArray weights) {
super(weights);
}
@Override
public String toString() {
return "LossNegativeLogLikelihood()";
}
}