remember_data
remember_data
- remember_data()[source]
Behaviour flag: whether the estimator remembers all data seen.
String name:
"remember_data"Public behaviour flag
Values: boolean,
True/FalseExample:
TrueDefault:
False(transformers),True(forecasters)
Developer tag that modifies behaviour of the boilerplate layer.
If set to
True, the estimator will remember all data seen, and store it internally in theself._Xand/orself._yattributes, inpd.DataFrameresp hierarchicalDataFrameformatspd-multiindexorpd_multiindex_hier, if hierarchical data is passed.This behaviour can be useful for models with incremental learning capabilities that require access to all previously seen data in their internal logic. Alternatively, the tag can also be useful for debugging.
If no
Xoryis passed to the estimator,self._Xandself._ywill be set toNone.Calls to
updatewill update the data stored in the internal attributes as well, usingpandasupdate operations.If the
remember_datatag is set toTrue, thefit_is_emptytag must beFalse, even if_fitis empty, because boilerplate writes toself._Xinfit.

