Git Product home page Git Product logo

rival's Introduction

RiVal

Build Status Join the chat at https://gitter.im/recommenders/rival codecov License

RiVal is a toolkit for data splitting and evaluation of recommender systems. This page contains information on how to work with the RiVal code and how to compile RiVal. For more information about RiVal and the documentation, visit the RiVal website or wiki. If you have not used RiVal before, do check out the Getting Started guide.

RiVal is made available under Apache License, Version 2.0.

Installation and Dependency Management

RiVal is built and deployed via Maven. In order to install it, check out this repository and run mvn install. This will make it available for other Maven projects as a dependency.

Modules

RiVal is comprised of one top-level module and four sub-modules. The top-level rival module is a container module used to build the submodules and provide all needed settings and dependencies. The five sub-modules are as follows:

  • rival-core -- the common data structures and similar object used throughout RiVal.
  • rival-evaluate -- the evaluation module, contains metrics and strategies used for evaluation.
  • rival-examples -- a module containing examples on how to use RiVal programmatically.
  • rival-recommend -- the recommendation modeule, contains hooks to Apache Mahout and LensKit.
  • rival-split -- the data splitting module, contains different data splitting strategies.
  • rival-package -- a configuration module for bulding rival distributions.

Contributing to RiVal

We're very happy if you want to contribute to RiVal. If you are not sure on what to work on, have a look a the current issues.

If you want to contribute, do it in the form of GitHub pull requests. To do this:

  1. Find the issue you want to fix, or create a new one describing what your contribution fixes.
  2. Fork RiVal rival on GitHub
  3. Push your changes to your fork
  4. Submit a pull request via the GitHub Web interface

Note that all your contributions will be licensed under RiVal's copyright licences (Apache). If you are committing a new class, make sure to include the copyright statement at the top.

Mailing list

To subscribe to the rival mailing list, visit and join the rival-users Google group.

More information

rival's People

Contributors

abellogin avatar afcarvalho1991 avatar alansaid avatar alesuglia avatar andresmore avatar franciscrimmins avatar gitter-badger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rival's Issues

Enforce checkstyle?

I suggest we should enforce checkstyle on build, i.e. let the build break if the code does not follow the style. (Or maybe just warn about it)

Test with "mvn checkstyle:checkstyle" and "mvn checkstyle:check"

Check all errors: "mvn checkstyle:checkstyle-aggregate" and look at output in rival/target/checkstyle-result.xml

Feature freeze v0.1, possible v0.2 branch

I propose we do a feature freeze for the current master branch, any additions should/could go into a v2.0 branch that we merge into the master once it's tagged/released.

