-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
452c794
commit c8ba5cc
Showing
24 changed files
with
235 additions
and
47,147 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
1,251 changes: 0 additions & 1,251 deletions
1,251
Jupyter_Notebook_J_Examples/TfIdf_Cosine_Similarity.ipynb
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,35 @@ | ||
# jkernel | ||
# Jupyter Notebook jkernel | ||
|
||
The jkernel is a Jupyter Notebook / J Integration. | ||
|
||
It is based on the same code as [qjide](http://www.github.com/martin-saurer/qjide). | ||
The jkernel is a J programming language integration for the [Jupyter Notebook](http://jupyter.org). | ||
|
||
## Prerequisites | ||
|
||
* [Jupyter Notebook](http://jupyter.org) Version 4.0.6 (or greater). Recommended: [Anaconda from Continuum Analytics](https://www.continuum.io/downloads) | ||
|
||
* A working [J 804](http://www.jsoftware.com) installation | ||
|
||
## Installation | ||
|
||
### Kernel | ||
|
||
Copy the directory "jkernel" to your anaconda installation folder: | ||
|
||
* Mac OS X: \<anaconda-installation-folder\>/lib/python3.5/site-packages/ | ||
|
||
* Linux: \<anaconda-installation-folder\>/lib/python3.5/site-packages/ | ||
|
||
* Windows: \<anaconda-installation-folder\>\\Lib\\site-packages\\ | ||
|
||
### Kernel Configuration | ||
* [Jupyter Notebook](http://jupyter.org) Version 4.x (or greater). | ||
|
||
* Edit qjide.cfg to specify your J installation folder | ||
* Recommended: [Anaconda from Anaconda Inc.](https://www.anaconda.com/downloads) | ||
|
||
* Edit qjide.cfg to specify your J binaries folder, especially on Arch Linux, where libj.so goes to /usr/lib/j8/bin | ||
* Or: [Miniconda](https://conda.io/miniconda.html) (Jupyter must be installed manually) | ||
|
||
### Kernel Definition | ||
* A working [J 807](http://www.jsoftware.com) (or greater) (successfully tested on J807 + J901beta) installation | ||
|
||
Copy the directory "jkernel" under \<repository\>/kernel_definition/ to: | ||
## Installation / Uninstallation / Installation Check | ||
|
||
* Mac OS X: \<anaconda-installation-folder\>/share/jupyter/kernels/ | ||
* python setup<span></span>.py **install** | ||
|
||
* Linux: \<anaconda-installation-folder\>/share/jupyter/kernels/ | ||
* python setup<span></span>.py **uninstall** | ||
|
||
* Windows: \<anaconda-installation-folder\>\\share\\jupyter\\kernels\\ | ||
* python setup<span></span>.py **check** | ||
|
||
### Syntax Highlighting | ||
## Examples | ||
|
||
Copy the file "J.js" under \<repository\>/syntax/ to: | ||
The sub-directories **Jupyter_Notebook_J_Labs** and **Jupyter_Notebook_J_Examples** contain some example notebooks. | ||
|
||
* Mac OS X: \<anaconda-installation-folder\>/lib/python3.5/site-packages/notebook/static/components/codemirror/mode/J/J.js | ||
|
||
|
||
* Linux: \<anaconda-installation-folder\>/lib/python3.5/site-packages/notebook/static/components/codemirror/mode/J/J.js | ||
|
||
|
||
* Windows: \<anaconda-installation-folder\>\\Lib\\site-packages\\notebook\\static\\components\\codemirror\\mode\\J\\J.js | ||
|
||
### Examples | ||
|
||
The sub-directory examples contains some examples using Jupyter Notebook with the jkernel. | ||
|
||
You may copy the .ipynb files to any location you wish. | ||
|
||
Plase copy the sub-directory jupyter_examples to your J user folder. | ||
The sub-directory **Jupyter_Notebook_J_Example_Data** should be copied to the J user directory to run the example notebooks in **Jupyter_Notebook_J_Examples**. | ||
|
||
## Run | ||
|
||
Run: **jupyter notebook** (from the command line) | ||
|
||
Or: Use the anaconda launcher, and start "ipython-notebook" | ||
Run: **jupyter lab** (from the command line) | ||
|
||
Or: Use the anaconda launcher, and start **ipython-notebook** |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.