Re: [scikit-learn] MLPClassifier as a feature selector

2017-12-06 Thread Manoj Kumar
Hi, The weights and intercepts are available in the coefs_ and intercepts_ attribute respectively. See https://github.com/scikit-learn/scikit-learn/blob/a24c8b46/sklearn/neural_network/multilayer_perceptron.py#L835 On Wed, Dec 6, 2017 at 4:56 PM, Brown J.B. via scikit-learn < scikit-learn@python

Re: [scikit-learn] MLPClassifier as a feature selector

2017-12-06 Thread Brown J.B. via scikit-learn
I am also very interested in knowing if there is a sklearn cookbook solution for getting the weights of a one-hidde-layer MLPClassifier. J.B. 2017-12-07 8:49 GMT+09:00 Thomas Evangelidis : > Greetings, > > I want to train a MLPClassifier with one hidden layer and use it as a > feature selector fo

[scikit-learn] MLPClassifier as a feature selector

2017-12-06 Thread Thomas Evangelidis
Greetings, I want to train a MLPClassifier with one hidden layer and use it as a feature selector for an MLPRegressor. Is it possible to get the values of the neurons from the last hidden layer of the MLPClassifier to pass them as input to the MLPRegressor? If it is not possible with scikit-learn

Re: [scikit-learn] Error while running 'python setup.py build_ext --inplace'

2017-12-06 Thread Joel Nothman
We're biased, but we reckon the skills to make a PR are (a) not insurmountable with a bit of homework; and (b) very worthwhile to have. So try pick it up by yourself, but give us a shout if you're struggling. ___ scikit-learn mailing list scikit-learn@pyt

Re: [scikit-learn] Error while running 'python setup.py build_ext --inplace'

2017-12-06 Thread Aniket Meshram
Alright, i'll make a pull request. But let me tell you guys, I'm totally new to github. This is my first contribution. And until few days back, i didn't even knew what a pull request was. Anyways, what i mean is even though i make a request, it'll take time for me to understand this whole changing

[scikit-learn] Add Grabit model to gradient boosting

2017-12-06 Thread Fabio Sigrist
Dear all, I added the Tobit loss function to gradient boosting, see https://github.com/scikit-learn/scikit-learn/pull/9961. Recently, I also added a reference to a preprint of an article with documentation on the methodology (https://arxiv.org/abs/1711.08695). What are to next steps in order to d