Description
This ticket adds the knnRegress Stream Evaluator to add support for nearest neighbor regression to the Streaming Expressions machine learning library.
Sample syntax:
let(sample=random(collection1, q=":", rows=10000, fl="response_d, filesize_d, service_d"), filesizes=col(sample, filesize_d), responses=col(sample, response_d), serviceLevels=col(sample, service_d), observations=transpose(matrix(filesizes, responses)), model=knnRegress(observations, serviceLevels, 10), prediction=predict(model, array(36365, 645)))
Attachments
Attachments
Issue Links
- is duplicated by
-
SOLR-13555 Add centeredMovingAvg Stream Evaluator
- Resolved
- is related to
-
SOLR-10784 Streaming Expressions machine learning functions library
- Resolved