<div dir="ltr"><div class="gmail_default" style="font-size:large;color:rgb(0,0,0)">Greetings,<br><br></div><div class="gmail_default" style="font-size:large;color:rgb(0,0,0)">I want to train a MLPClassifier with one hidden layer and use it as a feature selector for an MLPRegressor.<br>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?<br><br></div><div class="gmail_default" style="font-size:large;color:rgb(0,0,0)">If it is not possible with scikit-learn, is anyone aware of any scikit-compatible NN library that offers this functionality? For example this one:<br><a href="http://scikit-neuralnetwork.readthedocs.io/en/latest/index.html"><br>http://scikit-neuralnetwork.readthedocs.io/en/latest/index.html </a><br><br clear="all"></div><div style="font-size:large;color:rgb(0,0,0)" class="gmail_default">I wouldn't like to do this in Tensorflow because the MLP there is much slower than scikit-learn's implementation.<br></div><br><br><div style="font-size:large;color:rgb(0,0,0)" class="gmail_default">Thomas</div><br><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div>                              <p style="margin-bottom:0cm" align="LEFT"><span style="color:rgb(0,0,0)"><span style="font-family:arial,helvetica,sans-serif"><font size="2">======================================================================</font></span></span></p>
<p style="margin-bottom:0cm" align="LEFT"><span style="color:rgb(0,0,0)"><span style="font-family:arial,helvetica,sans-serif"><font size="2">Dr Thomas Evangelidis</font></span></span></p>
<p style="margin-bottom:0cm" align="LEFT"><span style="color:rgb(0,0,0)"><span style="font-family:arial,helvetica,sans-serif"><font size="2">Post-doctoral Researcher<br></font></span></span></p><span style="color:rgb(0,0,0)"><span style="font-family:arial,helvetica,sans-serif"><font size="2">CEITEC - Central European Institute of Technology<br>Masaryk University<br>Kamenice 5/A35/2S049, <br>62500 Brno, Czech Republic <br></font></span></span></div><div dir="ltr"><span style="color:rgb(0,0,0)"><br></span><p style="margin-bottom:0cm" align="LEFT"><span style="color:rgb(0,0,0)"><span style="font-family:arial,helvetica,sans-serif"><font size="2">email: <a href="mailto:tevang@pharm.uoa.gr" target="_blank">tevang@pharm.uoa.gr</a></font></span></span></p>
<p style="margin-bottom:0cm" align="LEFT"><span style="color:rgb(0,0,0)"><span style="font-family:arial,helvetica,sans-serif"><font size="2">                <a href="mailto:tevang3@gmail.com" target="_blank">tevang3@gmail.com</a></font></span></span></p>
<p style="margin-bottom:0cm" align="LEFT"><span style="color:rgb(0,0,0)"><span style="font-family:arial,helvetica,sans-serif"><font size="2"><br>website: <a href="https://sites.google.com/site/thomasevangelidishomepage/" target="_blank">https://sites.google.com/site/thomasevangelidishomepage/</a></font></span></span></p><span style="color:rgb(0,0,0)"><br></span><p style="margin-bottom:0cm" align="LEFT">
</p>
</div></div></div></div></div></div></div></div>
</div>