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

Add CDSA imputation method #303

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open

Add CDSA imputation method #303

wants to merge 3 commits into from

Conversation

wx0chan
Copy link

@wx0chan wx0chan commented Jan 26, 2024

Initially achieved, not yet perfected

What does this PR do?

Add CDSA imputation method.
Initially achieved, not yet perfected.

Before submitting

  • This PR is made to fix a typo or improve the docs (you can dismiss the other checks if this is the case).
  • Was this discussed/approved via a GitHub issue? Please add a link to it if that's the case.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have written necessary tests and already run them locally.

Initially achieved, not yet perfected
@WenjieDu WenjieDu self-requested a review January 26, 2024 09:06
@WenjieDu WenjieDu added this to the v0.4 milestone Jan 26, 2024
@WenjieDu WenjieDu added enhancement New feature or request new algo Proposing to add a new model/algorithm labels Jan 26, 2024
self.d_k = d_k
self.d_v = d_v

# w_qs, w_ks for Time Dimension
Copy link
Owner

@WenjieDu WenjieDu Jan 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

w_qs_time, w_ks_time for the time dimension and w_qs_feature, w_ks_feature for the feature dimension are not used in the func forward().

residual = v

# now separate the last dimension of q, k, v into different heads -> [batch_size, n_steps, n_heads, d_k or d_v]
q_time = self.w_qs(q_time).view(batch_size, n_steps, self.n_heads, self.d_k)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

self.w_qs and w_ks are not initialized in the func init().

Copy link

This pull request had no activity for 14 days. It will be closed in 1 week unless there is some new activity.

@github-actions github-actions bot added the stale label Feb 11, 2024
@github-actions github-actions bot closed this Feb 19, 2024
@WenjieDu WenjieDu reopened this Nov 25, 2024
@WenjieDu WenjieDu removed the stale label Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request new algo Proposing to add a new model/algorithm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants