Open robot520 opened 2 years ago
I'm getting the same error when running the model_selection.
Hi @robot520 and @mahyahemmat !
Sorry for the late response, there was a heavy refactoring going on in the past weeks, now a completely renewed and improved model selection framework is released. There should be no issues like this. Let me know if you need further assistance to get it work.
results= sv.evaluate_oversamplers(datasets= datasets, samplers= sv.get_n_quickest_oversamplers(10), classifiers= [knn_classifier, dt_classifier], cache_path= cache_path, n_jobs= 1, max_samp_par_comb= 35) output: File "C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\smote_variants_evaluation.py", line 988, in evaluate_oversamplers sampling_objs = _cache_samplings(folding,
File "C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\smote_variants_evaluation.py", line 761, in _cache_samplings sampling_objs = list(reversed(sorted(sampling_objs, key=key)))
File "C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\smote_variants_evaluation.py", line 748, in key if (isinstance(x.sampler, ADG) or isinstance(x.sampler, AMSCO) or
NameError: name 'ADG' is not defined