smote_variants icon indicating copy to clipboard operation
smote_variants copied to clipboard

Question

Open robot520 opened this issue 1 year ago • 2 comments

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

robot520 avatar Jul 20 '22 07:07 robot520

I'm getting the same error when running the model_selection.

mahyahemmat avatar Aug 03 '22 15:08 mahyahemmat

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.

gykovacs avatar Sep 16 '22 18:09 gykovacs