![]() |
Keras serializable class for NDCG.
Inherits From: DCGLambdaWeight
tfr.keras.losses.NDCGLambdaWeight(
topn=None,
gain_fn=None,
rank_discount_fn=None,
smooth_fraction=0.0,
**kwargs
)
Methods
get_config
get_config()
individual_weights
individual_weights(
labels, ranks
)
See _LambdaWeight
.
pair_weights
pair_weights(
labels, ranks
)
See _LambdaWeight
.