Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX Several small fixes #780

Merged
merged 10 commits into from
Nov 25, 2024
Merged

FIX Several small fixes #780

merged 10 commits into from
Nov 25, 2024

Conversation

ArturoAmorQ
Copy link
Collaborator

@ArturoAmorQ ArturoAmorQ commented Jun 3, 2024

  1. At the end of the First look at the dataset notebook, under the heading "we made important observations" we mention that linear models can only capture linear interactions but there is no prior reference to linear models.

  2. The word "complex" at the end of the Effect of the sample size in cross-validation notebook may be misleading. Here we don’t mean complexity as in the depth of a decision tree or the degree of a polynomial (which indeed would lead to overfitting), but rather that a more "expressive" model should be used.

  3. In the Solution for Exercise M3.02 the wording refers to the "accuracy of the model" but the model is a KNeighborsRegressor.

  4. The value_counts function in the Classification metrics notebook is raising a warning.

This PR proposes some fixes to address those issues.

@ArturoAmorQ ArturoAmorQ changed the title FIX summary in First look at the dataset notebook FIX wording for improved precision Jun 18, 2024
Copy link
Collaborator

@ogrisel ogrisel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, here are some further improvements:

python_scripts/01_tabular_data_exploration.py Outdated Show resolved Hide resolved
python_scripts/01_tabular_data_exploration.py Outdated Show resolved Hide resolved
python_scripts/01_tabular_data_exploration.py Outdated Show resolved Hide resolved
@ArturoAmorQ ArturoAmorQ changed the title FIX wording for improved precision FIX Several small fixes Jul 16, 2024
@ArturoAmorQ ArturoAmorQ requested a review from ogrisel November 14, 2024 14:18
Copy link
Collaborator

@ogrisel ogrisel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some more feedback. LGTM otherwise.

python_scripts/cross_validation_learning_curve.py Outdated Show resolved Hide resolved
@ogrisel
Copy link
Collaborator

ogrisel commented Nov 22, 2024

@ArturoAmorQ I finally answered your feedback in #780 (comment).

@ArturoAmorQ
Copy link
Collaborator Author

Thanks for the review @ogrisel. Merging!

@ArturoAmorQ ArturoAmorQ merged commit 29065fa into INRIA:main Nov 25, 2024
3 checks passed
github-actions bot pushed a commit that referenced this pull request Nov 25, 2024
@ArturoAmorQ ArturoAmorQ deleted the fix_summary branch November 25, 2024 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants