astrazeneca / judgyprophet Goto Github PK
View Code? Open in Web Editor NEWForecasting for knowable future events using Bayesian informative priors (forecasting with judgmental-adjustment).
License: Apache License 2.0
Forecasting for knowable future events using Bayesian informative priors (forecasting with judgmental-adjustment).
License: Apache License 2.0
The docstring for judgyprophet.fit() states:
:param actuals: A pandas series of the actual timeseries to forecast.
It is assumed there are no missing data points,
i.e. x[1] is the observation directly following x[0], etc.
But I believe this argument should be named data
, not actuals
in the docstring. Thanks!
The docstring of judgyprophet.fit() states that the dict array fed into 'trend_events' argument only needs three values per dict:
:param trend_events: A list of dictionaries. Each dict should have the following entries
- 'index' the start index of the event (i.e. index = i assumes the start of the event
is at location actuals[i]). The index should be of the same type as the actuals index.
- 'm0' the estimated gradient increase following the event
- 'gamma' (Optional) the damping to use for the trend. This is a float between 0 and 1.
It's not recommended to be below 0.8 and must be 0 > gamma <= 1.
If gamma is missing from the dict, or gamma = 1, a linear trend is used (i.e. no damping).
But it actually needs 4 to work - the missing one being 'name'
.
The only need for this value currently is logging purposes (lines 1059 and 1085). Perhaps remove this argument from the logging, or add it as a forth key in the dictionary in the docstring?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.