In the current version of TadGAN, we build the model with every fit call
When we can to continue training, we do not necessarily need to rebuild the model. To fix this issue, we can introduce a flag to indicate if/when to build the model
if build: self._augment_hyperparameters(X, y, kwargs) self._set_shapes() self._build_tadgan(**kwargs) self._fit(X, y)EDIT
Rather than using a build
parameter, make "rebuilding" a model not possible. If the user wishes to "rebuild" a model then they can create a new Orion instance.
Changes to reflect this is
if not self._fitted: self._augment_hyperparameters(X, y, kwargs) self._set_shapes() self._build_tadgan(**kwargs) self._fit(X, y) self._fitted = True
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4