All Projects → Calysto → Matlab_kernel

Calysto / Matlab_kernel

Licence: other
Jupyter Kernel for Matlab

Projects that are alternatives of or similar to Matlab kernel

Optunity
optimization routines for hyperparameter tuning
Stars: ✭ 362 (-2.95%)
Mutual labels:  jupyter-notebook
Integrated Gradients
Attributing predictions made by the Inception network using the Integrated Gradients method
Stars: ✭ 365 (-2.14%)
Mutual labels:  jupyter-notebook
Covid19pt Data
😷️🇵🇹 Dados relativos à pandemia COVID-19 em Portugal
Stars: ✭ 362 (-2.95%)
Mutual labels:  jupyter-notebook
Sdv
Synthetic Data Generation for tabular, relational and time series data.
Stars: ✭ 360 (-3.49%)
Mutual labels:  jupyter-notebook
Easy Deep Learning With Keras
Keras tutorial for beginners (using TF backend)
Stars: ✭ 367 (-1.61%)
Mutual labels:  jupyter-notebook
Pyfolio
Portfolio and risk analytics in Python
Stars: ✭ 4,167 (+1017.16%)
Mutual labels:  jupyter-notebook
Advanced Tensorflow
Little More Advanced TensorFlow Implementations
Stars: ✭ 364 (-2.41%)
Mutual labels:  jupyter-notebook
Python Course
Tutorial and introduction into programming with Python for the humanities and social sciences
Stars: ✭ 370 (-0.8%)
Mutual labels:  jupyter-notebook
Carnd Vehicle Detection
Vehicle detection using YOLO in Keras runs at 21FPS
Stars: ✭ 367 (-1.61%)
Mutual labels:  jupyter-notebook
Handson Unsupervised Learning
Code for Hands-on Unsupervised Learning Using Python (O'Reilly Media)
Stars: ✭ 369 (-1.07%)
Mutual labels:  jupyter-notebook
Tts
🐸💬 - a deep learning toolkit for Text-to-Speech, battle-tested in research and production
Stars: ✭ 305 (-18.23%)
Mutual labels:  jupyter-notebook
Nerf pl
NeRF (Neural Radiance Fields) and NeRF in the Wild using pytorch-lightning
Stars: ✭ 362 (-2.95%)
Mutual labels:  jupyter-notebook
D2l Pytorch
This project reproduces the book Dive Into Deep Learning (https://d2l.ai/), adapting the code from MXNet into PyTorch.
Stars: ✭ 3,810 (+921.45%)
Mutual labels:  jupyter-notebook
Sagemaker Deployment
Code and associated files for the deploying ML models within AWS SageMaker
Stars: ✭ 361 (-3.22%)
Mutual labels:  jupyter-notebook
Tf 2.0 Hacks
Contains my explorations of TensorFlow 2.x
Stars: ✭ 369 (-1.07%)
Mutual labels:  jupyter-notebook
Kaggle titanic
the data and ipython notebook of my attempt to solve the kaggle titanic problem
Stars: ✭ 363 (-2.68%)
Mutual labels:  jupyter-notebook
Audionotebooks
Collection of notebooks and scripts related to audio processing and machine learning.
Stars: ✭ 366 (-1.88%)
Mutual labels:  jupyter-notebook
Deep Learning Illustrated
Deep Learning Illustrated (2020)
Stars: ✭ 372 (-0.27%)
Mutual labels:  jupyter-notebook
Causal Inference Tutorial
Repository with code and slides for a tutorial on causal inference.
Stars: ✭ 368 (-1.34%)
Mutual labels:  jupyter-notebook
Fbrs interactive segmentation
[CVPR2020] f-BRS: Rethinking Backpropagating Refinement for Interactive Segmentation https://arxiv.org/abs/2001.10331
Stars: ✭ 366 (-1.88%)
Mutual labels:  jupyter-notebook

A Matlab kernel for Jupyter

Prerequisites

Install Jupyter Notebook <http://jupyter.readthedocs.org/en/latest/install.html>_ and the Matlab engine for Python <https://www.mathworks.com/help/matlab/matlab-engine-for-python.html>_.

Installation

Install using::

$ pip install matlab_kernel

or pip install git+https://github.com/Calysto/matlab_kernel for the dev version.

To use the kernel, run one of::

$ jupyter notebook
# In the notebook interface, select Matlab from the 'New' menu
$ jupyter qtconsole --kernel matlab
$ jupyter console --kernel matlab

To remove from kernel listings::

$ jupyter kernelspec remove matlab

Configuration

The kernel can be configured by adding an matlab_kernel_config.py file to the jupyter config path. The MatlabKernel class offers plot_settings as a configurable traits. The available plot settings are: 'format', 'backend', 'width', 'height', and 'resolution'.

.. code:: bash

cat ~/.jupyter/matlab_kernel_config.py
c.MatlabKernel.plot_settings = dict(format='svg')

Troubleshooting

Kernel Times Out While Starting

If the kernel is not starting, try running the following from a terminal.

.. code:: shell

  python -m matlab_kernel.check

Please include that output if opening an issue.


Kernel is Not Listed
~~~~~~~~~~~~~~~~~~~~
If the kernel is not listed as an available kernel, first try the following command:

.. code:: shell

    python -m matlab_kernel install --user

If the kernel is still not listed, verify that the following point to the same
version of python:

.. code:: shell

    which python  # use "where" if using cmd.exe
    which jupyter


Additional information
----------------------

The Matlab kernel is based on `MetaKernel <http://pypi.python.org/pypi/metakernel>`_,
which means it features a standard set of magics.  For a full list of magics,
run ``%lsmagic`` in a cell.

A sample notebook is available online_.

A note about plotting.  After each call to Matlab, we ask Matlab to save any
open figures to image files whose format and resolution are defined using the
``%plot`` magic.  The resulting image is shown inline in the notebook.  You can
use ``%plot native`` to raise normal Matlab windows instead.


Advanced Installation Notes
---------------------------

We automatically install a Jupyter kernelspec when installing the python package. This location can be found using ``jupyter kernelspec list``. If the default location is not desired, you can remove the directory for the octave kernel, and install using ``python -m matlab_kernel install``. See ``python -m matlab_kernel install --help`` for available options.

It has been reported that Matlab version 2016b works fine. However, Matlab 2014b does not work with Python 3.5.

.. _online: http://nbviewer.ipython.org/github/Calysto/matlab_kernel/blob/master/matlab_kernel.ipynb


Development
~~~~~~~~~~~

Install the package locally::

    $ pip install -e .
    $ python -m matlab_kernel install

As you make changes, test them in a notebook (restart the kernel between changes).

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