Skip to content

Add support for pre-initialized classifier models #8

@flekschas

Description

@flekschas

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions