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 support for pre-initialized classifier models #8

Open
flekschas opened this issue Mar 2, 2020 · 0 comments
Open

Add support for pre-initialized classifier models #8

flekschas opened this issue Mar 2, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@flekschas
Copy link
Collaborator

Currently, we only allow the user to choose between SKLearn classifiers and enforce the initialization of a new classifier. (See https://github.com/Novartis/peax/blob/develop/server/classifier.py#L104)

It should also be possible to start with an already initialized classifier. Technically this could be achieved by passing in a custom constructor that returns an already initialized classifier. In this case, Peax should only assume that the classifier's API matches SKLearn's API and crash mindfully if it does not. I.e., it should print an info message that it's the user's responsibility to ensure that the API conforms to SKLearn.

@flekschas flekschas added the enhancement New feature or request label Mar 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant