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 used TPOTRegressor on my dataset, adding and removing features from the input data for different tests.
When using all 18 features of my 28 datapoints and sample_weight, TPOT fails to fit with a ValueError.
This doesn't happen when removing the sample_weight.
The error also doesn't happen in the same dataset using, for example, only 10 features of those 18, or in a different dataset with 8 features and 55 data points.
Process to reproduce the issue
I'm afraid i cannot share the data. This is a mockup of the code used:
I used TPOTRegressor on my dataset, adding and removing features from the input data for different tests.
When using all 18 features of my 28 datapoints and sample_weight, TPOT fails to fit with a ValueError.
This doesn't happen when removing the sample_weight.
The error also doesn't happen in the same dataset using, for example, only 10 features of those 18, or in a different dataset with 8 features and 55 data points.
Process to reproduce the issue
I'm afraid i cannot share the data. This is a mockup of the code used:
The same result is obtained when using
.values
on the pandas variables.Yields:
Expected result
Without using sample_weight:
Environment
OS: Windows 10
Python 3.10.5
TPOT==0.11.7
pandas==1.5.3
numpy==1.24.2
The text was updated successfully, but these errors were encountered: