Recent Releases of https://github.com/aouyang1/go-forecaster

https://github.com/aouyang1/go-forecaster - v0.3.11

  • optimization on string building to reduce run time at inference (10x inference improvement)
  • prevent unnecessary buffering of time slice for rectangular window
  • add interface for event series

- Go
Published by aouyang1 6 months ago

https://github.com/aouyang1/go-forecaster - v0.3.10

  • performance improvements in reducing hopping around in memory to find the next feature slice to train on
  • added minimum uncertainty value to control minimum band width in cases that variance is non-existent and we still want some forgiveness
  • refactoring

- Go
Published by aouyang1 6 months ago

https://github.com/aouyang1/go-forecaster - v0.3.9

invert residual to represent y - yhat

- Go
Published by aouyang1 10 months ago

https://github.com/aouyang1/go-forecaster - v0.3.8

Refactored intercept to be a growth feature Helper method for custom seasonality

- Go
Published by aouyang1 11 months ago

https://github.com/aouyang1/go-forecaster - v0.3.7

add use_log in forecast options bug fix for estimating frequency with same counts better error handling

- Go
Published by aouyang1 11 months ago

https://github.com/aouyang1/go-forecaster - v0.3.6

Added Tukey window for smoother transitions into and out of an event window Refactored tests

- Go
Published by aouyang1 about 1 year ago

https://github.com/aouyang1/go-forecaster - v0.3.5

Removed unrolling of float operations to evaluate performance

- Go
Published by aouyang1 about 1 year ago

https://github.com/aouyang1/go-forecaster - v0.3.4

updated auto lasso to precompute data structures and reuse instead of redoing per lambda

- Go
Published by aouyang1 about 1 year ago

https://github.com/aouyang1/go-forecaster - v0.3.3

Improve lasso fit performance (~25-40%) by unrolling slice float operations by a factor of 4

- Go
Published by aouyang1 about 1 year ago

https://github.com/aouyang1/go-forecaster - v0.3.2

bug fix support for weekends and events on edge of training window with non-rectangle window function

- Go
Published by aouyang1 about 1 year ago

https://github.com/aouyang1/go-forecaster - v0.3.1

  • added auto lasso to pick best lambda regularization parameter and integrated with forecasting
  • refactored seasonality to support custom seasonality and removed daily and weekly params
  • include model events in table print
  • only check r2 score if positive or zero
  • update github actions to integrade with codecov.io
  • refactored to satisfy some sonarqube maintainability issues
  • moved forecast options into its own package
    • moved much of the feature generation logic tied to each option
  • event end time is now exclusive instead of inclusive

- Go
Published by aouyang1 about 1 year ago

https://github.com/aouyang1/go-forecaster - v0.3.0

  • moved changepoint and event under forecast package
  • added comments and tests for feature package and general test coverage

- Go
Published by aouyang1 about 1 year ago

https://github.com/aouyang1/go-forecaster - v0.2.11

  • added weekend buffer option to account for window methods on weekends
  • refactored time and signal generation into timedataset package
  • added complete tests for generating time/seasonality features
  • removing zero only features from training
  • use filtered changepoints when generating changepoint features
  • added more test coverage to forecast utils
  • added tests for event creation
  • refactored events to be a separate feature type
  • include event masks as part of the model

- Go
Published by aouyang1 about 1 year ago

https://github.com/aouyang1/go-forecaster - v0.2.10

Added custom window function for events and weekend modelling. Defaults to rectangular windowing, but may introduce some discontinuities as the weekend and event boundaries. Recommending to use Hann or FlatTop to start.

- Go
Published by aouyang1 about 1 year ago

https://github.com/aouyang1/go-forecaster - v0.2.9

Made both the iteration and tolerance Lasso parameters configurable for forecasting. This can be set independently for the series and uncertainty fit. These both have large impacts on fitting times where uncertainty fit may want a lower iteration count or more flexible tolerance e.g. series has 500 iterations with 1e-3 tolerance and uncertainty with 250 iterations with 1e-2 tolerance

- Go
Published by aouyang1 about 1 year ago

https://github.com/aouyang1/go-forecaster - v0.2.8

Added event seasonality adjustment. Can add arbitrary time ranges and helper methods to cover Thanksgiving and Christmas with buffer time before and after holidays.

- Go
Published by aouyang1 about 1 year ago

https://github.com/aouyang1/go-forecaster - v0.2.7

Added seasonality changepoints for modeling weekend changes. Options provide ability to change the offset of when to begin modeling the weekend.

- Go
Published by aouyang1 about 1 year ago

https://github.com/aouyang1/go-forecaster - v0.2.6

add option to account for behavioral time shifts based on daylight savings time (DST). This shifts the behavior by the specified time zone for timestamps that are in DST. In the presence of multiple time zones specified, the average time offset for a given time is used.

Example: Europe/London + America/Los_Angeles timezones * Pre 2024-10-27 - offset will be 1hr since both Europe and America is in DST * 2024-11-01 to 2024-11-03 will offset by 30min since Europe is out of DST and America is in DST * Post 2024-11-03 the offset be 0.

- Go
Published by aouyang1 over 1 year ago

https://github.com/aouyang1/go-forecaster - v0.2.5

  • handle nans in echarts
  • set min/max values for forecast results
  • PlotFit takes in an io.Writer

- Go
Published by aouyang1 over 1 year ago

https://github.com/aouyang1/go-forecaster - v0.2.4

  • fit result graphing improvements
    • marking when forecast horizon starts
    • fixed bug with time in graphing trend/seasonality/residual
    • added tooltip on hover
    • added x axis zooming
  • pin example series to minute
  • enable growth changepoint as a global option vs a per changepoint

- Go
Published by aouyang1 over 1 year ago

https://github.com/aouyang1/go-forecaster - v0.2.3

  • Add helper method to create future horizon time slice

- Go
Published by aouyang1 over 1 year ago

https://github.com/aouyang1/go-forecaster - v0.2.2

  • Bug fix where predicting horizons less than a week would evict weekly feature during inference
  • Allow for disabling the growth term in the changepoint feature

- Go
Published by aouyang1 over 1 year ago

https://github.com/aouyang1/go-forecaster - v0.2.1

  • simplified feature set structure
  • converted linear models to sklearn interface and use core gonum matrix as interface
  • added scoring to linear models and removed changepoints in residual examples
  • revised readme example code and added Score methods along with comments

- Go
Published by aouyang1 over 1 year ago

https://github.com/aouyang1/go-forecaster - v0.2.0

  • Renamed components of residual forecast to 'uncertainty' and included plotting of uncertainty series.
  • Implemented basic tests for forecast generation.
  • Displayed actual intercept in case of error.
  • Refactored signal generation.
  • Added support for tabular model outputs and reorganized forecaster options.
  • Refactored forecasting to merge flabels and coefficients into a single feature weights array.
  • Deprecated the Labels structure from the feature package.
  • Removed irrelevant features from the model post-training.

- Go
Published by aouyang1 over 1 year ago

https://github.com/aouyang1/go-forecaster - v0.1.5

Bug fixes: - fixed bug with changepoints included even outside of training window

Enhancements: - add train end date to saved model from series/residual - readme + .gitignore updates

- Go
Published by aouyang1 over 1 year ago

https://github.com/aouyang1/go-forecaster - v0.1.4

Bug fixes: - generate changepoint features anchored by the training end time

Enhancements: - return components when running predict

- Go
Published by aouyang1 over 1 year ago

https://github.com/aouyang1/go-forecaster - v0.1.3

  • Plot fit have a configurable horizon
  • Updated readme with examples and auto changepoint
  • Fixed auto changepoint and refactored changepoint generation
  • Support for nans in chart and set time window the same across all charts

- Go
Published by aouyang1 over 1 year ago

https://github.com/aouyang1/go-forecaster - v0.1.2 - bug fix for predict

Fixed bug in predict where the manual changepoints were filtered out during prediction.

- Go
Published by aouyang1 over 1 year ago

https://github.com/aouyang1/go-forecaster - v0.1.1 - more refactoring and changing input parameters to fit

  • more refactoring done
  • changed input parameters of Fit methods to remove an unnecessary copy of the inputs

- Go
Published by aouyang1 over 1 year ago

https://github.com/aouyang1/go-forecaster - v0.1.0 - fill out more documentation with refactor of feature package

Added documentation to remaining public methods/structs Refactored feature set, data, labels into the feature package Set a flag in forecast too indicate if the forecast has been trained yet, so we don't mistakenly panic on calling Predict before training

- Go
Published by aouyang1 over 1 year ago

https://github.com/aouyang1/go-forecaster - v0.0.5 - auto changepoint detection with more documentation

Added auto-changepoint detection. This is a costly process, so if the user knows where the series changes, that is the preferred route in terms of reducing training times as well as model size. By default auto-changepoint is not enabled.

Added documentation for the top level package forecaster

- Go
Published by aouyang1 over 1 year ago

https://github.com/aouyang1/go-forecaster - v0.0.4

Added more safeguards to the residual forecast. Ensure residual forecast is always >= 0.0.

- Go
Published by aouyang1 over 1 year ago

https://github.com/aouyang1/go-forecaster - v0.0.3

Renamed package to github.com/aouyang1/go-forecaster to be imported by other projects

- Go
Published by aouyang1 over 1 year ago

https://github.com/aouyang1/go-forecaster - v0.0.2 - save model and improved regression perf

  • ability to save off a serialized version of the model with weights, labels, scores
  • improved regression perf by 10x through delta computation and replaced matrix input with slice of slices

- Go
Published by aouyang1 over 1 year ago

https://github.com/aouyang1/go-forecaster - v0.0.1 - Initial release

Initial release of go-forecast

- Go
Published by aouyang1 over 1 year ago