Skip to content

Commit

Permalink
Run codespell
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-brett committed Dec 11, 2023
1 parent ccddd78 commit ad0013e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions logistic_regression.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ Let's demonstrate this in python:
(1 - p) == 80/100
```

When you are interpretting odds:
When you are interpreting odds:

**Odds of 1 indicate that the event of interest is equally as likely as events NOT of interest.**

Expand Down Expand Up @@ -1264,7 +1264,7 @@ pd.DataFrame({'Log Odds Prediction': log_odds_predictions,
```

Remember, the probability predictions are the predicted probabilities of `appetite_d == 1`.
Let's name the predictions appropraitely to remind ourselves:
Let's name the predictions appropriately to remind ourselves:

```{python}
predicted_prob_of_1 = sigmoid_p_predictions
Expand Down
4 changes: 2 additions & 2 deletions naive_bayes.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pd.set_option('mode.copy_on_write', True)
```

Also see: [Naive Bayes
classifers](https://jakevdp.github.io/PythonDataScienceHandbook/05.05-naive-bayes.html)
classifiers](https://jakevdp.github.io/PythonDataScienceHandbook/05.05-naive-bayes.html)
in the [Python Data Science
Handbook](https://jakevdp.github.io/PythonDataScienceHandbook).

Expand Down Expand Up @@ -311,7 +311,7 @@ np.mean(df['sklearn_predictions'] == df['species'])
df
```

## Puting the naïve into "naïve Bayes"
## Putting the naïve into "naïve Bayes"

Now, let's also consider the `bill_depth_mm` values:

Expand Down

0 comments on commit ad0013e

Please sign in to comment.