All Projects → andrewray → Iocaml

andrewray / Iocaml

Licence: mit
An OCaml kernel for the IPython notebook

Projects that are alternatives of or similar to Iocaml

Simclr
SimCLRv2 - Big Self-Supervised Models are Strong Semi-Supervised Learners
Stars: ✭ 2,720 (+1472.25%)
Mutual labels:  jupyter-notebook
18330
18.330 Introduction to Numerical Analysis
Stars: ✭ 171 (-1.16%)
Mutual labels:  jupyter-notebook
Dfp
Reinforcement Learning with Goals
Stars: ✭ 173 (+0%)
Mutual labels:  jupyter-notebook
Notebooks
Notebooks on how to use Distributed Evolutionary Algorithm in Python (DEAP)
Stars: ✭ 172 (-0.58%)
Mutual labels:  jupyter-notebook
Weibospider sentimentanalysis
借助Python抓取微博数据,并对抓取的数据进行情绪分析
Stars: ✭ 173 (+0%)
Mutual labels:  jupyter-notebook
Stata kernel
A Jupyter kernel for Stata. Works with Windows, macOS, and Linux.
Stars: ✭ 172 (-0.58%)
Mutual labels:  jupyter-notebook
Tensorflow 101
中文的 tensorflow tutorial with jupyter notebooks
Stars: ✭ 172 (-0.58%)
Mutual labels:  jupyter-notebook
Ipynb
Package / Module importer for importing code from Jupyter Notebook files (.ipynb)
Stars: ✭ 174 (+0.58%)
Mutual labels:  jupyter-notebook
Malware Misc Re
Miscellaneous Malware RE
Stars: ✭ 173 (+0%)
Mutual labels:  jupyter-notebook
Shared
Code and shared files
Stars: ✭ 171 (-1.16%)
Mutual labels:  jupyter-notebook
Iminuit
Jupyter-friendly Python interface for C++ MINUIT2
Stars: ✭ 172 (-0.58%)
Mutual labels:  jupyter-notebook
Manifold Flow
Manifold-learning flows (ℳ-flows)
Stars: ✭ 173 (+0%)
Mutual labels:  jupyter-notebook
Personal data science projects
Stars: ✭ 173 (+0%)
Mutual labels:  jupyter-notebook
Tutorials
This repository contains materials for demos, tutorials, and talks by Dato Inc.
Stars: ✭ 172 (-0.58%)
Mutual labels:  jupyter-notebook
Osvos Caffe
One-Shot Video Object Segmentation
Stars: ✭ 173 (+0%)
Mutual labels:  jupyter-notebook
Notes
CME211 Notes | Outline ->
Stars: ✭ 172 (-0.58%)
Mutual labels:  jupyter-notebook
Image generator
DCGAN image generator 🖼️.
Stars: ✭ 173 (+0%)
Mutual labels:  jupyter-notebook
Evolutionary Computation Course
Jupyter/IPython notebooks about evolutionary computation.
Stars: ✭ 173 (+0%)
Mutual labels:  jupyter-notebook
Deep Crowd Counting crowdnet
An independent implementation of "CrowdNet: A Deep Convolutional Network for Dense Crowd Counting"
Stars: ✭ 173 (+0%)
Mutual labels:  jupyter-notebook
Deep Math Machine Learning.ai
A blog which talks about machine learning, deep learning algorithms and the Math. and Machine learning algorithms written from scratch.
Stars: ✭ 173 (+0%)
Mutual labels:  jupyter-notebook

IOCaml logo

Build Status

IOCaml

IOCaml is an OCaml kernel for the IPython notebook. This provides a REPL within a web browser with a nice user interface including markdown based comments/documentation, mathjax formula and the possibility of generating all manner of HTML based output media from your code.

See also

This repository hosts the iocaml-kernel package.

Example picture

Installation

Installation requires opam and OCaml >= 4.01.0. To use the OCaml server

$ opam install iocaml

which will install the kernels and server. The individual kernels can be instaled with

$ opam install iocaml-kernel
$ opam install iocamljs-kernel

Running

Simply run iocaml from the command-line. This should automatically start the iocaml web interface and open a browser window

$ iocaml

When opening a new notebook,an iocaml-kernel process should be automatically started. For example enter let a = 12 + 30, hit ctrl-enter, and you should see the response val a : int = 42.

Note that starting up the kernel might take a while the first time, during which your input prompt will look like In [*].

Jupyter

The kernel can also be used with the IPython/Jupyter server.

Note: To use IOCaml with the latest IPython/Jupyter notebook, you'll need to start it with --Session.key='':

jupyter notebook --Session.key=''

This disables some security measures that iocaml doesn't yet support.

Command line options

The following options may be given to the IOCaml-kernel (via the IPython profile config) or IOCaml-server.

  • -log <filename> open log file
  • -init <file> load file instead of default init file
  • -completion enable tab completion
  • -object-info enable introspection

The following option is for use with IPython

  • -connection-file <filename> connection file name
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].