Skip to content

A Moving Average based time-series data prediction

Notifications You must be signed in to change notification settings

JakubStiburek/predict

Repository files navigation

Predict

A sales predicting API

Dev

  • The app is dockerized, to run it execute docker compose up in its directory and docker compose down to stop the container
  • The app runs on port 4200
  • You can find the swagger/openAPI documentation on localhost:4200/api

Model

  • The prediction model is based on a simple moving average. This is commonly used to predict stock prices.
  • The model can be adjusted through 3 parameters:
    • window: the size of the moving average window, the lower this number is, the more the prediction will be affected by the most recent data.
    • adjustmentFactor: a factor to adjust the prediction, the higher the number, the more the model will be bold. In fact, it's just a multiplication factor.
    • forecast: the number of weeks to predict.

About

A Moving Average based time-series data prediction

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published