Closed bacalfa closed 3 years ago
Dear Bruno, hi! Thank you very much for your message Our team and I also just recently discovered this error and have already corrected it. This bug should no longer be in the master branch.
Check this closed pull request for more information As proof of this, you can check this unit test test_ransac_with_invalid_params_fit_correctly, which checks the occurrence of this error
A brief explanation: FEDOT in its structure has a json file that stores default hyperparameter values for different operations. We added such parameters for the RANSAC algorithm, where the value of the hyperparameter min_samples is given as a relative number (varies from 0 to 1). For now, it's 0.4. So no matter how many features/columns and rows are in the dataset, FEDOT will now be able to adequately initialize the RANSAC operation.
We will prepare a new version of FEDOT soon, and you can use all the above changes by installing FEDOT via "pip install". But if you want to try a quicker fix, use the framework version from the master branch.
So, now it works :)
Thank you! I'll wait for this new version.
Hi! Did new version (0.4.0) fixed this bug for your script?
Yes, it works now. Thank you!
I'm getting several Fit pipeline from scratch
messages printed to the console. How do I avoid that?
You сan set verbose_level=1 in the 'Fedot' class constructor.
Issue descirbed in first post is resolved
I'm testing the AutoML approach with
Fedot
on a dataset with 11 rows and 66 columns (never mind the many more columns than rows in this case). The default parameters for the strategy (ransac_non_lin_reg
) aren't being initialized. For example,min_samples
isNone
. And I'm getting an error:In this case,
min_samples
is much larger than the number of rows, and RANSACRegressor doesn't allow that. How do I make suremin_samples
is properly initialized?