LensKit Data Structures

Data structures and related utilities used in LensKit.

License

License

Categories

Categories

Data Data Structures
GroupId

GroupId

org.grouplens.lenskit
ArtifactId

ArtifactId

lenskit-data-structures
Last Version

Last Version

3.0-T5
Release Date

Release Date

Type

Type

jar
Description

Description

LensKit Data Structures
Data structures and related utilities used in LensKit.
Project URL

Project URL

http://lenskit.org
Source Code Management

Source Code Management

http://github.com/grouplens/lenskit

Download lenskit-data-structures

How to add to project

<!-- https://jarcasting.com/artifacts/org.grouplens.lenskit/lenskit-data-structures/ -->
<dependency>
    <groupId>org.grouplens.lenskit</groupId>
    <artifactId>lenskit-data-structures</artifactId>
    <version>3.0-T5</version>
</dependency>
// https://jarcasting.com/artifacts/org.grouplens.lenskit/lenskit-data-structures/
implementation 'org.grouplens.lenskit:lenskit-data-structures:3.0-T5'
// https://jarcasting.com/artifacts/org.grouplens.lenskit/lenskit-data-structures/
implementation ("org.grouplens.lenskit:lenskit-data-structures:3.0-T5")
'org.grouplens.lenskit:lenskit-data-structures:jar:3.0-T5'
<dependency org="org.grouplens.lenskit" name="lenskit-data-structures" rev="3.0-T5">
  <artifact name="lenskit-data-structures" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.grouplens.lenskit', module='lenskit-data-structures', version='3.0-T5')
)
libraryDependencies += "org.grouplens.lenskit" % "lenskit-data-structures" % "3.0-T5"
[org.grouplens.lenskit/lenskit-data-structures "3.0-T5"]

Dependencies

compile (5)

Group / Artifact Type Version
org.slf4j : slf4j-api jar 1.7.12
com.google.guava : guava jar 18.0
org.apache.commons : commons-lang3 jar 3.4
it.unimi.dsi : fastutil jar 7.0.7
com.google.code.findbugs : annotations jar 2.0.1

test (3)

Group / Artifact Type Version
junit : junit jar 4.11
org.grouplens.lenskit : lenskit-test jar 3.0-T5
org.hamcrest : hamcrest-library jar 1.3

Project Modules

There are no modules declared in this project.

LensKit

Build Status Windows build status Test coverage SonarQube test coverage SonarQube technical debt Coverity Scan Build Status Join the chat at https://gitter.im/lenskit/lenskit

Deprecation Notice: The Java implementation of LensKit is now deprecated. For new projects, use the Python version.

LensKit is an implementation of collaborative filtering algorithms and a set of tools for benchmarking them. This readme is about working with the LensKit source code. For more information about LensKit and its documentation, visit the web site or wiki. You can also find information on the wiki about how to use LensKit without downloading the source code. If this is your first time working with LensKit we recommend checking out the Getting Started guide.

LensKit is made available under the MIT license; see LICENSE.md.

Installation and Dependency Management

LensKit is built and deployed with Gradle and publishes its artifacts to Maven Central. To install it to the local Maven repository, making it available to other projects using standard Java-based tools, check out this repository and run ./gradlew install; it is then available to other projects by depending directly on it in your Maven, Gradle, Ivy, or SBT project. The source code can also be checked out and used in most Java IDEs.

Working with the Code

To work with the LensKit code, import the Gradle project into your IDE. Most modern Java IDEs include support for Gradle, including IntelliJ IDEA (used by most LensKit developers), Eclipse, and NetBeans.

No other particular setup is needed.

Modules

LensKit is comprised of several modules. The top-level lenskit module serves as a container to build them and provide common settings and dependencies. The other modules are as follows:

  • lenskit-api -- the common, public recommender API exposed by LensKit, independent of its actual implementations.
  • lenskit-test -- infrastructure and helper code for testing.
  • lenskit-core -- the core support code and configuration facilities for the rest of LensKit. It is the entry point for most of what you want to do with LensKit, providing support for configuring and building recommenders.
  • lenskit-knn -- k-NN recommenders (user-user and item-item collaborative filtering).
  • lenskit-svd -- the FunkSVD recommender (and eventually real SVD recommenders).
  • lenskit-slopeone -- Slope-One recommenders.
  • lenskit-eval -- the evaluation framework and APIs, along with a command line evaluation runner.
  • lenskit-groovy -- support for reading LensKit configurations from Groovy files.
  • lenskit-all -- a metapackage you can depend on to pull in the rest of the LensKit packages.
  • lenskit-cli -- the LensKit command line interface.
  • lenskit-gradle -- the Gradle plugin to script the LensKit evaluator
  • lenskit-integration-tests -- additional integration tests for LensKit.

Running the Tests

After you make changes, it's good to run the unit tests. You can run many of them from your IDE; run all tests in the org.grouplens.lenskit package (and subpackages) across all modules.

To run the full test suite, including data-driven unit tests and integration tests, use Gradle:

$ ./gradlew check

Copyright

LensKit is under the following copyright and license:

Copyright 2014-2017 LensKit Contributors. Copyright 2010-2014 Regents of the University of Minnesota Work on LensKit has been funded by the National Science Foundation under grants IIS 05-34939, 08-08692, 08-12148, and 10-17697.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Contributing to LensKit

We welcome contribution to LensKit. If you are looking for something to work on, we recommend perusing the open tickets on GitHub or asking on the mailing list.

We prefer to receive code submissions as GitHub pull requests. To do this:

  1. Fork the LensKit repository (lenskit/lenskit) on GitHub
  2. Push your changes to your fork
  3. Submit a pull request via the GitHub web interface

For additional details, including legal maters, please see CONTRIBUTING.md.

org.grouplens.lenskit

GroupLens Research

Versions

Version
3.0-T5
3.0-T4
3.0-T3
3.0-T2
3.0-T1
2.2.1
2.2
2.2-M4
2.2-M3
2.2-M2
2.2-M1
2.1.0.1
2.1
2.1-M4
2.1-M3
2.1-M2
2.1-M1
2.0.5
2.0.4
2.0.3.2
2.0.3.1
2.0.3
2.0.2
2.0.1
2.0
2.0-M2
2.0-M1
1.3
1.2
1.1
1.0.2
1.0.1
1.0
1.0-M1
0.11
0.10
0.9
0.8.1
0.8
0.7