Git Product home page Git Product logo

descriptive-stats-using-ci's Introduction

python-data-science-template-v2

Codespaces Prebuilds

Install

Format

Lint

Test


This project demonstrates the benifits of using Continuous Integration for Data Science projects. The CI pipeline ensures that code that is pushed to the main branch upholds code quality both in term of functionality and formatting. It also provdes a hosted environment which is equivalent to the local.

Code

The repo has the following code files:

  • main.py: Generates the descriptive statistics and plots, and stores them into the /output folder.
  • lib.py: Holds the library funtions that are shared between main.py and desc_stats.ipynb.
  • desc_stats.py: Prints out the descriptive stats and plots using the functions in lib.py.
  • test_lib.py: Testcases for the functions in lib.py.
  • test_main.py: Testcases for the functions in main.py.

Build

Run the following commands to setup the environment/run the code.

make install
make lint
make format
make test
make run

make run executes the main.py and stores the results in outputs directory.

Results

Distribution of Victim Ages

Descriptive statistics can be found here.

Demo

The demo for this project can be found here.

descriptive-stats-using-ci's People

Contributors

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