Skip to content

Commit

Permalink
FIX correction for some typos (#779)
Browse files Browse the repository at this point in the history
Co-authored-by: ArturoAmorQ <[email protected]>
  • Loading branch information
ArturoAmorQ and ArturoAmorQ authored May 17, 2024
1 parent 6c73552 commit 00379f8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python_scripts/cross_validation_ex_01.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
# exercise.
#
# Also, this classifier can become more flexible/expressive by using a so-called
# kernel that makes the model become non-linear. Again, no requirement regarding
# kernel that makes the model become non-linear. Again, no undestanding regarding
# the mathematics is required to accomplish this exercise.
#
# We will use an RBF kernel where a parameter `gamma` allows to tune the
Expand Down
2 changes: 1 addition & 1 deletion python_scripts/cross_validation_sol_01.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
# exercise.
#
# Also, this classifier can become more flexible/expressive by using a so-called
# kernel that makes the model become non-linear. Again, no requirement regarding
# kernel that makes the model become non-linear. Again, no understanding regarding
# the mathematics is required to accomplish this exercise.
#
# We will use an RBF kernel where a parameter `gamma` allows to tune the
Expand Down
3 changes: 2 additions & 1 deletion python_scripts/linear_regression_non_linear_link.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

# %% [markdown]
# ```{tip}
# `np.random.RandomState` allows to create a random number generator which can
# `np.random.RandomState` allows creating a random number generator which can
# be later used to get deterministic results.
# ```
#
Expand Down Expand Up @@ -172,6 +172,7 @@ def fit_score_plot_regression(model, title=None):
# of the absolute values of the differences between the features generated by
# both methods and checking that it is close to zero:

# %%
np.abs(polynomial_expansion.fit_transform(data) - data_expanded).max()

# %% [markdown]
Expand Down

0 comments on commit 00379f8

Please sign in to comment.