Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does target mean in Scikit's Linear Regression object?

I am using Scikit to perform ordinary linear regression on some random datapoints. However, I am confused as to what they mean by target values in their documentation of the fit method.

I am setting X to be an array of datapoints of the shape 100 x 2 (two dimensional). What do I pass as input for the y argument?

like image 608
sdasdadas Avatar asked Feb 16 '23 01:02

sdasdadas


1 Answers

In this context, "target" is a synonym for "dependent variable", "response variable", "regressand", "measured variable", "responding variable", "explained variable", "outcome variable", "experimental variable", and "output variable." I.e. it's the thing your trying to predict.

like image 124
Fred Foo Avatar answered Feb 18 '23 14:02

Fred Foo