From f126291e023ebc696772df2d0adf7005c8ba5b37 Mon Sep 17 00:00:00 2001 From: Alexander Munch-Hansen Date: Sun, 7 Apr 2019 00:06:07 +0200 Subject: [PATCH] pls --- server/nightr/strategies/svm_strat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/nightr/strategies/svm_strat.py b/server/nightr/strategies/svm_strat.py index 90fa84f..789aa8c 100644 --- a/server/nightr/strategies/svm_strat.py +++ b/server/nightr/strategies/svm_strat.py @@ -54,5 +54,5 @@ def perform_svm_pred(context: Context) -> Prediction: p.reasons.append("Our only two data points have 11 dimensions") p.reasons.append("We are using a SVM") - p.probability = predict(X) + p.probability = float(predict(X)) return p