GithubHelp home page GithubHelp logo

cybera / fellowship-iris-example Goto Github PK

View Code? Open in Web Editor NEW
2.0 4.0 1.0 4.15 MB

Example repo for demonstrating some workflow best practices (using the iris data)

Dockerfile 0.29% Jupyter Notebook 97.46% Python 2.25%

fellowship-iris-example's Introduction

iris-analysis

Sample or example repository demonstrating some good workflows when working with Git and Jupyter notebooks.

Accompanying presentation available: Slides

A detailed summary of the 'script' I followed when doing my code changes is made available in this markdown document.

Getting Started Instructions

Get Data and Start Docker Container:

git clone https://github.com/cybera/fellowship-iris-example.git
cd fellowship-iris-example
docker-compose up --build -d

Open web browser at localhost:8200.

Open text editor of your choice.

Docker Setup

Installation

Before proceeding further, please install Docker following the instructions provided in the link here for your choice of operating system.

Setup

From this project folder run the following command in your terminal to build and deploy the JupyterLab container:

docker-compose up --build

Use CTRL + C to stop JupyterLab and exit the docker container.

To run the container in detached mode add -d as follows:

docker-compose up --build -d

If you have successfully built and deployed the JupyterLab image container using either of the above commands, you can access the web interface of the JupyterLab at

http://localhost:8200

You might be prompted to enter the token while accessing the http://localhost:8200. The token can be obtained from the logs of the running JupyterLab container as follows.

docker logs <container-id>

To view the list of all the containers and get the container id of the JupyterLab, run

docker ps -a

Project Organization

Folder structure or organziation for this project:

├── README.md                       <- The top-level README for developers using this project.
├── .gitignore                      <- Ignores files that shouldn't go into git (e.g. ./data/).
│
├── report                          <- The final report, figures, and any reference materials.
│
├── docker-compose.yml              <- Container instructions used when running docker-compose.
├── docker
│   ├── Dockerfile                  <- Dockerfile for building container.
│   └── requirements.txt            <- Specifies additional python packages to install in container.
│
├── data
│   ├── processed                   <- The final, canonical data sets for modeling.
│   └── raw                         <- The original, immutable data dump. (make changes to copies only.)
│
├── models                          <- Trained and serialized models, model predictions, or model summaries.
│
├── notebooks                       <- Jupyter notebooks. Naming convention is a number (for ordering),
│                                      the creator's initials, and a short `-` delimited description.
│
└── scripts                   
     ├── data                       <- Scripts to download or generate data.
     ├── features                   <- Scripts to turn raw data into features for modeling.
     ├── models                     <- Scripts to train models and then use trained models to make.
     └── visualization              <- Scripts to create exploratory and results oriented visualizations.

You can regenerate similar on *nix systems using: $tree -a -I '.git|.gitkeep|__init__.py'

Project layout based on the cookiecutter data science project template. #cookiecutterdatascience

fellowship-iris-example's People

Contributors

zachattacksproblems avatar

Stargazers

 avatar Gideon Obasanmi avatar

Watchers

Barton Satchwill avatar Preethi Kumar avatar Byron Chu avatar  avatar

Forkers

baharehfa

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.