Automated modeling and machine learning framework FEDOT
BSD 3-Clause "New" or "Revised" License
619
stars
84
forks
source link
[Bug]: Invalid fitness after objective evaluation. Skipping the graph: (/n_scaling;)/n_rf_{'n_jobs':32} #1273
Open
DRMPN opened 3 months ago
Expected Behavior
The method calculates the Roc Auc score for a target column of type bool in a tabular data classification problem.
Current Behavior
For some reason![image](https://github.com/aimclub/FEDOT/assets/61294398/3a01c620-e515-4d4a-b8e1-411f42e2276b)
get_metrics()
method fails after successfully fitting the data.There seems to be a problem with the tabular data preprocessing in the target, surprisingly it's an empty array.![image](https://github.com/aimclub/FEDOT/assets/61294398/05b3bb86-7b96-4c56-8c9b-a11f44709645)
This is likely just the tip of the iceberg, as the `num_classes' method is already parameterized with an empty array:![image](https://github.com/aimclub/FEDOT/assets/61294398/df496d6b-935b-4ba8-8fe5-dfa17c09a008)
Possible Solution
Steps to Reproduce
Context [OPTIONAL]
The target column is loaded as a bool type.![image](https://github.com/aimclub/FEDOT/assets/61294398/6cf74048-f36e-4e52-9327-74d6e7e71dad)
Documentation References: https://fedot.readthedocs.io/en/latest/introduction/fedot_features/main_features.html https://fedot.readthedocs.io/en/latest/advanced/data_preprocessing.html