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

Some label Meanings,I want to see if my theory is correct #21

Open
3211345556 opened this issue Nov 17, 2022 · 3 comments
Open

Some label Meanings,I want to see if my theory is correct #21

3211345556 opened this issue Nov 17, 2022 · 3 comments

Comments

@3211345556
Copy link

Excuse me, I would like to ask you the following questions:

① What does the data set with the lable, v, and data connectors under the data/elect file mean respectively?

② What does the single_step_main.py file contain "sigma" and "mu" labels?

If convenient, could you please leave a contact information for me to learn from you?

Thank you very much!

Looking forward to your reply.

@3211345556 3211345556 changed the title Some label Meanings Some label Meanings,I want to see if my theory is correct Nov 18, 2022
@Zhazhan
Copy link

Zhazhan commented Nov 19, 2022

Hello, thank you for your interest in our work. Your questions are explained below:

① 'Data' represents the sequences of fixed length splitted over the original dataset. For the electricity dataset, the window length is 192. 'Label' represents the prediction target of each element in the sequence. 'V' represents the mean and standard deviation of each sequence. It is used to normalize the historical sequence.

② Follow DeepAR, we let the network predict the mean (mu) and standard deviation (sigma) of the next time step. Then, a Gaussian distribution is constructed using 'mu' and 'sigma', and the likelihood of the ground truth under this distribution is taken as the optimization target.

My personal email address is shanluzuode@sjtu.edu.cn. Feel free to email to me.

@mw66
Copy link

mw66 commented Apr 14, 2023

Actually, the the optimization target is the following two combined, and with the magic number 100 (why)?

https://github.com/ant-research/Pyraformer/blob/master/single_step_main.py#L113-L114

loss = likelihood_loss + 100 * mse_loss
loss.backward()

I'm just wondering if the magic number is chosen any number between [0 , 100], will the results be different?

Or, more generally:

  loss = a * likelihood_loss + b * mse_loss

How would you choose a and b? Any considerations?

@mw66
Copy link

mw66 commented Apr 14, 2023

@Zhazhan do you have time to answer my above questions? 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

3 participants