ej0cl6 / deep-active-learning

Deep Active Learning
MIT License
783 stars 182 forks source link

Asking the probability formula if its a binary problem #7

Closed leocd91 closed 2 years ago

leocd91 commented 2 years ago

Suppose it's a binary problem, did I do it right if I just sort it directly the prob or uncertainties result?

ej0cl6 commented 2 years ago

This is what we do in the current version DeepAL. This greedy approach usually works in practice. Of course there must be some better ways to handle the batch scoring but currently we do not focus on it.

leocd91 commented 2 years ago

ah, i see, I get it after seeing your code. thanks.

leocd91 commented 2 years ago

hi @ej0cl6 , why KCenterGreedy use training data to get the embeddings? why there's no unlabelled data being included there?

ej0cl6 commented 2 years ago

It is used for learning the centers.