Comments (3)
After careful consideration, we think that the likelihood must be maximized again when having new data. There is no straight-forward way to recycle the old likelihood and update it with new data.
However, as a work-around, we added the argument init
to fit_model()
, which can be the estimate of a previously fitted model. Using such an initial value will result in a much faster convergence of the numerical optimizer.
Hence, a typical workflow for you can look like follows: Estimate a first model. With new data, estimate a model again, but specify the init
argument for fit_model()
with the estimate of the previous model. It is saved at model$estimate
. You may want to reduce the number of optimization runs in controls
then.
from fhmm.
This is not implemented yet but will be considered for the next update. Until then, you are right, the only (but very inefficient) way is to manually add new data points and estimate the model again. Thanks for pointing this out!
from fhmm.
Great,I will wait for update than :)
from fhmm.
Related Issues (20)
- Flowchart with brackets
- `coef` function for model coefficients
- Check if data file is importable HOT 1
- Lookahead bias ? HOT 2
- Document `fHMM_data` HOT 1
- Document `fHMM_model` HOT 1
- Allow for `data.frame` argument to `set_controls()` HOT 1
- Hello, about legends of hierarchy HMM plots. HOT 1
- How to obtain the probability transition matrix and emission matrix of hidden states? HOT 3
- Error when specifying `states = 5` HOT 4
- Implement Poisson state-dependent distribution
- Update `download_data()`
- Strange error in `set_controls()` HOT 1
- Strange error in `prepare_data()` HOT 1
- feeback / ideas for future improvments HOT 3
- Fix package overview help file
- Error when running examples HOT 3
- period="m" not work properly when fitting HHMM model HOT 2
- Moving beyond daily data
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fhmm.