ericzhao28 / ALLS

Active learning under label shift.
4 stars 3 forks source link

Why is num labels 0? #1

Open QasimWani opened 3 years ago

QasimWani commented 3 years ago

https://github.com/ericzhao28/alls/blob/7d85650926857ea5497444c12f093832efc33ba1/alsa/main/replicate.py#L118

quick question, isn't num_labels supposed to be number of labels in source domain? if so, why is it always 0? Running for MNIST.

Also, is source shift = source domain -> medial distribution and uniform source shift = medial distribution -> target domain? reference

thanks

QasimWani commented 3 years ago

nvm. fixed it

ericzhao28 commented 3 years ago

Hi! Sorry for the late response, I just saw this. That variable is just used to record how many datapoints that the active learning algorithm has labeled. Initially, the list contains only 0 because no datapoints have been logged. Let me know if you have more questions!