From 9cce739cfc9c345746aaf17b31852d34a471c0ca Mon Sep 17 00:00:00 2001 From: Samuel Herman Date: Tue, 17 Oct 2023 16:13:57 -0700 Subject: [PATCH] wire z-score normalization Signed-off-by: Samuel Herman --- .../processor/normalization/ScoreNormalizationFactory.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/opensearch/neuralsearch/processor/normalization/ScoreNormalizationFactory.java b/src/main/java/org/opensearch/neuralsearch/processor/normalization/ScoreNormalizationFactory.java index 667c237c7..c42df96fe 100644 --- a/src/main/java/org/opensearch/neuralsearch/processor/normalization/ScoreNormalizationFactory.java +++ b/src/main/java/org/opensearch/neuralsearch/processor/normalization/ScoreNormalizationFactory.java @@ -19,7 +19,9 @@ public class ScoreNormalizationFactory { MinMaxScoreNormalizationTechnique.TECHNIQUE_NAME, new MinMaxScoreNormalizationTechnique(), L2ScoreNormalizationTechnique.TECHNIQUE_NAME, - new L2ScoreNormalizationTechnique() + new L2ScoreNormalizationTechnique(), + ZScoreNormalizationTechnique.TECHNIQUE_NAME, + new ZScoreNormalizationTechnique() ); /**