Yes, make_regression is for quickly making a random task.
Doing what you want should be about three lines of numpy, why do you
need a function for it?
On 03/27/2017 12:03 AM, Onkar Mahajan wrote:
I would like to create a random dataset for Linear regression with
specific regression coefficients (reg.coef_, reg.intercept_ ) and with
data in specific range of values (person age - 0 to 100 as x - axis
and y-axis Net worth 0$ to 5,00,000$). I used
sklearn.datasets.make_regression() but I did not find anything in here
that gives me control over range of samples and regression
coefficients (I might be missing something, please correct me if mistaken)
Thanks,
Onkar
_______________________________________________
scikit-learn mailing list
scikit-learn@python.org
https://mail.python.org/mailman/listinfo/scikit-learn
_______________________________________________
scikit-learn mailing list
scikit-learn@python.org
https://mail.python.org/mailman/listinfo/scikit-learn