Closed yngtdd closed 2 years ago
Hi @yngtdd , this is intended and is mainly for allowing chained calls such as model.fit(...).predict(...)
.
The model is still trained behind the scenes.
Oh! Sorry for the noise, I didn't realize that model was being trained!
Describe the bug After instantiating a
BayesianRidge
regression model within theRegressionModel
and callingfit
, the method is returning an instance ofself
without training. lt looks like theself._fit_model
method is not being called.To Reproduce
I found this when training a
BayesianRidge
regression model within the DartsRegressionModel
on my own data. I thought that I had missed something so I went back to try 00-quickstart.ipynb, and found that I can reproduce this behavior within that example. The particular part of that notebook that reproduces this:Returns:
Expected behavior The regression model should fit on the given series rather than returning an instance of
self
.System (please complete the following information):
3.9.10
0.18.0