{"id":19839403,"url":"https://github.com/redislabs/jedis-ml","last_synced_at":"2025-05-01T19:30:19.827Z","repository":{"id":141980523,"uuid":"70076583","full_name":"RedisLabs/jedis-ml","owner":"RedisLabs","description":"Add Redis-ML commands to Jedis","archived":false,"fork":false,"pushed_at":"2019-06-22T07:04:19.000Z","size":17,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-06T17:03:32.319Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://redisml.io","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RedisLabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-05T16:06:57.000Z","updated_at":"2021-11-15T11:36:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"184e3ec2-5c63-4038-8f38-dd684e001fea","html_url":"https://github.com/RedisLabs/jedis-ml","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedisLabs%2Fjedis-ml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedisLabs%2Fjedis-ml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedisLabs%2Fjedis-ml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedisLabs%2Fjedis-ml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RedisLabs","download_url":"https://codeload.github.com/RedisLabs/jedis-ml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251932513,"owners_count":21667157,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T12:22:15.444Z","updated_at":"2025-05-01T19:30:19.821Z","avatar_url":"https://github.com/RedisLabs.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\n#### Notice RedisML is planned to be replaced by [RedisAI](http://redisai.io), adding support for deep learning.\n***\n\n# jedis-ml\n\n### Add  [Redis-ML](https://github.com/RedisLabsModules/redis-ml \"Redis-ML\") commands to  [Jedis](https://github.com/xetorthio/jedis \"Jedis\")  \n\n\n## Installation:\n\n```sh\n#get and build jedis\ngit clone https://github.com/xetorthio/jedis.git\ncd jedis\nmvn package -Dmaven.test.skip=true\n\n#get and build jedis-ml\ncd..\ngit clone https://github.com/RedisLabs/jedis-ml.git\ncd jedis-ml\ncp ../jedis/target/jedis-3.0.0-SNAPSHOT.jar lib/\nmvn install \n```\n\n\n\n### Usage:\n\nadd jedis-ml/target/jedis-ml-1.0-SNAPSHOT.jar to the classpath.\n\nScala example (create a forest):\n\n```scala\nimport com.redislabs.client.redisml.MLClient\nimport redis.clients.jedis.{Jedis, _}\nval jedis = new Jedis(\"localhost\")\nval cmdArr = Array(\"my_forest\",\"0\",\".\",\"numeric\",\"1\",\"0.7\")\njedis.getClient.sendCommand(MLClient.ModuleCommand.FOREST_ADD, cmdArr: _*)\njedis.getClient().getStatusCodeReply\n```\n\n\n\n### Command list:\n\n FOREST_ADD \n\n FOREST_RUN \n\n FOREST_TEST \n\n LINREG_SET\n\n LINREG_PREDICT \n\n LOGREG_SET \n\n LOGREG_PREDICT\n\n MATRIX_SET \n\n MATRIX_MULTIPLY \n\n MATRIX_ADD \n\n MATRIX_SCALE\n\n MATRIX_PRINT \n\n MATRIX_TEST \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredislabs%2Fjedis-ml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredislabs%2Fjedis-ml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredislabs%2Fjedis-ml/lists"}