<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Yes, make_regression is for quickly making a random task.<br>
Doing what you want should be about three lines of numpy, why do you
need a function for it?<br>
<br>
<br>
<div class="moz-cite-prefix">On 03/27/2017 12:03 AM, Onkar Mahajan
wrote:<br>
</div>
<blockquote
cite="mid:CAAftUVpY4CwR-XKWv-SB9zzOfWpv=_MD_Basn_wfk7qjL_Rq3Q@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>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_<wbr>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)<br>
<br>
</div>
Thanks,<br>
</div>
Onkar</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
scikit-learn mailing list
<a class="moz-txt-link-abbreviated" href="mailto:scikit-learn@python.org">scikit-learn@python.org</a>
<a class="moz-txt-link-freetext" href="https://mail.python.org/mailman/listinfo/scikit-learn">https://mail.python.org/mailman/listinfo/scikit-learn</a>
</pre>
</blockquote>
<br>
</body>
</html>