All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nd4j.linalg.lossfunctions.impl.LossNegativeLogLikelihood Maven / Gradle / Ivy

There is a newer version: 1.0.0-M2.1
Show newest version
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); } /** * The name of this function * * @return */ @Override public String name() { return toString(); } @Override public String toString() { return "LossNegativeLogLikelihood()"; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy