[ https://issues.apache.org/jira/browse/SOLR-12780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16647342#comment-16647342 ]
Kamuela Lau commented on SOLR-12780: ------------------------------------ Thanks [~cpoerschke] for the comment and updated patch! I had no idea that Math.tanh exists in Java itself; intriguing indeed! I think that you are right; there are fewer Math.exp calls, and the use of Math.tanh is also more succinct and easier to understand. > Add support for Leaky ReLU and TanH activations in LTR contrib module > --------------------------------------------------------------------- > > Key: SOLR-12780 > URL: https://issues.apache.org/jira/browse/SOLR-12780 > Project: Solr > Issue Type: New Feature > Security Level: Public(Default Security Level. Issues are Public) > Components: contrib - LTR > Reporter: Kamuela Lau > Priority: Minor > Labels: ltr > Attachments: SOLR-12780.patch, SOLR-12780.patch > > > Add support for Leaky ReLU and TanH activation functions in > NeuralNetworkModel. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org