Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About the implementation of Post-Compensation Strategy #1

Closed
jiequancui opened this issue Dec 30, 2020 · 6 comments
Closed

About the implementation of Post-Compensation Strategy #1

jiequancui opened this issue Dec 30, 2020 · 6 comments

Comments

@jiequancui
Copy link

Hi, I'm very interested in your paper.

As seen from the paper, PC Softmax seems to be a strong baseline.

Can you provide the implementation of the PC softmax (mainly about how to calculate the p_{s}(y) and p_{t}(y) )?

@wade3han
Copy link
Contributor

Hi. You can get the prior distribution from the dataset you are using.
e.g. For p_{s}(y), it belongs to the prior distribution from train set (source dataset).

@jiequancui
Copy link
Author

Big thanks

@wade3han wade3han closed this as completed Jan 4, 2021
@yaoqi-zd
Copy link

yaoqi-zd commented Mar 3, 2021

Hi. You can get the prior distribution from the dataset you are using.
e.g. For p_{s}(y), it belongs to the prior distribution from train set (source dataset).

Hi, does this means I must know the target label distribution in advance before making prediction on target dataset?

@wade3han
Copy link
Contributor

wade3han commented Mar 9, 2021

Yes, and we should predict the distribution of the target label using label shift methods or sampling such as Monte Carlo approach. Integrating our concept with the idea of predicting the target label distribution is an engaging future work. :)

@22ema
Copy link

22ema commented Mar 17, 2021

Hi, Can I use PC Softmax in the inference model.. My model trained balance dataset. but real world dataset is imbalanced... when inference with my model, I get bad precision..

@juice500ml
Copy link
Contributor

@22ema Please make it a separate issue with a more detailed description for it. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants