Skip to content

Repository files navigation

Book price prediction On BookDepository

Created by Daniel Aviv & Omer Itach

This project is a final project for Introduction to data science course at Holon Institute of Technology

About

Book price prediction project is made under the guidelines of the ‘Introduction to data science’ course as a part of computer science bachelor studies. The goal of the project is to mainly predict the price of a book on the website, by using Linear Regression.

Project planing

  • Data acquisition using BeautifulSoup Python Library
  • crawling through the site and collecting all the features we needed, such as:
    • Title: name of the book.
    • Pages-count: number of pages.
    • Bestsellers-rank: rank in the best sellers book in the site.
    • Rating: the rating average rating of the book.
    • Author: the author of the book.
    • Back-type: the kind of the cover.
    • Price-ILS: the price of the book in shekels.
    • Width: the width of the book.
    • Height: the height of the book.
    • Thickness: the thickness of the book.
    • Weight: the weight of the book.
    • Top-categories: columns of the most frequent categories.

Data Cleansing

We wanted to focous on relevant books, and the site was selling also games and CD's So we managed to drop the irrelevant data we mentioned, and some duplications etc.

For example here we can see the number of pages fluctuate between 1 to 1000

alt text
and we removed over and under paged books.

Final Prediction

we used the traditional way of using Linear Regression,

Splitting the data to 20% test 80% train

image

Training the model

image

Prediction evaluation using R squared tool

image

About

Created by Daniel Aviv & Omer Itach

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages