[scikit-learn] modifying CV score

2017-01-04 Thread Jonathan Taylor
return scorer(X_test, y_test) For custom scores that are not methods of an estimator, I guess the `make_scorer` function returns a callable with the same signature as a score method of an estimator? -- Jonathan Taylor Dept. of Statistics Sequoia Hall, 137 390 Serra Mall Stanford, CA 94305

[scikit-learn] modifying CV score

2017-01-03 Thread Jonathan Taylor
ator will be a model fit to X_train and y_train? -- Jonathan Taylor Dept. of Statistics Sequoia Hall, 137 390 Serra Mall Stanford, CA 94305 Tel: 650.723.9230 Fax: 650.725.8977 Web: http://www-stat.stanford.edu/~jtaylo ___ scikit-learn mailing list sci

Re: [scikit-learn] scikit-learn Digest, Vol 3, Issue 37

2016-06-22 Thread Jonathan Taylor
u can reach the person managing the list at > scikit-learn-ow...@python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of scikit-learn digest..." > > > Today's Topics: > >1. isotonic regression weird behavio

Re: [scikit-learn] isotonic regression weird behavior?

2016-06-21 Thread Jonathan Taylor
Sorry, docstring is also a bit funny. Is the problem it is trying to solve have an __equality__ constraint for y_min, y_max or __inequality__ constraint for y_min / y_max? Either way the produced solution does not satisfy such a constraint... On Tue, Jun 21, 2016 at 7:19 PM, Jonathan Taylor

Re: [scikit-learn] isotonic regression weird behavior?

2016-06-21 Thread Jonathan Taylor
Should have included: In [*22*]: iso Out[*22*]: On Tue, Jun 21, 2016 at 7:18 PM, Jonathan Taylor < jonathan.tay...@stanford.edu> wrote: > Was trying to fit isotonic regression with non-trivial y_min and y_max: > > In [*17*]: X > > Out[*17*]: > > array([ 1.2633641

[scikit-learn] isotonic regression weird behavior?

2016-06-21 Thread Jonathan Taylor
, 0.10449344, 0.10449344, 0.10449344, 0.10449344, 0.10449344, 0.10449344, 0.10449344, 0.10449344, 0.10449344, 0.10449344, 0.10449344]) The solution does not satisfy the bounds that each entry should be in [0,0.1] -- Jonathan Taylor Dept. of Statistics Sequoia Hall, 137