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

Switched to StandardScaler from deprecated normalize in NaturalGradient #8299

Merged

Conversation

prakharb10
Copy link
Contributor

Summary

Closes #7097

Details and comments

Removed the deprecated param and added StandardScaler

@qiskit-bot
Copy link
Collaborator

Thank you for opening a new pull request.

Before your PR can be merged it will first need to pass continuous integration tests and be reviewed. Sometimes the review process can be slow, so please be patient.

While you're waiting, please feel free to review other open PRs. While only a subset of people are authorized to approve pull requests for merging, everyone is encouraged to review open pull requests. Doing reviews helps reduce the burden on the core team and helps make the project's code better for everyone.

One or more of the the following people are requested to review this:

@coveralls
Copy link

coveralls commented Jul 5, 2022

Pull Request Test Coverage Report for Build 2665082734

  • 6 of 8 (75.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.002%) to 84.004%

Changes Missing Coverage Covered Lines Changed/Added Lines %
qiskit/opflow/gradients/natural_gradient.py 6 8 75.0%
Totals Coverage Status
Change from base Build 2664341943: -0.002%
Covered Lines: 55880
Relevant Lines: 66521

💛 - Coveralls

Cryoris
Cryoris previously approved these changes Jul 13, 2022
Copy link
Contributor

@Cryoris Cryoris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Cryoris Cryoris changed the title switched to StandardScaler from deprecated normalize Switched to StandardScaler from deprecated normalize in NaturalGradient Jul 13, 2022
@Cryoris Cryoris added Changelog: Bugfix Include in the "Fixed" section of the changelog automerge labels Jul 13, 2022
@mergify mergify bot merged commit 56501cc into Qiskit:main Jul 13, 2022
@prakharb10 prakharb10 deleted the 7097-futurewarning-issued-by-scikit-lear branch July 13, 2022 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: Bugfix Include in the "Fixed" section of the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FutureWarning issued by scikit-learn in opflow
4 participants