Code Monkey home page Code Monkey logo

JGU WEKA REST Service

RESTful API web service to WEKA Machine Learning Algorithms

The JGU WEKA REST service provides an OpenRiskNet compliant REST interface to machine learning algorithms from the WEKA library. This web service is developed by the Institute of Computer Science at the Johannes Gutenberg University Mainz.

OpenRiskNet is funded by the European Commission GA 731075.

WEKA is developed by the Machine Learning Group at the University of Waikato.

Documentation, Issue Tracker and Code available at GitHub.

Quick start

The JGU WEKA REST service is based on the Swagger-UI and JAX-RS frameworks. The API is in OpenAPI Specification ver. 3.0.1

To run a local environment for exploring the web service, execute the following:

mvn clean package jetty:run

This will run the Swagger-UI based REST API web service on a local Jetty instance which can then be viewed at the following URI:

http://0.0.0.0:8081

To use the web service for modelling, etc., refer to the documents Docker Image Deployment and Docker Development Environment.

Usage with the curl command

POSTing a WEKA ARFF file to the web service and training a BayesNet based WEKA model using the curl command is done as follows:

curl -X POST -H "Content-Type: multipart/form-data" -H "Accept:text/x-arff" \
     -F "file=@/path/to/data/weather.nominal.arff;" -F "estimatorParams=0.5" \
     -F "searchAlgorithm=local.K2" -F "estimator=SimpleEstimator" \
     -F useADTree=0 -F searchParams='-P 1 -S BAYES' \
     http://0.0.0.0:8081/algorithm/BayesNet

Documentation

JGU Weka REST API's Projects

jguwekarest icon jguwekarest

RESTful API Webservice to WEKA Machine Learning Algorithms

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.