Python icon indicating copy to clipboard operation
Python copied to clipboard

Create error handling function in linear regression algorithm of ML

Open pahalsrivastava opened this issue 1 year ago • 2 comments

What would you like to share?

We can add error handling function to the linear regressio algorithm in the ML folder; so that it can handle errors and still run the linear regression algorithm

Additional information

No response

pahalsrivastava avatar Sep 02 '24 19:09 pahalsrivastava

The linear regression algorithm in this repo should be reimplemented anyway (see #8847). As such, this additional handling should be either incorporated into the reimplementation PR or saved for a later PR.

In any case, what sort of error handling are you suggesting? Input validation, floating-point errors, etc?

tianyizheng02 avatar Sep 24 '24 07:09 tianyizheng02

i can work on this pease assign me this

sOnU1002 avatar Oct 01 '24 17:10 sOnU1002

Hi! I would love to work on this issue and improve the robustness of the linear_regression.py script by adding appropriate error handling (e.g., input validation, type checking, missing data, etc.). Please let me know if this is still open for contribution or if the file will be replaced soon so I can plan accordingly. Either way, I’d be happy to help!

Nitin-Prata avatar Jul 12 '25 18:07 Nitin-Prata