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/halving search #210

Merged
merged 27 commits into from
Nov 21, 2023
Merged

Conversation

gcattan
Copy link
Collaborator

@gcattan gcattan commented Nov 17, 2023

Fix #209.

After investigation, the HalvingSearch seems fine.
So I added wherever it is possible a fixed random_state to improve reproducibility (random forest, qsvm, near miss, ...).

The random state inside QSVM was not exposed, so I implemented it in this PR.

Additionally, I updated some docs and reverted the simulator version (qiskit-aer) to 0.12.2, as I had some performance issues on my local windows with the new version (the pb is not visible on the Ci).

I took also the opportunity to reduce the search space and fed directly a good estimator when running on CI.

I re-ran the example a couple of times on GitHub and locally without seeing the error - I knock on wood.

@gcattan gcattan marked this pull request as ready for review November 20, 2023 22:07
@gcattan gcattan requested a review from qbarthelemy November 20, 2023 22:10
doc/installing.rst Outdated Show resolved Hide resolved
gcattan and others added 2 commits November 21, 2023 17:58
Co-authored-by: Quentin Barthélemy <q.barthelemy@gmail.com>
@gcattan gcattan merged commit 7927763 into pyRiemann:main Nov 21, 2023
11 checks passed
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.

Set of predictions by QSVM with y=1 is empty
2 participants