Are there any python libraries that do multiple regressions

0 votes
Are there any python libraries that do multiple regressions?
May 22, 2019 in Machine Learning by Laya
895 views

1 answer to this question.

0 votes

You can use sklearn.linear_model.LinearRegression. Something like this:

from sklearn import linear_model
clf = linear_model.LinearRegression()
clf.fit([[getattr(t, 'x%d' % i) for i in range(1, 8)] for t in texts],
        [t.y for t in texts])
answered May 22, 2019 by Vinay

Related Questions In Machine Learning

0 votes
1 answer

Are there different types of reinforcements?

There are two types of reinforcements - ...READ MORE

answered May 9, 2019 in Machine Learning by Mishra
1,103 views
0 votes
1 answer

What are different types of regressions?

There are three types of regressions: Linear regression: Linear ...READ MORE

answered May 10, 2019 in Machine Learning by Jinu
3,230 views
0 votes
1 answer

Is there any difference between an activation function and a transfer function?

Transfer function and Activation function with respect ...READ MORE

answered Feb 21, 2022 in Machine Learning by Dev
• 6,000 points
3,743 views
0 votes
1 answer
0 votes
2 answers
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 7, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 4,434 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Example to run KNN algorithm using python

Have a look at this one: from sklearn.datasets ...READ MORE

answered May 9, 2019 in Machine Learning by Harvy
1,581 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP