JavaRank
Recommendation engine in Java. Based on an ALS algorithm (Apache Spark). Train a new model after N seconds.
Install / Use
/learn @sebsui/JavaRankREADME
JavaRank
Recommendation engine in Java. Based on an ALS algorithm (Apache Spark). Including an automatisation of training a new model after N seconds. And an easier interface.
Installation
Prerelease stage, you have to get your own build to use the dependency.
Requirements
- maven
Check out the project with your IDE. Most ide will automatically download your maven dependencies. After this, the project will be ready to be released/modified.
Usage example
The following example shows, how to init the ch.javarank.service. After training the model will give prediction, which rating the user will likely give for the product.
RecommendationService recommendationService = new RecommendationService(() -> dataProvider(), timeBetweenNewModels, initialDelay);
dataProvider() is a Methode, which returns a Collection<InputRating>. timeBetweenNewModels is the time in seconds between the renewal of the model initialDelay is the time in seconds for the first delay
As soon as the model is ready (see recommendationService.isModelReady()) you can get the prediction like this
Optional<Double> prediction = recommendationService.getPrediction(2, 3);
Release History
- Prerelease
- Working prototype
Meta
SebastianMue
Distributed under the MIT license. See LICENSE for more information.
[https://github.com/SebastianMue]
Contributing
- Fork it (https://github.com/yourname/yourproject/fork)
- Create your feature branch (
git checkout -b feature/fooBar) - Commit your changes (
git commit -am 'Add some fooBar') - Push to the branch (
git push origin feature/fooBar) - Create a new Pull Request
Related Skills
YC-Killer
2.7kA library of enterprise-grade AI agents designed to democratize artificial intelligence and provide free, open-source alternatives to overvalued Y Combinator startups. If you are excited about democratizing AI access & AI agents, please star ⭐️ this repository and use the link in the readme to join our open source AI research team.
fullstack-developer
Full-Stack Developer Role Role Definition CONCEPT: Full-stack developer expertise ARCHITECTURE: Covers both frontend and backend development BEST_PRACTICE: Comprehensive web applicat
groundhog
401Groundhog's primary purpose is to teach people how Cursor and all these other coding agents work under the hood. If you understand how these coding assistants work from first principles, then you can drive these tools harder (or perhaps make your own!).
workshop-rules
Materials used to teach the summer camp <Data Science for Kids>
