Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
/**
* A score normalizer that applies L2 normalization to a set of scores.
* <p>
* This normalizer scales the scores so that the L2 norm of the score vector is 1,
* if possible. If all scores are zero or NaN, normalization is skipped and the original scores are returned.
* Each score is divided by the L2 norm of the scores if the norm is greater than a small EPSILON.
* If all scores are zero or NaN, normalization is skipped and the original scores are returned.
* </p>
*/
public class L2ScoreNormalizer extends ScoreNormalizer {
Expand Down