Loss¶
- class ampligraph.latent_features.loss_functions.Loss(hyperparam_dict={}, verbose=False)¶
Abstract class for the loss function.
Attributes
class_paramsexternal_paramsmetricsPer-output loss metrics.
nameMethods
__init__([hyperparam_dict, verbose])Initialize the loss..
- __init__(hyperparam_dict={}, verbose=False)¶
Initialize the loss..
- Parameters:
hyperparam_dict (dict) –
Dictionary of hyperparams.
”reduction”: (str) - Specifies whether to “sum” or take the “mean” of loss per sample w.r.t. corruptions (default: “sum”).
Other Keys are described in the hyperparameters section.