Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question #56

Open
robot520 opened this issue Jul 20, 2022 · 2 comments
Open

Question #56

robot520 opened this issue Jul 20, 2022 · 2 comments

Comments

@robot520
Copy link

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

@mahyahemmat
Copy link

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

@gykovacs
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants