EnSF
Code repository for paper: An ensemble score filter for tracking high-dimensional nonlinear dynamical systems
Install / Use
/learn @zezhongzhang/EnSFREADME
An ensemble score filter for tracking high-dimensional nonlinear dynamical systems
Code repository for the paper:
Ensemble Score Filter for Tracking High-dimensional Nonlinear Dynamical System
Feng Bao, Zezhong Zhang, Guannan Zhang
Computer Methods in Applied Mechanics and Engineering, 2024, [paper]
Usage
datacontains the initial state of L96 model and the random shock profile.gen_shock.ipynbgenerates the random shock profiles.gen_state_init.ipynbgenerates the initial states for L96 model with different dimensions.- Generate the initial state first before running the one-million-dimensional problem.
fine_tune_EnSFis the folder for fine-tuning hyperparameters of EnSF (fine_tune_LETKFfor LETKF).gen_filter_param.ipynbgenerates parameter combinations inpara_EnSF.csvparam_problem.csvis the filtering problem setting for fine-tuning.run_all_EnSF.ipynbruns all combinations of parameters stored inresults.results/result_summary.ipynbaggregates all the results toresults/final_rmse_EnSF.csvandresults/rmse_EnSF.csvto_grid.ipynbgenerates 2D grid plot for fine-tuning results.
run_all_EnSFis the folder for repetitive runs of different filtering settings and parameter combinations (run_all_LETKFfor LETKF).param_EnSF.csvandparam_problem.csvare user input settings for filtering problem and filter.gen_param_all.ipynbgenerates all the problem/filter combinations inparam_combined.csvwith different random seeds for repeated experiments.run_all_EnSF.ipynbruns all problem/filter combinations and stores the results inresult
run_single_EnSFis the folder for a single run of the filter (run_single_LETKFfor LETKF).run_single_EnSF.ipynbruns the problem/filter combination inparam_combined.csvand stores the results inresult
legacy_codeis the legacy code for the originally uploaded EnSF.
Citation
If you find the idea or code of this paper useful for your research, please consider citing us:
@article{bao2024ensemble,
title={An ensemble score filter for tracking high-dimensional nonlinear dynamical systems},
author={Bao, Feng and Zhang, Zezhong and Zhang, Guannan},
journal={Computer Methods in Applied Mechanics and Engineering},
volume={432},
pages={117447},
year={2024},
publisher={Elsevier}
}
