You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use skfda.ml.regression.LinearRegression for a functional linear regression task with TensorBasis. My functional data is defined on a 2D domain (time grid of hours and days). I used a TensorBasis consisting of a FourierBasis (for hours) and a BSplineBasis (for days) to represent my functional data. However, an error is raised during model fitting:
I would like to know if LinearRegression currently supports using TensorBasis? If it does, are there any specific configurations or settings required for it to work properly?
Thank you for your attention.
The text was updated successfully, but these errors were encountered:
If I am not mistaken, we do not currently support functions of several variables in the linear regression code. I think it should not be too hard to add support for it, but currently we do not have the bandwidth for implementing that feature.
I will leave the issue open, so that we do not lose track of this.
Hello,
I am trying to use
skfda.ml.regression.LinearRegression
for a functional linear regression task withTensorBasis
. My functional data is defined on a 2D domain (time grid of hours and days). I used a TensorBasis consisting of a FourierBasis (for hours) and a BSplineBasis (for days) to represent my functional data. However, an error is raised during model fitting:Here is a simplified example of my setup:
Error Message:
TypeError: LinearRegression._weighted_inner_product_integrate.<locals>.integrand() takes 1 positional argument but 2 were given
Environment:
scikit-fda version: [0.9.2.dev0]
Python version: [3.10.15]
I would like to know if LinearRegression currently supports using TensorBasis? If it does, are there any specific configurations or settings required for it to work properly?
Thank you for your attention.
The text was updated successfully, but these errors were encountered: