mirror of https://github.com/01-edu/Branch-AI.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.3 KiB
1.3 KiB
- This question is validated if the outputted plot looks like this:
- This question is validated if the coefficient and the intercept of the Logistic Regression are:
Intercept: [-0.98385574]
Coefficient: [[1.18866075]]
- This question is validated if the plot looks like this:
-
This question is validated if
predict_probability
outputs the same probabilities aspredict_proba
. Note that the values have to match one of the class probabilities, not both. To do so, compare your output with:clf.predict_proba(X)[:,1]
. The shape of the arrays is not important. -
This question is validated if
predict_class
outputs the same classes ascfl.predict(X)
. The shape of the arrays is not important. -
This question is validated if the plot looks like this:
As mentioned, it is not required to shift the class prediction to make the plot easier to understand.
- This question is validated if the plot looks like this: