Coder Social home page Coder Social logo

estradafelipe / voucher_recommendation Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 51.6 MB

Shell 0.01% Python 95.74% PowerShell 0.02% C 1.14% Cython 2.82% Batchfile 0.01% Assembly 0.01% C++ 0.19% Fortran 0.05% Forth 0.01% Smarty 0.02% XSLT 0.01%

voucher_recommendation's Introduction

Voucher Recommendation

Objective

This project attempts to show the interplay between different frameworks in the field of data. The tools that are used in this project are:

  • Docker - containerisation and standardisation of processes
  • Postgres - Database to store data

This project uses Python, SQL and BASH.

Data Cleaning

The dataset was filtered and cleaned according to the following criteria:

  • Only entries holding the Peru country code were included
  • Entries with total_orders of 0 or null were discarded.
  • Entries with last_order_ts that took place before first_order_ts were discarded.
  • Entries with null voucher_amount were discarded.

Requirements

In order to run this project, Docker needs to be installed and running. Furthermore, ensure that the ports used in the docker-compose are not blocked by other processes you might already have running.

Steps to execute

The repository's root directory contains an executable quickstart.sh . While being in the root directory execute the following to initialise the project: ./quickstart.sh

The executable runs docker-compose, activate de venv, execute etl job and the API

API enpoints

A REST API is connected to the database and provides access to information via the following endpoints:

voucher_recommendation's People

Contributors

estradafelipe-meli avatar estradafelipe avatar

Watchers

 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.