Giter Club home page Giter Club logo

retailbox's Introduction


RetailBox

🛍️ Machine Learning eCommerce Recommender System

Overview

RetailBox is a recommender system that uses machine learning to make recommendations based off of a user's past purchase history. This project was inspired by Amazon and their recommender system techology. In this system we use Collaborative Filtering based off of implicit user data.

Dataset

The dataset we used is the UCI Online Retail Dataset. This dataset has 25900 transactions, with each transaction containing 20 features and these transactions were made by 4,300 users.

Training/Test Split

The way we split the data was by time. In this scenario, our system makes recommendations based on implicit user data from the past so this is how we split our data.

Context of Recommendation Scenario

In this recommender system, the context we used can be seen by the diagram below. Our main model to generate recommendations for a user and if a user bought an item our system recommended, then it was a success!

Installation

pip install retailbox

CLI

$ retailbox --help

  🛍️ Machine Learning eCommerce Recommender System

  Usage
    $ retailbox [<options> ...]

  Options
    --help, -h                Display help message
    --search, -s              Search customer by ID [Can be any integer 0-4338]
    --customer, -c <int>      Input customer ID [Can be any integer 0-4338]
    --info, -i                Display customer information
    --status, -s              Display process info
    --list, -l                List available customer IDs
    --version, -v             Display installed version

  Examples
    $ retailbox --help
    $ retailbox --search
    $ retailbox --customer 1028
    $ retailbox -c 1028
    $ retailbox -m 1028 --info
    $ retailbox -m 1028 -i --status

Usage

from retailbox.recommender import recommender

customer = 2874  # Customer ID
status = True   # Display status information of program while running

# Generate recommendations
recommender(
    customer_id=customer,
    status=status)

References

Attribution and Inspiration

Contributing

Contributions are always welcome! For bug reports or requests please submit an issue..

License

MIT

retailbox's People

Contributors

moebg 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.