Code Monkey home page Code Monkey logo

py-archaeology's Introduction

Py-Archaeology

The contents of this repo are designed as a classic example of "well, it works on my laptop" data science.

  1. Fork the repo, so you have your own space to work.

  2. Get the notebook running! You have a couple of options here - you can try to get the notebook running locally on your machine, or you can go straight ahead and get it running on OpenShift. (Remember, on OpenShift any changes you make to the notebooks or environment will not be saved unless you push them back to your git repo before spinning down the notebook pod.)

  3. Create a notebook image containing all the dependencies for the notebook.

    • When creating a custom notebook image, you need to point to a git directory which the s2i build can run against. The directory needs to contain a requirements.txt file and any notebooks and data you want to appear in your image.
    • See here for an example of building a notebook image.
    • Hint: Try building on the jupyter minimal notebook image - You'll first have to add this image to your OpenShift project.
  4. Add the image to the JupyterHub launcher in the Open Data Hub, and run the notebook.

  5. Use this s2i builder to create a model service running on OpenShift. (You might have to change the structure or output of the notebook).

    • The pipeline is already installed in your OpenShift project
      • See here and here for examples of a git repos which work with this pipeline.
  6. Use the model service to make predictions. (Take a look at the 'Pipelines' notebooks in the two repos listed in Step 5 to see examples of how to interact with the model service.)

  7. Use Prometheus to monitor the model's predictions.

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.