movielens

package
v0.0.0-...-2c1810d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2018 License: BSD-3-Clause Imports: 6 Imported by: 0

README

Movie Lens example

How to start?

  • download Movie Lens dataset, for example, the smallest
  • uncompress zip file and copy the ratings file to /tmp/
  • run locally: go run local/main.go -input /tmp/ratings
  • start Kafka and ZooKeeper, for example, using this Makefile
  • run with Kafka: go run kafka/main.go -input /tmp/ratings
  • see help message for details: go run local/main.go -h and go run kafka/main.go -h

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadRatings

func ReadRatings(fname string) []cofire.Rating

ReadRatings reads a Movie Lens file and returns a slice of ratings

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL