<div dir="auto">What about the SVM? I use an SVR at the end to combine multiple MLPRegressor predictions using the rbf kernel (linear kernel is not good for this problem). Can I also implement an SVR with rbf kernel in Tensorflow using my own loss function? So far I found an example of an SVC with linear kernel in Tensorflow and nothing in Keras. My alternative option would be to train multiple SVRs and find through cross validation the one that minimizes my custom loss function, but as I said in a previous message, that would be a suboptimal solution because in scikit-learn the SVR minimizes the default loss function. </div><div class="gmail_extra"><br><div class="gmail_quote">Dne 13. 9. 2017 20:48 napsal uživatel "Andreas Mueller" <<a href="mailto:t3kcit@gmail.com">t3kcit@gmail.com</a>>:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<br>
<div class="m_3816762298944024593moz-cite-prefix">On 09/13/2017 01:18 PM, Thomas
Evangelidis wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_default" style="color:rgb(0,0,0)"><font size="4"></font></div>
<div class="gmail_default" style="color:rgb(0,0,0)"><font size="4">Thanks again for the clarifications Sebastian!</font></div>
<div class="gmail_default" style="color:rgb(0,0,0)"><font size="4"><br>
</font></div>
<div class="gmail_default" style="color:rgb(0,0,0)"><font size="4">Keras has a Scikit-learn API with the KeraRegressor
which implements the Scikit-Learn MLPRegressor interface:</font></div>
<div class="gmail_default" style="color:rgb(0,0,0)"><font size="4"><br>
</font></div>
<div class="gmail_default"><font size="4"><font color="#242729" face="Arial, Helvetica Neue, Helvetica, sans-serif"><a href="https://keras.io/scikit-learn-api/" target="_blank">https://keras.io/scikit-learn-<wbr>api/</a></font><br>
</font></div>
<div class="gmail_default" style="color:rgb(0,0,0)"><span><font size="4"><br>
</font></span></div>
<div class="gmail_default" style="color:rgb(0,0,0)"><span><font size="4">Is it
possible to change the loss function in KerasRegressor? I
don't have time right now to experiment with
hyperparameters of new ANN architectures. I am in urgent
need to reproduce in Keras the results obtained with
MLPRegressor and the set of hyperparameters that I have
optimized for my problem and later change the loss
function.</font></span></div>
<br>
</div>
</blockquote>
<font size="4">I think using keras is probably the way to go for
you.</font><br>
</div>
<br>______________________________<wbr>_________________<br>
scikit-learn mailing list<br>
<a href="mailto:scikit-learn@python.org">scikit-learn@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/scikit-learn" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/scikit-learn</a><br>
<br></blockquote></div></div>