Skip to content

Multithreaded support for apply_forest - #176

Closed
salbert83 wants to merge 9 commits into
JuliaAI:devfrom
salbert83:master
Closed

salbert83 wants to merge 9 commits into
JuliaAI:devfrom
salbert83:master

Conversation

@salbert83

Copy link
Copy Markdown
Contributor

Perhaps it is better to let the client decide if they wish to use multithreading?

Perhaps it is best to let the client decide whether they wish to use multithreading?
@codecov-commenter

codecov-commenter commented Jun 21, 2022 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 83.33333% with 11 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (dev@72690a0). Learn more about missing BASE report.

Files with missing lines Patch % Lines
src/util.jl 56.25% 7 Missing ⚠️
src/DecisionTree.jl 88.23% 2 Missing ⚠️
src/scikitlearnAPI.jl 0.00% 2 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff           @@
##             dev     #176   +/-   ##
======================================
  Coverage       ?   89.67%           
======================================
  Files          ?       10           
  Lines          ?     1182           
  Branches       ?        0           
======================================
  Hits           ?     1060           
  Misses         ?      122           
  Partials       ?        0           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread src/classification/main.jl Outdated
@ablaom
ablaom requested a review from OkonSamuel June 26, 2022 20:42
@ablaom

ablaom commented Jun 26, 2022

Copy link
Copy Markdown
Member

@OkonSamuel This replaces #175. Can you please review?

@OkonSamuel

Copy link
Copy Markdown
Member

Perhaps it is better to let the client decide if they wish to use multithreading?

Yes. But we could always include support for that later.

Comment thread src/classification/main.jl Outdated
Comment thread src/classification/main.jl Outdated

@OkonSamuel OkonSamuel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM except for some little changes

salbert83 and others added 2 commits June 27, 2022 22:53
Good idea!

Co-authored-by: Okon Samuel <39421418+OkonSamuel@users.noreply.github.com>
Co-authored-by: Okon Samuel <39421418+OkonSamuel@users.noreply.github.com>
@OkonSamuel

Copy link
Copy Markdown
Member

@salbert83 everthing is good to go. Could you just add a test for use_multithreading

@ablaom

ablaom commented Jul 8, 2022

Copy link
Copy Markdown
Member

@salbert83 Are you willing to add a test (see comment above)?

@salbert83

salbert83 commented Jul 8, 2022 via email

Copy link
Copy Markdown
Contributor Author

@salbert83
salbert83 requested a review from OkonSamuel July 9, 2022 00:51
@salbert83

Copy link
Copy Markdown
Contributor Author

Any suggestion on resolving the conflict?

@ablaom
ablaom changed the base branch from master to dev July 14, 2022 08:26
@ablaom

ablaom commented Jul 14, 2022

Copy link
Copy Markdown
Member

Probably the safest suggestion is for you to try merging latest origin/dev into your local branch and then pushing the updated branch to your fork. There will be conflicts to resolve locally in the process. If you get stuck with that, or am not confident trying this, let me know and I will have a look at resolving the conflicts for you.

@ablaom

ablaom commented Jul 18, 2022

Copy link
Copy Markdown
Member

The commit history still looking suspicious. Closing in favor of #188

@ablaom ablaom closed this Jul 18, 2022
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.

5 participants