Covert vector to python list
[trackerpp.git] / python / predictor.py
index b58fd41..5dc12af 100644 (file)
@@ -28,6 +28,7 @@ def predict(index, features):
     pp = predictors[index]
     true_class = int(pp.classes_[1] == 1)
     prob = pp.predict_proba([features])[0, true_class]
+    print prob
     return prob