Skip to content

nursimacelik/information-retrieval-hw3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Introduction to Information Retrieval - Homework 3

Book recommendation program.

  1. When you run for the first time, create a file listing Goodreads urls of books. This will be the dataset.
> python3 main.py
Enter a file path or url: my_url_list.txt

Running this way will dump two files: "matrix.pickle" and "vocabulary.json". You don't use these, they are necessary for further queries.

  1. For the query part, provide the url of a book.
> python3 main.py
Enter a file path or url: https://www.goodreads.com/book/show/3450744-nudge

Prints metadata of the book such as title, authors, description. Then recommends 18 books based on cosine similarity between their descriptions and genres. Also, evaluates the result by comparing our recommendations with recommended books in Goodreads. Prints precision and average precision.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages