Answers for "multiple linear regression"

0

Multiple Regression

from sklearn import linear_model
regr = linear_model.LinearRegression()
x = np.asanyarray(train[['ENGINESIZE','CYLINDERS','FUELCONSUMPTION_COMB']])
y = np.asanyarray(train[['CO2EMISSIONS']])
regr.fit (x, y)
# The coefficients
print ('Coefficients: ', regr.coef_)
Posted by: Guest on January-27-2021
-2

simple linear regression machine learning

y = a_0 + a_1 * x      ## Linear Equation
Posted by: Guest on October-09-2020

Code answers related to "multiple linear regression"

Python Answers by Framework

Browse Popular Code Answers by Language