pyeeg.models.TRFEstimator.predict

TRFEstimator.predict(X)

Compute output based on fitted coefficients and feature matrix X.

Parameters:

X (ndarray) – Matrix of features (can be already lagged or not).

Returns:

Reconstruction of target with current beta estimates

Return type:

ndarray

Notes

If the matrix onky has features in its column (not yet lagged), the lagged version of the feature matrix will be created on the fly (this might take some time if the matrix is large).