Package | Description |
---|---|
org.nd4j.linalg.lossfunctions.impl |
Modifier and Type | Class and Description |
---|---|
class |
LossNegativeLogLikelihood
Negative log likelihood loss function
|
class |
LossSparseMCXENT
Sparse Multi-Class Cross Entropy loss function:
L = sum_i actual_i * log( predicted_i ) Note: this is the same loss function as LossMCXENT , the only difference being the format for the labels -
this loss function uses integer indices (zero indexed) for the loss array, whereas LossMCXENT uses the equivalent
one-hot representation |
Copyright © 2020. All rights reserved.