From 384ef72c6c57096d4aeb4e544f4b5c5dde87ddfa Mon Sep 17 00:00:00 2001 From: brad-gh <32170926+brad-gh@users.noreply.github.com> Date: Wed, 31 Aug 2022 23:13:22 -0400 Subject: [PATCH] remove q1 Week 2 Day 2 ex 1 question 1 #28 --- piscine/week02/day02/ex01/README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/piscine/week02/day02/ex01/README.md b/piscine/week02/day02/ex01/README.md index 67dc9fc..0142b65 100644 --- a/piscine/week02/day02/ex01/README.md +++ b/piscine/week02/day02/ex01/README.md @@ -8,10 +8,8 @@ X = [[0],[0.1],[0.2], [1],[1.1],[1.2], [1.3]] y = [0,0,0,1,1,1,0] ``` -1. Fit a Logistic regression on X and y. +1. Predict the class for `x_pred = [[0.5]]`. -2. Predict the class for `x_pred = [[0.5]]`. +2. Predict the probabilities for `x_pred = [[0.5]]` using `predict_proba`. -3. Predict the probabilities for `x_pred = [[0.5]]` using `predict_proba`. - -4. Print the coefficients (`coef_`), the intercept (`intercept_`) and the score of the logistic regression of X and y. \ No newline at end of file +3. Print the coefficients (`coef_`), the intercept (`intercept_`) and the score of the logistic regression of X and y.