The only thing left prior to 0.1 is to finalize the maven-site stuff (see 917788f), although I think most of the stuff I want to add (github maven-site plugin https://github.com/github/maven-plugins) could go in to v0.2

(answer and close issue if there are no questions)

API structure

We ought to standardize our API so as to keep compatibility between versions.

Ideas? Comments?

Move main methods to separate module?

Should each sub-module contain main methods or should we move these out to a separate sub-module (e.g. rival-examples which would provide example instances of the various functions of rival).

In the use case of including rival as a dependency to perform eval on an external project, the main methods are redundant. Probably we need to rethink how we're instantiating the different processes.

Logging

We need to set up proper logging and make sure we log things in new (and already implemented) classes.

Create example module

Create a module with examples, i.e. the complete process from data splitting to recommendation to evaluation.
This should contain at least one example for LensKit, one for Mahout, and a few data splitting strategies.
Think something similar to the examples in Mahout, just to help people get started.

Possibly aim at having this done for v0.2-M1

Assign basic eval metrics

Please assign basic eval metric creation/classes to both of us.
We probably need to figure out how to start the implementation as well.

Create Wiki

Create wiki pages containing information on main classes, how to run the steps, etc.

Wiki

Update wiki, provde example code.

Fix @inheritDoc documentation

[WARNING] /workspace/rival/rival-split/src/main/java/net/recommenders/rival/split/parser/LastfmCelma1KParser.java:17: warning - Tag @inheritdoc cannot be used in class documentation. It can only be used in the following types of documentation: method, inline text.
[WARNING] /workspace/rival/rival-split/src/main/java/net/recommenders/rival/split/parser/LastfmCelma1KParser.java:39: warning - Tag @inheritdoc cannot be used in constructor documentation. It can only be used in the following types of documentation: method, inline text.
[WARNING] /workspace/rival/rival-split/src/main/java/net/recommenders/rival/split/parser/LastfmCelma360KParser.java:15: warning - Tag @inheritdoc cannot be used in class documentation. It can only be used in the following types of documentation: method, inline text.
[WARNING] /workspace/rival/rival-split/src/main/java/net/recommenders/rival/split/parser/LastfmCelma360KParser.java:37: warning - Tag @inheritdoc cannot be used in constructor documentation. It can only be used in the following types of documentation: method, inline text.
[WARNING] /workspace/rival/rival-recommend/src/main/java/net/recommenders/rival/recommend/frameworks/mahout/GenericRecommenderBuilder.java:55: warning - [at]return tag has no arguments.
[WARNING] /workspace/rival/rival-recommend/src/main/java/net/recommenders/rival/recommend/frameworks/mahout/GenericRecommenderBuilder.java:70: warning - [at]return tag has no arguments.
[WARNING] /workspace/rival/rival-recommend/src/main/java/net/recommenders/rival/recommend/frameworks/mahout/GenericRecommenderBuilder.java:85: warning - [at]return tag has no arguments.
[WARNING] /workspace/rival/rival-recommend/src/main/java/net/recommenders/rival/recommend/frameworks/mahout/GenericRecommenderBuilder.java:102: warning - [at]return tag has no arguments.
[WARNING] /workspace/rival/rival-recommend/src/main/java/net/recommenders/rival/recommend/frameworks/mahout/GenericRecommenderBuilder.java:115: warning - [at]return tag has no arguments.
[WARNING] /workspace/rival/rival-evaluate/src/main/java/net/recommenders/rival/evaluation/metric/error/AbstractErrorMetric.java:46: warning - Tag @inheritdoc cannot be used in constructor documentation. It can only be used in the following types of documentation: method, inline text.
[WARNING] /workspace/rival/rival-evaluate/src/main/java/net/recommenders/rival/evaluation/metric/error/MAE.java:20: warning - Tag @inheritdoc cannot be used in constructor documentation. It can only be used in the following types of documentation: method, inline text.
[WARNING] /workspace/rival/rival-evaluate/src/main/java/net/recommenders/rival/evaluation/metric/error/MAE.java:28: warning - Tag @inheritdoc cannot be used in constructor documentation. It can only be used in the following types of documentation: method, inline text.
[WARNING] /workspace/rival/rival-evaluate/src/main/java/net/recommenders/rival/evaluation/metric/error/MAE.java:38: warning - [at]return tag cannot be used in method with void return type.
[WARNING] /workspace/rival/rival-evaluate/src/main/java/net/recommenders/rival/evaluation/metric/error/RMSE.java:20: warning - Tag @inheritdoc cannot be used in constructor documentation. It can only be used in the following types of documentation: method, inline text.
[WARNING] /workspace/rival/rival-evaluate/src/main/java/net/recommenders/rival/evaluation/metric/error/RMSE.java:28: warning - Tag @inheritdoc cannot be used in constructor documentation. It can only be used in the following types of documentation: method, inline text.
[WARNING] /workspace/rival/rival-evaluate/src/main/java/net/recommenders/rival/evaluation/metric/error/RMSE.java:38: warning - [at]return tag cannot be used in method with void return type.
[WARNING] /workspace/rival/rival-evaluate/src/main/java/net/recommenders/rival/evaluation/metric/ranking/AbstractRankingMetric.java:30: warning - Tag @inheritdoc cannot be used in constructor documentation. It can only be used in the following types of documentation: method, inline text.
[WARNING] /workspace/rival/rival-evaluate/src/main/java/net/recommenders/rival/evaluation/metric/ranking/MAP.java:21: warning - Tag @inheritdoc cannot be used in constructor documentation. It can only be used in the following types of documentation: method, inline text.
[WARNING] /workspace/rival/rival-evaluate/src/main/java/net/recommenders/rival/evaluation/metric/ranking/NDCG.java:37: warning - Tag @inheritdoc cannot be used in constructor documentation. It can only be used in the following types of documentation: method, inline text.
[WARNING] /workspace/rival/rival-evaluate/src/main/java/net/recommenders/rival/evaluation/metric/ranking/Precision.java:21: warning - Tag @inheritdoc cannot be used in constructor documentation. It can only be used in the following types of documentation: method, inline text.
[WARNING] /workspace/rival/rival-evaluate/src/main/java/net/recommenders/rival/evaluation/metric/ranking/Recall.java:22: warning - Tag @inheritdoc cannot be used in constructor documentation. It can only be used in the following types of documentation: method, inline text.
[WARNING] /workspace/rival/rival-evaluate/src/main/java/net/recommenders/rival/evaluation/strategy/AllItems.java:16: warning - Tag @inheritdoc cannot be used in constructor documentation. It can only be used in the following types of documentation: method, inline text.
[WARNING] /workspace/rival/rival-evaluate/src/main/java/net/recommenders/rival/evaluation/strategy/TestItems.java:16: warning - Tag @inheritdoc cannot be used in constructor documentation. It can only be used in the following types of documentation: method, inline text.
[WARNING] /workspace/rival/rival-evaluate/src/main/java/net/recommenders/rival/evaluation/strategy/TrainItems.java:16: warning - Tag @inheritdoc cannot be used in constructor documentation. It can only be used in the following types of documentation: method, inline text.
[WARNING] /workspace/rival/rival-evaluate/src/main/java/net/recommenders/rival/evaluation/strategy/UserTest.java:17: warning - Tag @inheritdoc cannot be used in constructor documentation. It can only be used in the following types of documentation: method, inline text.

What should go into v. 0.1

We should figure out what to prepare for a first release.

My thoughts are that the core, split, recommend modules are in a state that is "releasable". We need to have some structure in the eval module.

@abellogin can you create and assign issues for metrics in eval that we should implement?

(use the comments for discussion).

Webapp

Create rival-wevapp.
Should include:

  • file upload
  • selection of metric
  • basic metric output

possibly for v0.3 or above.

Clean up strategies

We have single and multiple runners, but right now there is no clear relation between them (i.e., if we change something in the single runner we will have to modify that also in the runner to parse multiple strategies, for instance).
We should generalize the multiple runners so that they use the code implemented in the single runners.

Fix authorship of classes

Fix authorship of your classes.
I propose to use: Name making links appear in properly in javadoc.

Example in net.recommenders.rival.core.DataModel

Test overhaul

Complete overhaul of tests.
Increase coverage of tests.

Fix authorship of classes

Fix authorship of your classes.
I propose to use: Name making links appear in properly in javadoc.

Example in net.recommenders.rival.core.DataModel

Extract property readers

Extract all property reading to class in core instead of current management in each class using properties.

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.