def METHOD_NAME(
    self,
    X: FData,
) -> NDArrayFloat:
    """Predict using the linear model.
    Args:
        X: Functional data.
    Returns:
        Target values.
    """
    check_is_fitted(self)
    X_transformed = FDataBasis(
        basis=self.fpca_basis,
        coefficients=self._fpca.transform(X),
    )
    return self._linear_model.METHOD_NAME(X_transformed)