We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1461658 commit eb7d211Copy full SHA for eb7d211
{{cookiecutter.project_slug}}/app/api/routes/predictor.py
@@ -9,7 +9,6 @@
9
10
router = APIRouter()
11
12
-# TODO: Change 'load_wrapper' and 'method' based on your {{cookiecutter.machine_learn_model_name}}.
13
get_prediction = lambda data_input: MachineLearningResponse(
14
model.predict(data_input, load_wrapper=joblib.load, method="predict_proba")
15
)
0 commit comments