regressor
BatchRegressor
Bases: object
BatchRegressor performs singular value decomposition (SVD) on the provided time series data xs
and uses the resulting left singular vectors to compute the regression of polynomial features.
Source code in src/ipc_module/regressor.py
__init__(xs, offset=1000, debias=True, normalize=False, threshold_mode='linear')
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
xs
|
ndarray
|
Time series data with shape [*batch_shape, T, D]. |
required |
offset
|
int
|
Offset applied to the time series data. |
1000
|
debias
|
bool
|
Removes the mean from the data if set to True. |
True
|
normalize
|
bool
|
Scales the data to unit variance if set to True. |
False
|
threshold_mode
|
str
|
Determines the singular value thresholding mode, either 'linear' or 'sqrt'. |
'linear'
|
Notes
BatchRegressor is used inside UnivariateProfiler and is not intended to be used directly by users.
The behavior of the regressor can be specified when you create an instance of UnivariateProfiler.