cornell-cs5785-2022-applied-ml icon indicating copy to clipboard operation
cornell-cs5785-2022-applied-ml copied to clipboard

Fix: Resolve ValueError in applying normal equation to Diabetes dataset

Open AshrafMah opened this issue 1 month ago • 0 comments

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.

AshrafMah avatar Jan 02 '25 12:01 AshrafMah