-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds ZScore Normalization Technique #1224
Conversation
252bea9
to
bc43a35
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1224 +/- ##
============================================
- Coverage 81.89% 81.76% -0.13%
+ Complexity 2623 1338 -1285
============================================
Files 190 96 -94
Lines 8962 4579 -4383
Branches 1528 784 -744
============================================
- Hits 7339 3744 -3595
+ Misses 1030 533 -497
+ Partials 593 302 -291 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
src/main/java/org/opensearch/neuralsearch/processor/factory/NormalizationProcessorFactory.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/neuralsearch/processor/factory/NormalizationProcessorFactory.java
Outdated
Show resolved
Hide resolved
...n/java/org/opensearch/neuralsearch/processor/normalization/ZScoreNormalizationTechnique.java
Outdated
Show resolved
Hide resolved
...n/java/org/opensearch/neuralsearch/processor/normalization/ZScoreNormalizationTechnique.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Completed 1st round of review
src/main/java/org/opensearch/neuralsearch/processor/factory/NormalizationProcessorFactory.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/neuralsearch/processor/factory/NormalizationProcessorFactory.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/neuralsearch/processor/factory/NormalizationProcessorFactory.java
Outdated
Show resolved
Hide resolved
...n/java/org/opensearch/neuralsearch/processor/normalization/ZScoreNormalizationTechnique.java
Show resolved
Hide resolved
...n/java/org/opensearch/neuralsearch/processor/normalization/ZScoreNormalizationTechnique.java
Show resolved
Hide resolved
...n/java/org/opensearch/neuralsearch/processor/normalization/ZScoreNormalizationTechnique.java
Outdated
Show resolved
Hide resolved
...n/java/org/opensearch/neuralsearch/processor/normalization/ZScoreNormalizationTechnique.java
Outdated
Show resolved
Hide resolved
...n/java/org/opensearch/neuralsearch/processor/normalization/ZScoreNormalizationTechnique.java
Show resolved
Hide resolved
...n/java/org/opensearch/neuralsearch/processor/normalization/ZScoreNormalizationTechnique.java
Show resolved
Hide resolved
...n/java/org/opensearch/neuralsearch/processor/normalization/ZScoreNormalizationTechnique.java
Outdated
Show resolved
Hide resolved
src/test/java/org/opensearch/neuralsearch/processor/ScoreNormalizationIT.java
Show resolved
Hide resolved
src/test/java/org/opensearch/neuralsearch/processor/ScoreNormalizationIT.java
Outdated
Show resolved
Hide resolved
...in/java/org/opensearch/neuralsearch/processor/normalization/ScoreNormalizationTechnique.java
Outdated
Show resolved
Hide resolved
...n/java/org/opensearch/neuralsearch/processor/normalization/ZScoreNormalizationTechnique.java
Outdated
Show resolved
Hide resolved
...n/java/org/opensearch/neuralsearch/processor/normalization/ZScoreNormalizationTechnique.java
Outdated
Show resolved
Hide resolved
...n/java/org/opensearch/neuralsearch/processor/normalization/ZScoreNormalizationTechnique.java
Outdated
Show resolved
Hide resolved
.../java/org/opensearch/neuralsearch/processor/normalization/L2ScoreNormalizationTechnique.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall code looks good. Just few minor comments.
src/test/java/org/opensearch/neuralsearch/processor/ScoreNormalizationIT.java
Show resolved
Hide resolved
...n/java/org/opensearch/neuralsearch/processor/normalization/ZScoreNormalizationTechnique.java
Outdated
Show resolved
Hide resolved
...n/java/org/opensearch/neuralsearch/processor/normalization/ZScoreNormalizationTechnique.java
Outdated
Show resolved
Hide resolved
...n/java/org/opensearch/neuralsearch/processor/normalization/ZScoreNormalizationTechnique.java
Outdated
Show resolved
Hide resolved
...n/java/org/opensearch/neuralsearch/processor/normalization/ZScoreNormalizationTechnique.java
Outdated
Show resolved
Hide resolved
...n/java/org/opensearch/neuralsearch/processor/normalization/ZScoreNormalizationTechnique.java
Outdated
Show resolved
Hide resolved
...n/java/org/opensearch/neuralsearch/processor/normalization/ZScoreNormalizationTechnique.java
Outdated
Show resolved
Hide resolved
...main/java/org/opensearch/neuralsearch/processor/normalization/ScoreNormalizationFactory.java
Outdated
Show resolved
Hide resolved
...main/java/org/opensearch/neuralsearch/processor/normalization/ScoreNormalizationFactory.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/neuralsearch/processor/ValidateNormalizationDTO.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/neuralsearch/processor/factory/NormalizationProcessorFactory.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/neuralsearch/processor/ValidateNormalizationDTO.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/neuralsearch/processor/combination/ScoreCombinationTechnique.java
Show resolved
Hide resolved
src/main/java/org/opensearch/neuralsearch/processor/factory/NormalizationProcessorFactory.java
Show resolved
Hide resolved
...main/java/org/opensearch/neuralsearch/processor/normalization/ScoreNormalizationFactory.java
Outdated
Show resolved
Hide resolved
...main/java/org/opensearch/neuralsearch/processor/normalization/ScoreNormalizationFactory.java
Outdated
Show resolved
Hide resolved
Please open a documentation PR for this feature, you don't need to create complete content, at this stage it's mainly for tracking purposes |
b182ecf
to
1f42ae8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good, thanks @owaiskazi19. Please address my comment, it's minor, and we're good.
...main/java/org/opensearch/neuralsearch/processor/normalization/ScoreNormalizationFactory.java
Outdated
Show resolved
Hide resolved
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved, but need to resolve merge conflicts.
Signed-off-by: Owais <[email protected]>
Signed-off-by: Owais <[email protected]>
Signed-off-by: Owais <[email protected]>
Signed-off-by: Owais <[email protected]>
…nique Signed-off-by: Owais <[email protected]>
Signed-off-by: Owais <[email protected]>
Signed-off-by: Owais <[email protected]>
Description
Adds ZScore Normalization Technique
Related Issues
Resolves #376 and #1209
Check List
--signoff
.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.