Skip to content

Fix bug in query-by-committee (see #256). - #257

Merged
dakot merged 2 commits into
developmentfrom
256-bug-query-by-committee
Jul 19, 2022
Merged

dakot merged 2 commits into
developmentfrom
256-bug-query-by-committee

Conversation

@mherde

@mherde mherde commented Jul 13, 2022

Copy link
Copy Markdown
Contributor

No description provided.

@codecov-commenter

codecov-commenter commented Jul 13, 2022 •

Copy link
Copy Markdown

Codecov Report

Merging #257 (0e39c11) into development (2dde017) will not change coverage.
The diff coverage is 100.00%.

@@              Coverage Diff              @@
##           development      #257   +/-   ##
=============================================
  Coverage       100.00%   100.00%           
=============================================
  Files               80        80           
  Lines             7370      7372    +2     
=============================================
+ Hits              7370      7372    +2     
Impacted Files Coverage Δ
skactiveml/pool/_query_by_committee.py 100.00% <100.00%> (ø)
skactiveml/pool/tests/test_query_by_committee.py 100.00% <100.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 2dde017...0e39c11. Read the comment docs.

Comment thread skactiveml/pool/_query_by_committee.py Outdated
# Compute vote entropy.
v = vote_count / len(votes)
v = vote_count / n_estimators
print(v)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
print(v)

@dakot
dakot merged commit 66266ec into development Jul 19, 2022
@mherde
mherde deleted the 256-bug-query-by-committee branch May 23, 2023 11:46
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.

3 participants