diff --git a/python_scripts/logistic_regression.py b/python_scripts/logistic_regression.py index 59f9045a5..71a08656f 100644 --- a/python_scripts/logistic_regression.py +++ b/python_scripts/logistic_regression.py @@ -151,7 +151,7 @@ # by name or position. In the code above `logistic_regression[-1]` means the # last step of the pipeline. Then you can access the attributes of that step such # as `coef_`. Notice also that the `coef_` attribute is an array of shape (1, -# `n_features`) an then we access it via its first entry. Alternatively one +# `n_features`) and then we access it via its first entry. Alternatively one # could use `coef_.ravel()`. # # We are now ready to visualize the weight values as a barplot: