GithubHelp home page GithubHelp logo

wilkun / docker-data-amateur Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 49 KB

Demo code from "Docker for data amateur" presentation

License: GNU General Public License v3.0

Python 38.15% Shell 1.69% PowerShell 4.74% Jupyter Notebook 52.40% TSQL 3.02%

docker-data-amateur's Introduction

Booking prices analysis


Basic info:

Goal

Check the average prices in the given city and given area and check if the proposed limit is accurate.

Description:

To achieve the given goal the following steps has been made:

  1. Get hotel/apartments/etc (property) details and prices for given city for the same length of stay for different days
  2. Specify the office location and calculate the distance between the office and each property
  3. Analye the data and check the distribution of price per person per night
    • in total
    • excluding outliers (most luxurious properties)
    • for hotels only
    • for trusted properties only (with review score > 5)
    • for properties that are within the walking distance to the office
    • all together

Sample output

You can check the sample output visiting the following websites:

Code

  • Please remember to to update the sample_config.json file and to rename the file to config.json or any other name (just please verify if the config file name corresponds the config file name specifed in given docker-compose)
  • Make sure that the subnet is set up correctly for your machine. In case you are using docker-toolbox please verify with (docker-machine ip) or if running or any other linux please check with ifconfig
  • This code was tested on Windows 10 with docker-toolbox, Ubuntu linux VM and linux on QNAP and seems to be working fine on all similar environments

Final note

If you will find any issue or will have any question please create an issue or please send me an email ( [email protected] )
I am not a professional Python developer so I will be grateful for any comments :)

docker-data-amateur's People

Contributors

sdrzymala avatar seequality 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.