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

How to tune SMOTE and CatBoost at the same time? #36

Open
Minhvt34 opened this issue May 21, 2024 · 0 comments
Open

How to tune SMOTE and CatBoost at the same time? #36

Minhvt34 opened this issue May 21, 2024 · 0 comments

Comments

@Minhvt34
Copy link

Hi, thank you for sharing your code.

I found that in tune_smote.py the metric metrics = train_catboost(...).
I am wondering that we want to tune SMOTE to get better sampling data, however, the quality of sampled data is measured by the performance of catboost that means the catboost should have a tuned hyperparameters. As I understand, we can only tune SMOTE with a tuned CatBoost or we can tune CatBoost if we have a high quality sampling data from SMOTE. So if it is possible, for each SMOTE tuning iteration, we will get a data sample, then we will tune CatBoost.

for iteration (tune SMOTE):
      data = sample_smote
      for iteration (tune CatBoost):
           tune CatBoost

I cannot find where you deploy the tune_smote.py.

Best,

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

1 participant