Code Monkey home page Code Monkey logo

spring-boot-h2o's Introduction

spring-boot-h2o

Productionizing H2O with Spring Boot

Tools used for this sample project

  • IntelliJ IDEA
  • Java 8
  • Maven

Build

mvn clean install

Run

Using your IDE:

  • run main() in net.performetric.h2o.H2OApplication.java

OR

Using the .jar:

  • java -jar target/spring-boot-h2o-0.0.1-SNAPSHOT.jar

H2O REST API running at http://localhost:9090/

Score

H2O Titanic Service

curl --request POST \
  --url http://localhost:9090/h2o/titanic/score \
  --header 'content-type: application/json' \
  --data '{
	"pclass": 1.0,
	"sex": "female",
	"age": 22.0,
	"sibsp": 0.0,
	"parch": 2.0,
	"ticket": 13568.0,
	"fare": 49.5,
	"cabin": "B39",
	"embarked": "C",
	"boat": 5.0,
	"body": 0.0,
	"homeDest": "Zurich  Switzerland"
}'

Response

{
  "survived": true
}

spring-boot-h2o's People

Contributors

serafimpinto avatar

Stargazers

Nasser Kaze avatar Konstantin Grupp avatar Leonardo Silva avatar

Watchers

 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.