I am a novice in programming, trying to write a polynomial regression model function. Can someone tell me why I am getting this error in Jupyter Notebook? I know I can write it with a FOR LOOP, but I just want to know why this WHILE LOOP is wrong.
I am a novice in programming, trying to write a polynomial regression model function. Can someone tell me why I am getting this error in Jupyter Notebook? I know I can write it with a FOR LOOP, but I just want to know why this WHILE LOOP is wrong.