Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
np.bool deprecated
  • Loading branch information
nataliaculakova committed Jan 30, 2023
commit c5f02764c43cda479e60e4c351e73d34cb5c6ab4
2 changes: 1 addition & 1 deletion modAL/batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def ranked_batch(classifier: Union[BaseLearner, BaseCommittee],
ceiling = np.minimum(unlabeled.shape[0], n_instances) - len(instance_index_ranking)

# mask for unlabeled initialized as transparent
mask = np.ones(unlabeled.shape[0], np.bool)
mask = np.ones(unlabeled.shape[0], bool)

for _ in range(ceiling):

Expand Down