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

Add SHAP calculation to GBT regression #2460

Merged

Commits on Oct 10, 2023

  1. WIP: Add SHAP contributions and interactions

    add weights to GbtDecisionTree
    
    Include TreeShap recursion steps
    
    fix buffer overflow in memcpy
    
    Add cover to GbtDecisionTree from model builder
    
    fix some index offsets, correct results for trees up to depth=5
    
    fix: nodeIsDummyLeaf is supposed to check left child
    
    remove some debug statements
    
    chore: apply oneDAL code style
    
    predictContribution wrapper with template dispatching
    
    increase speed by reducing number of cache misses
    
    use thread-local result accessor
    
    backup commit with 13% speedup wrt xgboost
    
    add preShapContributions/predShapInteractions as function parameter
    
    Revert "introduce pred_contribs and pred_interactions SHAP options"
    
    This reverts commit 483aa5b.
    
    remove some debug content
    
    reset env_detect.cpp to origin/master
    
    remove std::vector<float> test by introducing thread-local NumericTable
    
    Move treeshap into separate translation unit - caution: treeShap undefined in libonedal
    
    builds but segfaults
    
    Fix function arguments
    
    respect predShapContributions and predShapInteractions options and check for legal combinations
    
    tmp: work on pred_interactions
    ahuber21 committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    6e86e4e View commit details
    Browse the repository at this point in the history
  2. no more segfaults

    ahuber21 committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    a36406e View commit details
    Browse the repository at this point in the history
  3. fix pred_interactions

    ahuber21 committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    396230f View commit details
    Browse the repository at this point in the history
  4. add fast treeshap v1

    ahuber21 committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    a2ec071 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b922070 View commit details
    Browse the repository at this point in the history
  6. daal_calloc -> daal_malloc

    ahuber21 committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    d31a577 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b7389da View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0b45b88 View commit details
    Browse the repository at this point in the history
  9. align tree cfl/reg APIs

    ahuber21 committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    d396842 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    63da212 View commit details
    Browse the repository at this point in the history
  11. cleanup for review

    ahuber21 committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    9032573 View commit details
    Browse the repository at this point in the history
  12. add newline

    ahuber21 committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    2cb96e1 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    b873df4 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    7cf533f View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    55f3cb2 View commit details
    Browse the repository at this point in the history
  16. fix: remove dead code

    ahuber21 committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    c130bb0 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    22b4fb9 View commit details
    Browse the repository at this point in the history
  18. chore: typos and code style

    ahuber21 committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    dbe0af3 View commit details
    Browse the repository at this point in the history
  19. Fix bazel build

    ahuber21 committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    e635831 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    060042c View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    13bb552 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    4438cb6 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    65fcdc8 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    f8f648c View commit details
    Browse the repository at this point in the history
  25. add license

    ahuber21 committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    65e7806 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    e418ec4 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    bc04a68 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    6473d69 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2023

  1. Configuration menu
    Copy the full SHA
    7bc51f7 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2023

  1. Configuration menu
    Copy the full SHA
    bc02093 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2023

  1. Configuration menu
    Copy the full SHA
    30f4f28 View commit details
    Browse the repository at this point in the history
  2. typo

    ahuber21 committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    1a3906f View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2023

  1. Configuration menu
    Copy the full SHA
    932dfa5 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2023

  1. Configuration menu
    Copy the full SHA
    0d229ed View commit details
    Browse the repository at this point in the history
  2. review comments oneapi-src#1

    ahuber21 committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    6c87c7c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a367244 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2023

  1. Configuration menu
    Copy the full SHA
    10a9984 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3ef5a9c View commit details
    Browse the repository at this point in the history
  3. review comments oneapi-src#2

    ahuber21 committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    73326ad View commit details
    Browse the repository at this point in the history
  4. fixup endless for loop

    ahuber21 committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    3ba321b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    48167a5 View commit details
    Browse the repository at this point in the history
  6. use TArray where possible

    ahuber21 committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    5e94bcf View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2023

  1. Configuration menu
    Copy the full SHA
    6a7b7c9 View commit details
    Browse the repository at this point in the history
  2. Update cpp/daal/include/algorithms/tree_utils/tree_utils.h

    Co-authored-by: Victoriya Fedotova <viktoria.nn@gmail.com>
    ahuber21 and Vika-F committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    d65f806 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f0a42a9 View commit details
    Browse the repository at this point in the history
  4. provide doxygen description of gbt classification funtions

    Dmitry Razdoburdin committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    b4a5058 View commit details
    Browse the repository at this point in the history
  5. fix some typos

    ahuber21 committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    137e1bb View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2023

  1. Configuration menu
    Copy the full SHA
    2c7b59a View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2023

  1. Configuration menu
    Copy the full SHA
    5f19b8c View commit details
    Browse the repository at this point in the history
  2. fix multiline comments

    ahuber21 committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    a0c2c7b View commit details
    Browse the repository at this point in the history