Package org.jetbrains.kotlinx.dl.api.core.loss

Types

BinaryCrossEntropy
Link copied to clipboard
class BinaryCrossEntropy(reductionType: ReductionType) : LossFunction
Hinge
Link copied to clipboard
class Hinge(reductionType: ReductionType) : LossFunction
Huber
Link copied to clipboard
class Huber(delta: Float, reductionType: ReductionType) : LossFunction
LogCosh
Link copied to clipboard
class LogCosh(reductionType: ReductionType) : LossFunction
Losses
Link copied to clipboard
enum Losses : Enum<Losses>

Loss functions.

LossFunction
Link copied to clipboard
abstract class LossFunction(reductionType: ReductionType)

Basic interface for all loss functions.

MAE
Link copied to clipboard
class MAE(reductionType: ReductionType) : LossFunction
MAPE
Link copied to clipboard
class MAPE(reductionType: ReductionType) : LossFunction
MSE
Link copied to clipboard
class MSE(reductionType: ReductionType) : LossFunction
MSLE
Link copied to clipboard
class MSLE(reductionType: ReductionType) : LossFunction
Poisson
Link copied to clipboard
class Poisson(reductionType: ReductionType) : LossFunction
ReductionType
Link copied to clipboard
enum ReductionType : Enum<ReductionType>

Choose type of loss values reduction in calculation of loss function value on the specific batch.

SoftmaxCrossEntropyWithLogits
Link copied to clipboard
class SoftmaxCrossEntropyWithLogits(reductionType: ReductionType) : LossFunction
SquaredHinge
Link copied to clipboard
class SquaredHinge(reductionType: ReductionType) : LossFunction