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
Fedot crushes after using pandas dataframe in second time. In my mind, Fedot edited data in the process of it running, even if this variable is passed from global space.
Traceback (most recent call last):
File "C:\Users\andre\Documents\GitHub\FEDOT\fedot\api\api_utils\assumptions\assumptions_handler.py", line 56, in fit_assumption_and_check_correctness
data_train, data_test = train_test_data_setup(self.data)
File "C:\Users\andre\Documents\GitHub\FEDOT\fedot\core\data\data_split.py", line 222, in train_test_data_setup
train_data, test_data = _train_test_single_data_setup(data, split_ratio, shuffle_flag, **kwargs)
File "C:\Users\andre\Documents\GitHub\FEDOT\fedot\core\data\data_split.py", line 183, in _train_test_single_data_setup
train_data, test_data = split_func(data, task, split_ratio,
File "C:\Users\andre\Documents\GitHub\FEDOT\fedot\core\data\data_split.py", line 131, in _split_table
return _split_any(data, task, DataTypesEnum.table, split_ratio, with_shuffle)
File "C:\Users\andre\Documents\GitHub\FEDOT\fedot\core\data\data_split.py", line 104, in _split_any
train_test_split(idx,
File "C:\Users\andre\Documents\GitHub\FEDOT\venv\lib\site-packages\sklearn\model_selection\_split.py", line 2448, in train_test_split
n_train, n_test = _validate_shuffle_split(
File "C:\Users\andre\Documents\GitHub\FEDOT\venv\lib\site-packages\sklearn\model_selection\_split.py", line 2126, in _validate_shuffle_split
raise ValueError(
ValueError: With n_samples=1, test_size=0.19999999999999996 and train_size=None, the resulting train set will be empty. Adjust any of the aforementioned parameters.
Fedot crushes after using pandas dataframe in second time. In my mind, Fedot edited data in the process of it running, even if this variable is passed from global space.
Script for repeating the bug:
The text was updated successfully, but these errors were encountered: