Giter VIP home page Giter VIP logo

jstarcraft-example's Introduction

JStarCraft Example


希望路过的同学,顺手给JStarCraft框架点个Star,算是对作者的一种鼓励吧!

目录


介绍

JStarCraft Example是一个基于JStarCraft RNS引擎,Spring Boot框架和MovieLens 100K数据集搭建的电影演示项目,包括个性化推荐个性化搜索两个部分.

系统会根据用户的行为记录,自动调整用户的推荐内容和搜索内容.


特性

个性化推荐

本演示项目使用的推荐算法涵盖基准算法,协同算法内容算法3个方面:

基准算法

  • AssociationRule
  • MostPopular
  • Random

协同算法

  • BPR
  • ItemKNN
  • LDA
  • UserKNN
  • WRMF

内容算法

个性化搜索

  • 词项查询
  • 范围查询
  • 前缀查询
  • 通配符查询
  • 正则查询
  • 模糊查询
  • 组合查询

安装

项目为了尽可能聚焦于个性化推荐和个性化搜索的演示,不包含任何多余组件的部署(例如MySQL/Redis/Spark/Elasticsearch).

JStarCraft Examlpe要求使用者具备以下环境:

  • JDK 8或者以上
  • Maven 3

安装JStarCraft-Core框架

git clone https://github.com/HongZhaoHua/jstarcraft-core.git

mvn install -Dmaven.test.skip=true

安装JStarCraft-AI框架

git clone https://github.com/HongZhaoHua/jstarcraft-ai.git

mvn install -Dmaven.test.skip=true

安装JStarCraft-RNS引擎

git clone https://github.com/HongZhaoHua/jstarcraft-rns.git

mvn install -Dmaven.test.skip=true

打包JStarCraft-Example项目

git clone https://github.com/HongZhaoHua/jstarcraft-example.git

mvn package -Dmaven.test.skip=true

使用

运行JStarCraft-Example项目

java -jar jstarcraf-example-1.0.jar

使用个性化推荐

  1. 复制链接http://127.0.0.1:8080?type=recommend到浏览器.
  2. 选择用户
  3. 选择推荐算法
  4. 点击推荐

推荐效果如图所示: recommend

使用个性化搜索

  1. 复制链接http://127.0.0.1:8080?type=search到浏览器.
  2. 选择用户
  3. 填写搜索内容
  4. 点击搜索

搜索效果如图所示: search


架构


概念


示例


对比


版本


参考


协议


作者

作者 洪钊桦
E-mail [email protected], [email protected]

致谢

特别感谢LibRec团队在推荐方面提供的支持与帮助.

特别感谢陆徐刚在搜索方面提供的支持与帮助.


jstarcraft-example's People

Contributors

hongzhaohua avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.