Skip to content

Add ObservationRecipe.reconstruct_g_mean_final#197

Merged
ph-kev merged 3 commits intomainfrom
kp/reconstruct
Aug 12, 2025
Merged

Add ObservationRecipe.reconstruct_g_mean_final#197
ph-kev merged 3 commits intomainfrom
kp/reconstruct

Conversation

@ph-kev
Copy link
Member

@ph-kev ph-kev commented Jun 25, 2025

This PR adds ObservationRecipe.reconstruct_g_mean_final.

TODO

  • Write test for _get_metadata_from_nth_iteration
  • Clean up how indices are computed
  • Add any assumptions that are needed for the functions to run
  • Split single commit into two separate commits
  • > EnsembleKalmanProcesses v2.4.2

@ph-kev ph-kev changed the title Add ObservationRecipe.reconstruct_g_mean_final [WIP] Add ObservationRecipe.reconstruct_g_mean_final Jul 2, 2025
@ph-kev ph-kev force-pushed the kp/reconstruct branch 2 times, most recently from 43872aa to 02bc83a Compare July 29, 2025 00:02
@ph-kev ph-kev changed the title [WIP] Add ObservationRecipe.reconstruct_g_mean_final Add ObservationRecipe.reconstruct_g_mean_final Jul 29, 2025
@ph-kev ph-kev force-pushed the kp/reconstruct branch 2 times, most recently from 16896a8 to fda4bf7 Compare July 29, 2025 00:09
Comment on lines 533 to 536
num_epoches = EKP.get_length_epoch(obs_series)
minibatch_indices = EKP.get_minibatch(obs_series, mod1(N, num_epoches))
Copy link
Member Author

Choose a reason for hiding this comment

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

I wasn't sure if there is a better way of doing this with EKP.

@ph-kev ph-kev force-pushed the kp/reconstruct branch 4 times, most recently from 45c0c8e to eac7088 Compare July 29, 2025 17:58
@ph-kev ph-kev requested a review from nefrathenrici July 29, 2025 18:03
Copy link
Member

@nefrathenrici nefrathenrici left a comment

Choose a reason for hiding this comment

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

Thank you! This will be nice to have. I just left some small comments.

@ph-kev ph-kev force-pushed the kp/reconstruct branch 3 times, most recently from d078e5d to 5df2ba9 Compare August 7, 2025 18:40
@ph-kev ph-kev merged commit 33cefaa into main Aug 12, 2025
8 of 9 checks passed
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.

2 participants