Open SiddharthMetta opened 3 years ago
It's definitely possible for fitting to be slower with warm-starting. As discussed in the docs, if there is a large change to the data, then the state of the last model may be a poor initialization to the new model, and you would be better off just using the not-warm-started default initialization. It really just depends on how close the parameters of m1 are to the optimal parameters of m2.
For predict, whether or not the model was warm-started should make no difference to predict time. If you're seeing this, I'd be interested if you could create a reproducible example using %timeit
like in the docs on warm starting. The only way predict time could be affected is if warm-starting causes the model fitting to converge to a different set of parameters and something about those parameters makes the predict slower, but I don't think that is especially likely.
Working on weekly data to predict for the next 1 week and I observed that warm-start takes more time to predict (and even fitting at times).? Is it normal or something to do with the code or data?