GithubHelp home page GithubHelp logo

micahstubbs / torrent Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 26.41 MB

a code notebook for the machine learning platform h2o-3

License: MIT License

Makefile 0.02% CSS 5.73% HTML 5.18% JavaScript 88.96% CoffeeScript 0.11% Shell 0.01%
machine-learning notebook algorithms data-science

torrent's Introduction

torrent ๐ŸŒŠ

torrent is a code notebook for the machine learning platform h2o-3. torrent combines code execution, text, mathematics, plots and rich media to build machine learning workflows.

torrent is written in es2015 Javascript. torrent uses the Pug templating engine (formerly known as Jade) to define HTML views and lay out pages. torrent uses the KnockoutJS Model-View-View-Model library for declarative data binding.

torrent contains a veritable heap of little embedded DSLs for reactive dataflow programming, markup generation, lazy evaluation and multicast signals/slots. torrent sandboxes and evaluates user-Javascript in the browser via static analysis and tree-rewriting. torrent's storytelling environment for exploratory data analysis & machine learning, features async, re-scriptable record/replay capabilities.

torrent is a fork of the h2o-flow project

install

user guide

there is a nice user guide for h2o-flow housed over in the h2o-3 repo that describes many features also found in torrent

dev setup

clone h2o-3 and torrent in the same parent directory.

it is best to run h2o-3 in the Java IDE IntelliJ IDEA. This enables you the developer to see your changes to torrent in the browser immediately after you run the npm run build command, without waiting the 90+ secods to build a new h2o.jar binary and run java -jar h2o.jar to restart h2o-3.

inside of IntelliJ IDEA:

  1. clean up all previous built files: cd h2o-3 && ./gradlew clean
  2. open the h2o-3 directory in IDEA, then build and launch H2OApp.java
  3. Run
cd torrent
npm install
npm run build

to install torrent's dependencies and create the torrent bundle. you can now access and debug torrent at http://localhost:54321/

  1. after each change you make to the torrent source code, run the command

npm run build

to copy your changes to the instance of h2o-3 running locally inside of IDEA

further instructions for setting up the h2o-3 project in IntelliJ IDEA are here

testing a new torrent feature with Sparkling Water

torrent can also be used with Sparkling Water
follow this guide develop and test new Sparkling Water features in torrent.
adapted from the comments on this PR h2oai/h2o-flow#13

copy built js files from one place to another

in the h2o-3 directory run:
cp h2o-web/src/main/resources/www/flow/js/* h2o-web/lib/h2o-flow/build/js/

build h2o-3

in the h2o-3 directory run:
./gradlew publishToMavenLocal -x test

build sparkling water

in sparkling-water directory run:
./gradlew clean build -x test -x integTest

open the Sparkling Water Shell

in sparkling-water directory run:
bin/sparkling-shell

in the sparkling water shell
at the scala> prompt run:
import org.apache.spark.h2o._
H2OContext.getOrCreate(sc)

now open torrent at the IP address specified
in the sparkling water shell

now test your changes in torrent

torrent's People

Contributors

micahstubbs avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

intentive

torrent's Issues

publish *h2o-torrent* on bower

so that it's easier to include with a custom h2o-3 build (right now we run an npm-script that overwrites some h2o-3 resources directories to accomplish this)

redesign frame output view

user feedback: "I never build custom Flows. I use Flow as a Frame and Model viewer only. Would like the model view to be less cluttered (move the buttons to the right side) like the Model view."

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.