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 back Clone() method to the Tree class #235

Merged
merged 1 commit into from
Dec 17, 2020
Merged

Conversation

hcho3
Copy link
Collaborator

@hcho3 hcho3 commented Dec 17, 2020

In the recent refactor (#198, #199, #201, and #203) to add support for multiple data types, I accidentally remove the Clone() method from the Tree class. This PR adds it back.

@hcho3 hcho3 mentioned this pull request Dec 17, 2020
8 tasks
@codecov-io
Copy link

Codecov Report

Merging #235 (ac3c47d) into mainline (9fb79c3) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##             mainline     #235   +/-   ##
===========================================
  Coverage       83.73%   83.73%           
  Complexity         44       44           
===========================================
  Files              93       93           
  Lines            6918     6918           
  Branches           42       42           
===========================================
  Hits             5793     5793           
  Misses           1101     1101           
  Partials           24       24           
Impacted Files Coverage Δ Complexity Δ
include/treelite/tree.h 93.02% <ø> (ø) 0.00 <0.00> (ø)
include/treelite/tree_impl.h 89.67% <ø> (ø) 0.00 <0.00> (ø)

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 9fb79c3...ac3c47d. Read the comment docs.

@hcho3 hcho3 merged commit deed6c7 into dmlc:mainline Dec 17, 2020
@hcho3 hcho3 deleted the add_clone branch December 17, 2020 19:53
rapids-bot bot pushed a commit to rapidsai/cuml that referenced this pull request Jan 7, 2021
Depends on dmlc/treelite#235, dmlc/treelite#236, dmlc/treelite#237, dmlc/treelite#240, dmlc/treelite#241, dmlc/treelite#242, dmlc/treelite#243

Depends on rapidsai/integration#201

Closes #2160
Closes #2795
Closes #2817

TODOs
- [x] Get code review for dmlc/treelite#235 and dmlc/treelite#236 and merge them
- [x]  Get code review for dmlc/treelite#237 and merge them
- [x] Merge dmlc/treelite#240, dmlc/treelite#241, dmlc/treelite#242, dmlc/treelite#243
- [x] Run tests locally
- [x] Tag a new version of Treelite
- [x] Release a new Conda package with the new version tag
- [x] Update `meta.yml` and the integration package to use the new Treelite
- [x] Run tests (this time build with new Conda package)

Authors:
  - Hyunsu Cho <[email protected]>

Approvers:
  - AJ Schmidt (@ajschmidt8)
  - William Hicks (@wphicks)
  - John Zedlewski (@JohnZed)

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

2 participants