Is there a way to only access the new labelled data in dataset.label ? #231
-
Hi I wanted to know if there is a way to access the newly labelled data alone from the
here the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hello! In this case, the indices in To get the mapping from the pool to the "original" indices, you can use Addtional infos:
I hope this helps! |
Beta Was this translation helpful? Give feedback.
Hello!
In this case, the indices in
to_label
are relative to the unlabelled pool, not to the overall dataset.To get the mapping from the pool to the "original" indices, you can use
dataset._pool_to_oracle_index(to_label[: query_size])
beforedataset.label
.Addtional infos:
ActiveLearningDataset
keeps track of what is labelled and what is not.ActiveNumpyDataset.dataset
gives you a new array with labelled items only.ActiveNumpyDataset.pool
gives you an array with unlabelled items only.ActiveNumpyDataset.label(indices)
add items from the unlabelled pool to the labelled pool before adding these indices to the set of labelled items.I hope this helps!