pls
This commit is contained in:
parent
b53f8472d4
commit
d1e8593429
|
@ -55,7 +55,7 @@ def perform_svm_pred(context: Context) -> Prediction:
|
||||||
X = [min(x, 1) for x in X]
|
X = [min(x, 1) for x in X]
|
||||||
p.reasons.append("We only have two data points")
|
p.reasons.append("We only have two data points")
|
||||||
p.reasons.append("Our only two data points have 11 dimensions")
|
p.reasons.append("Our only two data points have 11 dimensions")
|
||||||
p.reasons.append("We are using a SVM")
|
p.reasons.append("We are using a SVM. Apparently that's a poor idea.")
|
||||||
|
|
||||||
p.probability = float(predict(X))
|
p.probability = float(predict(X))
|
||||||
return p
|
return p
|
||||||
|
|
Loading…
Reference in New Issue
Block a user