Giter Site home page Giter Site logo

nhojpatrick / jenkinsci_machine-learning-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jenkinsci/machine-learning-plugin

0.0 2.0 0.0 708 KB

A Jenkins plugin that helps to ease the Machine Learning workflow .

License: MIT License

Java 80.89% HTML 8.86% Jupyter Notebook 9.35% Dockerfile 0.90%

jenkinsci_machine-learning-plugin's Introduction

Machine Learning Plugin

Build Contributors Gitter

jenkins machine learning logo

Overview

The main goal of this project is integrating Machine Learning workflow including Data preprocessing, Model Training, Evaluation and Prediction with Jenkins build tasks. This plugin is capable of executing code fragments via IPython kernel as currently supported by Jupyter.

Usage

Prerequisites

  • Following python libraries are required. If not โ†’ install using,

pip install jupyter
pip install protobuf
pip install grpcio
  • For Anaconda environment need to install grpcio as Jupyter is already included in anaconda. For grpcio version >= 1.12 and need to install protobuf separately.

pip install protobuf
pip install grpcio

DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained.

Configure IPython kernel

  • Kernel language name (Eg: python, ir, javascript etc)

  • Language should be alphanumeric and contains only _ as a special character (Optional)

  • Connection establishing timeout in seconds

  • Max number of data frames in rows

configuration

Add Jupyter Notebooks

  • Copy Jupyter Notebook to the workspace

  • Convert Jupyter Notebooks to Python / JSON files and save in the workspace

notebook

Build Notebook

  • Choose a name for the Machine Leaning task folder (Eg: Training)

  • Choose the language kernel

  • Use text editor to run code directly

  • Use file path to run Jupyter Notebook or script file

builder

  • Tips for smooth interpretation

    • Install ANSI-Color plugin for rich formatted output

    • Aware of permissions for accessing I/O in the python code

    • Make sure about import libraries used in the code installed properly

    • If there is any HTML/Images as outputs, all will be saved in the workspace under the Machine Leaning task folder

Images and HTMLs

Images and HTMLs in the notebook will be saved in the workspace. Those artifacts can be viewed using the action in the left side panel.

image_and_htmls

Troubleshooting

If you are having trouble viewing the HTML files saved, check your browser console to see if there are any errors about Content Security Policy. This is often the problem. If you see the error above, then follow the link Resolve issues on CSP for instructions on how to resolve.

Contributing to the Plugin

Please refer to the following link for more details. See here .

jenkinsci_machine-learning-plugin's People

Contributors

loghijiaha avatar kinow avatar dependabot[bot] avatar notmyfault avatar xiongkezhi avatar

Watchers

James Cloos avatar  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.