-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switched to
StandardScaler
from deprecated normalize
in `NaturalG…
…radient` (#8299) * switched to `StandardScaler` * Don't mention private methods in reno * Fix typo Co-authored-by: Julien Gacon <gaconju@gmail.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
- Loading branch information
1 parent
400fadf
commit 56501cc
Showing
2 changed files
with
18 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
releasenotes/notes/switched-to-StandardScaler-43d24a7918e96c14.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
fixes: | ||
- | | ||
Fix deprecation warnings in :class:`.NaturalGradient`, which now uses the | ||
:class:`~sklearn.preprocessing.StandardScaler` to scale the data | ||
before fitting the model if the ``normalize`` parameter is set to ``True``. |