All Courses

how to store the name of independent variable in a list which show non linear behavior

By Sachin_raut4888, 2 months ago
  • Bookmark
0

what does the sentence mean ?

Help

We don't have any coding for that by seeing graph we need to check and create a list.

– adharsha_t_n Oct 14, 2022 at 9:13 AM

1 Answer
0
Hitendradixit

Hi,

You have to first plot the graphs between Independent Variables and Dependent Variables using Linear Regression, then you need to check which all are showing nonlinear behavior.

You have a function in pandas called columns (dataframe_name.columns) which gives you the list of all columns so you can just keep the columns in the list which show non-linear behavior.

Your Answer

Webinars

Why You Should Learn Data Science in 2022?

Dec 15th (7:00 PM) 277 Registered
More webinars

Related Discussions

Running random forest algorithm with one variable

View More