-
Hi, in have a problem with the implementation of lr
when i try it...
_logit_model=sm.Logit(y,X)_
i get it...
_ValueError: Pandas data cast to numpy dtype of object. Check input data with np.asarra…
-
As a contributor your goal is to:
- explain the concept of logistic regression by implementing code from scratch
- visualize logistic regression decision boundary
- show the effects of changing var…
-
-
3-class example.
http://scikit-learn.org/stable/auto_examples/linear_model/plot_iris_logistic.html#example-linear-model-plot-iris-logistic-py
-
Is the `pretty_ad_output = np.exp(pretty_ad_output)` line correct?
-
Running the module gives:
```
C:\ProgramData\Anaconda3\python.exe "D:/Walter Study/Udacity/Deep Learning/SoftwarePractice/Logistic_Binary_Classification/logistic_regression.py"
C:\ProgramData\Ana…
-
I think Naive Bayes was relatively easy, but I'm a little unsure about what we need to do for LR. I don't see anyone positing about this on piazza, so either nobody is confused about this, or they hav…
-
Thanks for your answers. But the answers from the logistic regression quiz isn't correct. I see the program. Maybe they have updated the question's requirements. Also they added another quiz in week 4…
ghost updated
2 years ago
-
```Python
>>> from sklearn.datasets import load_iris
>>> from sklearn.linear_model import LogisticRegression
>>> X, y = load_iris(return_X_y=True)
>>> clf = LogisticRegression(random_state=0).fit(X, …
-
![Screen Shot 2021-02-01 at 12 26 21 AM](https://user-images.githubusercontent.com/63126292/106422417-2a86a700-6424-11eb-9090-13ce94a73037.png)