All Projects → hayatoy → Cloudml Magic

hayatoy / Cloudml Magic

Licence: mit
Jupyter Notebook Magics for Google Cloud ML Engine

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Cloudml Magic

Medium Article
Repo for articles in my personal blog and Medium
Stars: ✭ 28 (-51.72%)
Mutual labels:  google-cloud-platform, jupyter-notebook
Sc17
SuperComputing 2017 Deep Learning Tutorial
Stars: ✭ 211 (+263.79%)
Mutual labels:  google-cloud-platform, jupyter-notebook
Data Science At Scale
A Pythonic introduction to methods for scaling your data science and machine learning work to larger datasets and larger models, using the tools and APIs you know and love from the PyData stack (such as numpy, pandas, and scikit-learn).
Stars: ✭ 58 (+0%)
Mutual labels:  jupyter-notebook
C3d
C3D is a modified version of BVLC caffe to support 3D ConvNets.
Stars: ✭ 1,097 (+1791.38%)
Mutual labels:  jupyter-notebook
Louplus Ml
实验楼 《楼+ 机器学习实战》课程挑战作业参考答案 https://www.shiyanlou.com/louplus/ml
Stars: ✭ 58 (+0%)
Mutual labels:  jupyter-notebook
Modellogger.github.io
Model-Logger is a Python library for storing model's profile and rapid inter model comparison.
Stars: ✭ 58 (+0%)
Mutual labels:  jupyter-notebook
Jupyter Rise
Auto-launching the RISE plugin for Binder presentations.
Stars: ✭ 58 (+0%)
Mutual labels:  jupyter-notebook
Iocamljs
An OCaml javascript kernel for the IPython notebook
Stars: ✭ 57 (-1.72%)
Mutual labels:  jupyter-notebook
Cs231n.github.io
Public facing notes page
Stars: ✭ 8,590 (+14710.34%)
Mutual labels:  jupyter-notebook
Mlkatas
A series of self-correcting challenges for practicing your Machine Learning and Deep Learning skills
Stars: ✭ 58 (+0%)
Mutual labels:  jupyter-notebook
Big Mac Data
Data and methodology for the Big Mac index
Stars: ✭ 1,095 (+1787.93%)
Mutual labels:  jupyter-notebook
Posts
A repository for code accompanying my Medium posts.
Stars: ✭ 57 (-1.72%)
Mutual labels:  jupyter-notebook
Darter
🕵️ Dart / Flutter VM snapshot analyzer
Stars: ✭ 57 (-1.72%)
Mutual labels:  jupyter-notebook
Pyspark Examples
Code examples on Apache Spark using python
Stars: ✭ 58 (+0%)
Mutual labels:  jupyter-notebook
Deep learning bootcamp
All the learning material for deep learning bootcamp can be found in this repository
Stars: ✭ 58 (+0%)
Mutual labels:  jupyter-notebook
A journey into math of ml
汉语自然语言处理视频教程-开源学习资料
Stars: ✭ 1,094 (+1786.21%)
Mutual labels:  jupyter-notebook
Mindspore Nlp Tutorial
Natural Language Processing Tutorial for MindSpore Users
Stars: ✭ 58 (+0%)
Mutual labels:  jupyter-notebook
Regex In Python
A comprehensive guide for learning regular expressions using Python
Stars: ✭ 58 (+0%)
Mutual labels:  jupyter-notebook
Tf Wavenet vocoder
Wavenet and its applications with Tensorflow
Stars: ✭ 58 (+0%)
Mutual labels:  jupyter-notebook
Fraud Detection
Credit Card Fraud Detection using ML: IEEE style paper + Jupyter Notebook
Stars: ✭ 58 (+0%)
Mutual labels:  jupyter-notebook

cloudml-magic

cloudml-magic is a Jupyter Notebook Magics for interactively working with Google Cloud Machine Learning Engine. Your Tensorflow or Keras code on Notebook will run on ML Engine, just by running cells.

diagram

Prerequisites

Before you begin, prepare Google Cloud Platform project, enable billing and install Google Cloud SDK.

Also this magics use Application Default Credentials. To activate the credentials, enter

gcloud auth application-default login

Installation

To install this magics

pip install cloudmlmagic

To use this magics, enter the following command in your notebook.

in [1]: %load_ext cloudmlmagic

That's it!

How to use

%ml_init

This magic initializes your cloud ml job request. Do NOT forget to initialize before adding code or run.

Example:

in [2]: %ml_init -projectId PROJECTID -bucket BUCKET -region us-central1 -scaleTier BASIC -runtimeVersion 1.2

Install external libraries

If you want to run codes with external libraries like Keras, h5py, add following dict below the %ml_init magic.

{'install_requires': ['keras', 'h5py', 'Pillow']}

%ml_code

This magic adds the block into uploading package.

%ml_run

To run a training job, add this magic on your code block.

Run on local Machine
Do not add this magic, or add %ml_run

Run on Cloud ML Engine
add %ml_run cloud

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].