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

Add predict_proba method for classification problems #22

Open
oscar-wallis opened this issue Mar 18, 2024 · 0 comments
Open

Add predict_proba method for classification problems #22

oscar-wallis opened this issue Mar 18, 2024 · 0 comments

Comments

@oscar-wallis
Copy link
Collaborator

Feature Specs

The predict_proba method is currently a crucial part of data science within the scikit learn (sklearn) package, specifically aimed at classification problems. The method should take a data point as an input and output the probabilities that the network predicts of the input in the form [P(class 0), P(class 1), P(class 2), ...], where these probabilities add to unity. There is already a predict method on qiskit machine learning classifiers: neural_network_classifier, vqc, qsvc and pegasus_qsvc, this is to be built upon for predict_proba.

Future additions

We could also look to generalise this feature to be included on EstimatorQNN and SamplerQNN. These objects are much more flexible which makes adding the method much more of a challenge.

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

No branches or pull requests

1 participant