[ 
https://issues.apache.org/jira/browse/SOLR-11597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16241197#comment-16241197
 ] 

Michael A. Alcorn commented on SOLR-11597:
------------------------------------------

Thanks for the feedback, [~cpoerschke].

bq. Let's also add the new class to the table in the Solr Reference Guide

Will do.

bq. String vs. list of lists representation

I agree the list representation is more intuitive, but I'm having trouble 
figuring out how to set that in Solr. The only thing I could make work was:

{code:java}
final List<List<List<Float>>> matrixList = (List<List<List<Float>>>) weights;
{code}

which is pretty ugly.

{code:java}
final List<float[][]> matrixList = (List<float[][]>) weights;
{code}

and:

{code:java}
final List<Float[][]> matrixList = (List<Float[][]>) weights;
{code}

didn't seem to work for me, and I'm not sure why.

bq. How about implementing/overriding the {{validate}} method?

Sounds good.

bq. test coverage of some sort

I can take a look at that.

bq. I'm pretty sure the {{String.format("...", ...);}} in the explain method 
will be flagged up by the forbidden-apis

I'll fix that.

> Implement RankNet.
> ------------------
>
>                 Key: SOLR-11597
>                 URL: https://issues.apache.org/jira/browse/SOLR-11597
>             Project: Solr
>          Issue Type: New Feature
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: contrib - LTR
>            Reporter: Michael A. Alcorn
>
> Implement RankNet as described in [this 
> tutorial|https://github.com/airalcorn2/Solr-LTR].



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to