Coder Social home page Coder Social logo

o1sims / jarima Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 5.0 1.48 MB

:chart_with_upwards_trend: Java implementation of Auto Autoregression Integrated Moving Average (Auto ARIMA) model

Dockerfile 0.61% Java 76.45% Shell 0.54% R 3.94% HTML 6.03% TypeScript 7.64% CSS 2.61% JavaScript 2.18%
arima java machine-learning r regression-models

jarima's People

Contributors

o1sims avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

jarima's Issues

Create initial Spring framework for conducting ARIMA functionality in RServe

Problem

Need to develop a Java application structure that provides an API to access the ARIMA function in R and return the results of the analysis.

Solution

Create a Dockerized application using Java Spring boot to call an instance of RServe running in another Docker container. The application needs to be able to consume an array of doubles and pass the array to the RServe instance with the call for auto.arima functionality.

The call should be in the following format:

final RConnection c = rServeSinkBroadcast.value().getRConnection();
final double[] scores = previousScores.stream().mapToDouble(Double::doubleValue).toArray();
c.assign("x", scores);
c.voidEval("dffv <- data.frame(forecast::forecast(forecast::auto.arima(x), 1))");
final Double hi95 = c.eval("dffv$Hi.95").asDouble();
final Double lo95 = c.eval("dffv$Lo.95").asDouble();

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.