Code Monkey home page Code Monkey logo

recommender's Introduction

This program requires an input file with the following format:
User
Book Title
Book Author
Book rating

A sample input file is provided as ratings.txt

A sample output is as follows:

Welcome to the Book Recommender. Type the word in the
left column to do the action on the right.
recommend : recommend books for a particular user
best      : the book with the highest rating among all users
add       : add a new book
quit      : exit the program
next task? recommend
User? Leslie
Title: Naruto by Masashi Kishimoto, rating = 5
Title: The Lion the Witch and the Wardrobe by C S Lewis, rating = 5
Title: Bone Series by Jeff Smith, rating = 5
Title: Twilight Series by Stephenie Meyer, rating = 5
Title: My Sister's Keeper by Jodi Picoult, rating = 5
Title: The Golden Compass by Philip Pullman, rating = 5
Title: The Princess Diaries by Meg Cabot, rating = 5
Title: Inkheart by Cornelia Funke, rating = 5
Title: The Princess Bride by William Goldman, rating = 5
Title: The War Of The Worlds by H G Wells, rating = 5
next task? best
The highest rated book is:
Sabriel
with an overall score of 4.0
next task? add
user? Megan
title? Brave New World
author? Aldous Huxley
rating? 5
next task? quit

recommender's People

Contributors

cpaules avatar

Watchers

James Cloos 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.