Skip to content

68 replace month pe - #71

Merged
SarahAlidoost merged 13 commits into
mainfrom
68_replace_month_pe
Jul 14, 2026
Merged

68 replace month pe#71
SarahAlidoost merged 13 commits into
mainfrom
68_replace_month_pe

Conversation

@meiertgrootes

Copy link
Copy Markdown
Collaborator

This PR replace the PE based month encoding which was based off of sequence position with a time stamp based cyclical phase encoding of the month, creating a projected embedding from a C12 group fourier base embedding.

Note @SarahAlidoost @rogerkuou , as Levante is down and I do not have the appropriate data files locally I HAVE NOT been able to run the example note books.

Please consider doing so during review. Should errors occur feel free to just drop it back to me

@meiertgrootes
meiertgrootes requested review from SarahAlidoost and rogerkuou and removed request for SarahAlidoost July 9, 2026 12:02
Comment thread climanet/st_encoder_decoder.py Outdated
Comment thread climanet/st_encoder_decoder.py Outdated
Comment thread climanet/st_encoder_decoder.py Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
time_features: (B,M,T,3) containing cyclically phase encoded MOY, DOY and HOD

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

done

Comment thread climanet/st_encoder_decoder.py Outdated
Comment thread climanet/st_encoder_decoder.py Outdated
Comment thread climanet/st_encoder_decoder.py Outdated
Comment on lines 674 to 675

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

can you please remove max_months=max_months,. I couldnot add it as code suggestion.

@SarahAlidoost SarahAlidoost left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@meiertgrootes thanks, nice implementation and improvement! 🥇 I could run the notebook without any issue. I left some minor comments. This is ready to merge. I noticed the branch 68_replace_month_pe is based on branch in #64 . Let's merge #64 to main first before merging this to main.

meiertgrootes and others added 5 commits July 13, 2026 10:14
Co-authored-by: SarahAlidoost <55081872+SarahAlidoost@users.noreply.github.com>
Co-authored-by: SarahAlidoost <55081872+SarahAlidoost@users.noreply.github.com>
Co-authored-by: SarahAlidoost <55081872+SarahAlidoost@users.noreply.github.com>
Co-authored-by: SarahAlidoost <55081872+SarahAlidoost@users.noreply.github.com>
@meiertgrootes

Copy link
Copy Markdown
Collaborator Author

@SarahAlidoost @rogerkuou I've addressed @SarahAlidoost 's comments. I've also reviewed #64 which is ready to be merged imo. So ready to merge this PR after #64 is merged, pending @rogerkuou 's review

@rogerkuou rogerkuou left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Hi @meiertgrootes , I do not have further comments! Please go ahead and merge. Thanks for the implementation!

@SarahAlidoost
SarahAlidoost merged commit 46411a9 into main Jul 14, 2026
6 checks passed
@SarahAlidoost
SarahAlidoost deleted the 68_replace_month_pe branch July 14, 2026 15:27
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

Successfully merging this pull request may close these issues.

3 participants