cornell-cs5785-2022-applied-ml
cornell-cs5785-2022-applied-ml copied to clipboard
Fix: Resolve ValueError in applying normal equation to Diabetes dataset
This PR addresses a ValueError
encountered when working with the Normal equation section due to incorrect shape handling in the code.
Changes Made:
- Added the UCI Diabetes Dataset part in this section.
- 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.