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

Added new initil assumptions with boostings #1359

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

dmitryglhf
Copy link
Collaborator

@dmitryglhf dmitryglhf commented Jan 23, 2025

This is a 🔨 code refactoring.

Summary

  • New Initial Assumptions: Updated initial assumptions by adding boosting-based solutions (CatBoost, XGBoost, LightGBM).

    Comparison table between old and new assumptions (validated on automlbenchmark small dataset 1h8c):

    Metric (mean) main (Random Forest first) new (GBM joined with Linear model)
    0 auc 0.869263 0.879746
    1 acc 0.84667 0.852339
    2 balacc 0.805336 0.822745
    3 logloss 0.449189 0.377827
    4 training_duration, s 242.554 251.445

Context

Closes #1341

@pep8speaks
Copy link

pep8speaks commented Jan 23, 2025

Hello @dmitryglhf! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2025-01-23 15:41:19 UTC

@dmitryglhf
Copy link
Collaborator Author

/fix-pep8

Copy link
Contributor

github-actions bot commented Jan 23, 2025

All PEP8 errors has been fixed, thanks ❤️

Comment last updated at Thu, 23 Jan 2025 18:42:11

@dmitryglhf
Copy link
Collaborator Author

dmitryglhf commented Jan 23, 2025

Discovered three most useful assumptions.

Metric (mean) main (Random Forest first) gbm_linear xgb_lgbm_linear rf_in_fork
0 auc 0.869263 0.879746 0.877597 0.878225
1 acc 0.84667 0.852339 0.848727 0.85005
2 balacc 0.805336 0.822745 0.818386 0.819006
3 logloss 0.449189 0.377827 0.392734 0.396282
4 training_duration 242.554 251.445 213.057 246.447
Pipelines and full comparison table
  1. GBM_Linear
    image

  2. XGB_LGBM_Linear
    image

  3. RF_in_Fork
    image

Full comparison table: full_comparison.xlsx

Full tables for each pipeline:
gbm_catboost_new_params.csv
main_rf.csv
rf_in_fork.csv

Copy link

codecov bot commented Jan 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.68%. Comparing base (6dd93b2) to head (326d485).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1359      +/-   ##
==========================================
+ Coverage   80.13%   80.68%   +0.55%     
==========================================
  Files         146      146              
  Lines       10512    10512              
==========================================
+ Hits         8424     8482      +58     
+ Misses       2088     2030      -58     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dmitryglhf
Copy link
Collaborator Author

dmitryglhf commented Jan 23, 2025

@nicl-nno Среди трех начальных приближений стоит оставить все или же только то, которое улучшает метрики больше остальных?

@nicl-nno
Copy link
Collaborator

Среди трех начальных приближений стоит оставить все или же только то, которое улучшает метрики больше остальных?

Зависит от того, меняется ли лидер при смене группы датасетов. Если везде +-один вариант доминирует - то можно его иоставить.

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

Successfully merging this pull request may close these issues.

enh: Design effective initial assumption
3 participants