Skip to content

fix: standard scaling do not replace 0 variance with epsilon#53

Open
mandrecki wants to merge 2 commits into
mainfrom
fix-standard-scale
Open

fix: standard scaling do not replace 0 variance with epsilon#53
mandrecki wants to merge 2 commits into
mainfrom
fix-standard-scale

Conversation

@mandrecki
Copy link
Copy Markdown
Contributor

@mandrecki mandrecki commented May 28, 2026

Description

On tensorflow side, in standard scaler zero variance was replaced by tiny float. This was not matching spark behaviour where 0 is output in such case. Aligned tensorflow layers to spark. Added tests for zero variance condition.

Conditional standard scaler was actually working but I simplified the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant