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: Resolve ValueError in applying normal equation to Diabetes dataset #30

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AshrafMah
Copy link

This PR addresses a ValueError encountered when working with the Normal equation section due to incorrect shape handling in the code.

Changes Made:

  1. Added the UCI Diabetes Dataset part in this section.
  2. Using all the attributes, so we can calculate the parameters theta that minimize the mean squared error objective.

Validation:

  • The script now runs without errors.
  • The scatterplot correctly displays the relationship between BMI and Diabetes Risk.

…et by correcting shape and adding scatter plot
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.

1 participant