Module Hub Beta


key feature [...]

The logistic regression predictor stored in key is used for predicting the result based on one or more features that are given by the feature argument(s).

Return Value

Bulk string reply, specifically the predicted value


redis> ML.LOGREG.SET logistic 0 2 2
redis> ML.LOGREG.PREDICT logistic -3 1

© 2017 Redis Labs, Inc. All rights reserved.