Code Monkey home page Code Monkey logo

cheapest-phone-call's Introduction

cheapest-phone-call

Small challenge to find the best phone operator to use based on call price

Methodology

  • We'll be using Python as programing language as it is pretty straightforward to build a fast prototype of the solution, and also as it offers many libraries aimed at making large datasets manipulation easier (pandas, numpy, ...)

  • We'll be using a Jupyter notebook in order to have a maximum of ergonomy and a beautiful visual presentation. Also, there will be no need to download or re-run the code as the results is already displayed in the notebook.

  • Unit Testing will be done within the same notebook, in separated cells to show directly that everything runs as expected.

  • In case we want to have a production-ready prototype that deals with larger datasets, one of the best choices I propose is to use Apache Spark with the Scala API, as it is especially aimed for Big Data, and because it runs on the JVM.

How To

  • $ git clone https://github.com/redouane-dev/cheapest-phone-call.git
  • $ cd cheapest-phone-call
  • Create a virtual environment to avoid dealing with dependency issues and conflicts : $ virtualenv -p python3 venv
  • $ source ./venv/bin/activate. You'll start seeing a (venv) before the shell prompt.
  • (venv) $ pip install -r requirements.txt in order to install all the requirements.

Now you should be all set to run the notebook

  • (venv) $ jupyter notebook prototyping.ipynb

cheapest-phone-call's People

Contributors

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