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

Use JSON serializer to enable model introspection #296

Merged
merged 8 commits into from
Sep 17, 2021

Conversation

hcho3
Copy link
Collaborator

@hcho3 hcho3 commented Jul 13, 2021

Closes #245.

@codecov
Copy link

codecov bot commented Jul 13, 2021

Codecov Report

Merging #296 (ac0c8ca) into mainline (59b08d2) will decrease coverage by 0.27%.
The diff coverage is 86.82%.

Impacted file tree graph

@@              Coverage Diff               @@
##             mainline     #296      +/-   ##
==============================================
- Coverage       85.22%   84.95%   -0.28%     
  Complexity         46       46              
==============================================
  Files             108      106       -2     
  Lines            8161     7243     -918     
  Branches          467       42     -425     
==============================================
- Hits             6955     6153     -802     
+ Misses           1181     1065     -116     
  Partials           25       25              
Impacted Files Coverage Δ
src/c_api/c_api.cc 94.73% <0.00%> (-2.36%) ⬇️
src/c_api/c_api_common.cc 100.00% <ø> (ø)
src/c_api/c_api_error.cc 100.00% <ø> (ø)
src/compiler/failsafe.cc 89.72% <ø> (+1.82%) ⬆️
python/treelite/frontend.py 76.70% <40.00%> (-0.66%) ⬇️
include/treelite/base.h 52.17% <66.66%> (-0.46%) ⬇️
include/treelite/tree.h 93.81% <68.75%> (-3.97%) ⬇️
src/json_serializer.cc 92.50% <91.17%> (+0.32%) ⬆️
tests/cpp/test_serializer.cc 100.00% <100.00%> (ø)
python/treelite/libpath.py 75.00% <0.00%> (-7.15%) ⬇️
... and 61 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 59b08d2...ac0c8ca. Read the comment docs.

@hcho3 hcho3 added the blocking label Jul 13, 2021
@hcho3 hcho3 added blocking and removed blocking labels Jul 13, 2021
@hcho3 hcho3 removed the blocking label Jul 13, 2021
@hcho3 hcho3 merged commit 80a7410 into dmlc:mainline Sep 17, 2021
@hcho3 hcho3 deleted the model_introspection branch September 17, 2021 20:22
This was referenced Sep 20, 2021
rapids-bot bot pushed a commit to rapidsai/cuml that referenced this pull request Sep 23, 2021
The 2.1.0 version of Treelite incorporates the following major improvements:

* dmlc/treelite#311
* dmlc/treelite#302
* dmlc/treelite#303
* dmlc/treelite#296

In particular, dmlc/treelite#311 is a critical follow-up to #4191 and addresses a performance regression.

Requires rapidsai/integration#353

Authors:
  - Philip Hyunsu Cho (https://github.com/hcho3)

Approvers:
  - Jordan Jacobelli (https://github.com/Ethyling)
  - Dante Gama Dessavre (https://github.com/dantegd)

URL: #4220
vimarsh6739 pushed a commit to vimarsh6739/cuml that referenced this pull request Oct 9, 2023
The 2.1.0 version of Treelite incorporates the following major improvements:

* dmlc/treelite#311
* dmlc/treelite#302
* dmlc/treelite#303
* dmlc/treelite#296

In particular, dmlc/treelite#311 is a critical follow-up to rapidsai#4191 and addresses a performance regression.

Requires rapidsai/integration#353

Authors:
  - Philip Hyunsu Cho (https://github.com/hcho3)

Approvers:
  - Jordan Jacobelli (https://github.com/Ethyling)
  - Dante Gama Dessavre (https://github.com/dantegd)

URL: rapidsai#4220
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.

Introspection API
1 participant