Coder Social home page Coder Social logo

brianchevalier / core.matrix-examples Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 4 KB

This is a collection of examples using core.matrix and its implementations including numpy-clj

Home Page: https://mybinder.org/v2/gh/BrianChevalier/core.matrix-examples/main?urlpath=lab/tree/Notebooks

License: MIT License

Makefile 5.78% Jupyter Notebook 88.33% Shell 5.89%
clojupyter mybinder core-matrix clojure

core.matrix-examples's Introduction

core.matrix-examples

Binder

This is a collection of examples using core.matrix and its implementations. This provides a way to easily test out core.matrix implementations with no local installation via mybinder.org in a JupyterLab environment. Click the 'launch binder' badge above to start a temporary server.

Read on to learn more about how the environment is configured, although it's not necessary to use the examples.

Configuration

Several configuration files are used to describe the environment. Read more about them here. One additional dependency is the deps.edn file which specifies Clojure dependecies.

Python Dependencies

The Python dependencies are installed via conda and are listed in environment.yml which includes clojupyter, numpy, and scipy.

Installing Java & Clojure

Java is downloaded with apt-get and is listed in apt.txt. Clojure is installed using a downloaded script in postBuild. Note: postBuild actions are run under user and not root, so it is installed in a user directory (~/.local) without sudo.

Creating and Installing the Kernel

This repo uses clojupyter to create a new kernel using a deps.edn file to specify Clojure dependecies. If you'd like to change the deps.edn to bring in another Clojure library use the following to uninstall and reinstall the Clojupyter kernel. Make sure to reload the page and select the correct kernel (titled deps-edn).

make reinstall

Local Docker Container

You can use repo2docker to create a docker image to test binder environments locally. Use the following:

make docker

The configuration should automatically run make install to install a Clojupyter kernel with the deps.edn dependencies.

core.matrix-examples's People

Contributors

brianchevalier avatar

Stargazers

 avatar

Watchers

 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.