vc1492a / henosis

A Python framework for deploying recommendation models for form fields.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Note behavior of predict() and predict_proba() in documentation and introduce check

vc1492a opened this issue · comments

Currently, Henosis only supports the use of scikit-learn models with our without predicted probabilities distinctly. It is currently not possible to use models that do and do not provide predicted probabilities in tandem. For example, a LinearSVC cannot be deployed to the same instance as a MultinomialNB if predict_probabilities is set to True in config.yaml, but may be deployed to the same instance of predict_probabilities is set to False in config.yaml.

Note this in the documentation and introduce a check that ignores models that do not return predicted probabilities if predict_probabilities is set to True in config.yaml.