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 objective function #1

Open
Peggyzz opened this issue Feb 8, 2021 · 0 comments
Open

About the objective function #1

Peggyzz opened this issue Feb 8, 2021 · 0 comments

Comments

@Peggyzz
Copy link

Peggyzz commented Feb 8, 2021

Hi,there are some issues i dont understand during reading the code

  1. objective function
    In optimizer.py, the first term of PPD-SG's objective function is as follows:
    ‘(1-p_hat)tf.reduce_mean(I_postf.reshape((pred_score-a)**2, (-1, 1)) + p_hatI_negtf.reshape((pred_score-b)**2, (-1, 1)))’
    It's hard for me to understand why you compute mean value for both 'pred-a' and 'pred-b' It seems quite different with the objective function in your article
  2. the extensions for multi-classes
    How to modify the PPDSG for multi-class? For example, how to compute phat and Phat
    I would be appreciate if you could say more about this extensions
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

1 participant