Closed JamesRuuu closed 7 months ago
Hello, here is the explanations based on your queries:
The term "unknown_classDistribution" means that $p^u(y)$ is unknown, indicating that we lack prior knowledge about the class distribution of unseen classes. For transductive training, we need to estimate $p^u(y)$, but we do not want to use a uniform distribution as the prior. Therefore, our approach is to perform inductive training to initialize our conditional GAN, which allows us to assign pseudo-labels to our unseen samples and obtain an estimated $\hat{p}^u(y)$. After that, we proceed with transductive training.
"unknown_prior" is a boolean variable, and "unseen_prior" is an array that refers to the estimated $\hat{p}^u(y)$ mentioned above.
I hope this helps!
Understood. Thx for your help.
Hello author! As I was reading through your code, I had some confusion. Maybe you can help me to understand that. Can you explain the exact meaning of this 'unknown_classDistribution'. I didn't get why inductive training is performed when it is true. Does it mean to take into account the probability distribution of the unseen class? Also I had a little doubt about 'unknown_prior' and 'unseen_prior' in train.py, which concerns about the difference between the two.