Machine Learning Model Server on Redis¶
Redis-ML is a Redis module that implements several machine learning models as Redis data types.
The stored models are fully operational and support the prediction/evaluation process.
Redis-ML is a turnkey solution for using trained models in a production environment. Load ML models from any platform, immediately ready to serve.
- Decision Tree ensembles (random forests) classification and regression
- Linear regression
- Logistic regression
- Matrix operations
Building and Running¶
Build a Redis server with support for modules (currently available from the unstable branch).
sh sudo apt-get install libatlas-base-dev
sh sudo yum install -y atlas-devel atlas-static ln -s /usr/lib64/atlas/libatlas.a /usr/lib64/libatlas.a ln -s /usr/lib64/atlas/libtatlas.so /usr/lib64/libcblas.a
Build the Redis-ML module:
git clone https://github.com/RedisLabsModules/redis-ml.git
- To load the module, start Redis with the
--loadmodule /path/to/redis-ml/src/redis-ml.sooption, add it as a directive to the configuration file or send a
Issue reports, pull and feature requests are welcome.
AGPLv3 - see LICENSE