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

Fixed section 2.3, exercise 7 #54

Merged
merged 2 commits into from
Feb 6, 2024
Merged

Fixed section 2.3, exercise 7 #54

merged 2 commits into from
Feb 6, 2024

Conversation

Mdnaimulislam
Copy link
Collaborator

@Mdnaimulislam Mdnaimulislam commented Feb 6, 2024

Fixed the error in section 2.3, exercise 7, where instead of regressing "ptratio" onto "crim", we mistakenly used "nox" onto "crim". Also, instead of using a quadratic term, we used a cubic term.

Previously:
boston_df["ptratio2"] = boston_df.nox**3

This has been corrected to:

boston_df["ptratio2"] = boston_df.ptratio**2

Thanks to @eraunio for bringing this to our attention in discussion #53.

@Mdnaimulislam Mdnaimulislam changed the title Fixed section 2.3, exercise 7 and updated profile image link Fixed section 2.3, exercise 7 Feb 6, 2024
@shuo-zhou shuo-zhou merged commit 618a431 into main Feb 6, 2024
1 check passed
@shuo-zhou shuo-zhou deleted the refine branch February 6, 2024 20:18
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.

None yet

2 participants