Skip to content
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

fix: update covariance metric logic #39

Merged

Conversation

gabb1er
Copy link
Collaborator

@gabb1er gabb1er commented May 3, 2024

  • (was): if for any row the values in requested columns were not numeric, the final result of covariance metrics would be NaN.
  • (now): the rows with non-numeric values are just skipped. Result is NaN only when all rows are skipped or the number of rows is zero (empty dataset).
  • fixed merging for covariance metric calculators: avoid division by zero when merging calculators with empty states.
  • also fixed json serialization utils for case classes: previous approach yielded field names and values.

- (was): if for any row the values in requested columns were not numeric, the final result of covariance metrics would be NaN.
- (now): the rows with non-numeric values are just skipped. Result is NaN only when all rows are skipped or the number of rows is zero (empty dataset).
- fixed merging for covariance metric calculators: avoid division by zero when merging calculators with empty states.
- also fixed json serialization utils for case classes: previous approach yielded field names and values.
@gabb1er gabb1er merged commit 0951ddc into Raiffeisen-DGTL:main May 3, 2024
8 checks passed
cibaa-team-user pushed a commit that referenced this pull request May 13, 2024
# [1.7.0](v1.6.0...v1.7.0) (2024-05-13)

### Bug Fixes

* modify unique key constraint for regular metrics results table ([#38](#38)) ([6a67b2f](6a67b2f))
* update covariance metric logic ([#39](#39)) ([0951ddc](0951ddc))

### Features

* adding schema registry reader and corresponding schema configuration ([#40](#40)) ([be48204](be48204))
@cibaa-team-user
Copy link
Collaborator

🎉 This PR is included in version 1.7.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants