ageron / ageron/handson-ml3

[BUG] Chapter 4 - the regularization lack of data in the book

Open
#71 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
14.1k
Forks
5.3k
PR merge metrics
No merged PRs in 30d

Description

Thanks for helping us improve this project!

**Before you create this issue**
Please make sure you are using the latest updated code and libraries: see https://github.com/ageron/handson-ml3/blob/main/INSTALL.md#update-this-project-and-its-libraries

Also please make sure to read the FAQ (https://github.com/ageron/handson-ml3#faq) and search for existing issues (both open and closed), as your question may already have been answered: https://github.com/ageron/handson-ml3/issues

**Describe the bug**
Hi, on Chapter 4 - page 156 and 157 of the book the new X and y are not defined which makes the fit result different from the book
they are defined in the Colab of the book but as extra code.

**Screenshots**
If applicable, add screenshots to help explain your problem.
this is the result if we go through the path of the book:
![image](https://user-images.githubusercontent.com/53435529/233627893-9ee42b3b-c335-4516-adf5-76a957613609.png)
This is the part in Colab defining the new X and y
![image](https://user-images.githubusercontent.com/53435529/233627951-e610ae82-7580-4d64-8cb6-e852f589a99e.png)
which result in these answers :
![image](https://user-images.githubusercontent.com/53435529/233628137-42f4eb4d-b4e1-4138-b1ee-49541d76078a.png)
![image](https://user-images.githubusercontent.com/53435529/233628205-401989c4-6f74-4e98-94c3-d47c86c81f0c.png)

Thanks for the helpful and great book of yours:)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.