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

David Smiley commented on SOLR-11943:
-------------------------------------

Wow this went in quick but didn't escape my notice.
 * Can we rename this to use "LatLon", or "spatial" or "geo" or "geospatial" 
terminology instead of "location"?  "Location" I think is too vague.  For this 
particular component, I think "LatLonVectorsEvaluator" would most clarify what 
it does.
 * Can we rename "long" inside here to "lon" as it's aesthetically more aligned 
with "lat" abbreviation (also 3 letters and not overloaded with Java keyword).
 * Even a one-liner class javadoc is helpful; I see none here.  For example, 
shouldn't it be clearly documented what the inputs/outputs are for 
LocationVector?  It's a shame the return declared type is "Object" and not 
"Matrix" (and even then a matrix is untyped so needs clarification of its 
nature (e.g. labels)).

 

> Add machine learning functions for location data
> ------------------------------------------------
>
>                 Key: SOLR-11943
>                 URL: https://issues.apache.org/jira/browse/SOLR-11943
>             Project: Solr
>          Issue Type: New Feature
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Joel Bernstein
>            Assignee: Joel Bernstein
>            Priority: Major
>             Fix For: master (8.0), 7.5
>
>         Attachments: SOLR-11943.patch
>
>
> This ticket will add the following functions / features:
> 1) *locationVectors* function: Reads a list of tuples that contain a 
> *location* field type and returns a *matrix* of lat/long vectors. 
> 2) Add support for *haversinMeters* distance measure.
> With the addition of these two functions we'll have the ability to do various 
> distance based machine learning algorithms (distance matrices, clustering, 
> knn regression etc...) with location data.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to