-
Notifications
You must be signed in to change notification settings - Fork 23
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
CMA-ES implementation and Force example #236
Commits on May 10, 2023
-
Added all base method for the CMA-ES component of MTUQ. In the process of streamlining the parallel_cmaes.py implementation.
Configuration menu - View commit details
-
Copy full SHA for 824db10 - Browse repository at this point
Copy the full SHA 824db10View commit details
Commits on May 11, 2023
-
This will be the default file for development. Non-mpi version will be tested but might not be fully developed.
Configuration menu - View commit details
-
Copy full SHA for 6c963f4 - Browse repository at this point
Copy the full SHA 6c963f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d1f841 - Browse repository at this point
Copy the full SHA 1d1f841View commit details -
Corrected a few anomalies in the code. The path and cov update now correspond to purecma python package.
Configuration menu - View commit details
-
Copy full SHA for 90f5751 - Browse repository at this point
Copy the full SHA 90f5751View commit details
Commits on May 15, 2023
-
Create a new example for CMA-ES
Based on GridSearch.FullMomentTensor.py, should provide a nice overview of the basic MT inversion with CMA-ES. Still work in progress.
Configuration menu - View commit details
-
Copy full SHA for b2c1b2d - Browse repository at this point
Copy the full SHA b2c1b2dView commit details -
Added Force source initialization tooltip.
Added a new function to automatically create the list of parameters for force inversion.
Configuration menu - View commit details
-
Copy full SHA for f537215 - Browse repository at this point
Copy the full SHA f537215View commit details -
Configuration menu - View commit details
-
Copy full SHA for a595923 - Browse repository at this point
Copy the full SHA a595923View commit details -
Work in progress Force CMA-ES application. Currently works with the "greens" mode in CMAES.Force.py
Configuration menu - View commit details
-
Copy full SHA for da37420 - Browse repository at this point
Copy the full SHA da37420View commit details -
Update CMAES.FullMomentTensor.py
Fixed import error and cleaned up debug plot.
Configuration menu - View commit details
-
Copy full SHA for 1b79189 - Browse repository at this point
Copy the full SHA 1b79189View commit details -
Configuration menu - View commit details
-
Copy full SHA for 815d735 - Browse repository at this point
Copy the full SHA 815d735View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa596b3 - Browse repository at this point
Copy the full SHA aa596b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c47a0b - Browse repository at this point
Copy the full SHA 2c47a0bView commit details -
Overhauled the script description and populated with comments and recommendations on uses.
Configuration menu - View commit details
-
Copy full SHA for b1ac1bf - Browse repository at this point
Copy the full SHA b1ac1bfView commit details -
Removed local path description for databases.
Local paths referring to my machine have been replaced with "generic" path to be changed by users.
Configuration menu - View commit details
-
Copy full SHA for fd05f34 - Browse repository at this point
Copy the full SHA fd05f34View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72eb74d - Browse repository at this point
Copy the full SHA 72eb74dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e7403de - Browse repository at this point
Copy the full SHA e7403deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f1b81f - Browse repository at this point
Copy the full SHA 2f1b81fView commit details -
Configuration menu - View commit details
-
Copy full SHA for cebdbf9 - Browse repository at this point
Copy the full SHA cebdbf9View commit details -
Configuration menu - View commit details
-
Copy full SHA for af3baee - Browse repository at this point
Copy the full SHA af3baeeView commit details -
Configuration menu - View commit details
-
Copy full SHA for d707242 - Browse repository at this point
Copy the full SHA d707242View commit details
Commits on May 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8fdbd06 - Browse repository at this point
Copy the full SHA 8fdbd06View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c13a2e - Browse repository at this point
Copy the full SHA 0c13a2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c07853f - Browse repository at this point
Copy the full SHA c07853fView commit details
Commits on May 17, 2023
-
Reset boundary handling method back to rand-based, instead of re-initialize.
Configuration menu - View commit details
-
Copy full SHA for de5613a - Browse repository at this point
Copy the full SHA de5613aView commit details
Commits on May 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d9e4bd3 - Browse repository at this point
Copy the full SHA d9e4bd3View commit details -
Slight modification to allow for matplotlib backend plot for _plot_lune_matplotlib and the use of CMA-ES log as input for the main mtuq plot_misfit_lune() function
Configuration menu - View commit details
-
Copy full SHA for 580869f - Browse repository at this point
Copy the full SHA 580869fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4018cc5 - Browse repository at this point
Copy the full SHA 4018cc5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8853946 - Browse repository at this point
Copy the full SHA 8853946View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9345a72 - Browse repository at this point
Copy the full SHA 9345a72View commit details -
Configuration menu - View commit details
-
Copy full SHA for a614901 - Browse repository at this point
Copy the full SHA a614901View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8a771e - Browse repository at this point
Copy the full SHA f8a771eView commit details -
Added the CMA-ES algorithm description in the introduction comment for reference.
Configuration menu - View commit details
-
Copy full SHA for b94f5ad - Browse repository at this point
Copy the full SHA b94f5adView commit details -
Configuration menu - View commit details
-
Copy full SHA for b750600 - Browse repository at this point
Copy the full SHA b750600View commit details
Commits on May 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 82ffdff - Browse repository at this point
Copy the full SHA 82ffdffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 71ecd9e - Browse repository at this point
Copy the full SHA 71ecd9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9495ecc - Browse repository at this point
Copy the full SHA 9495eccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3043a61 - Browse repository at this point
Copy the full SHA 3043a61View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6954577 - Browse repository at this point
Copy the full SHA 6954577View commit details
Commits on Aug 1, 2023
-
Added a Green's function caching option to account for local database use with fixed origin. This fix increases the performance significantly, even if the database mode is not the preferred way of searching solutions for fixed origin.
Configuration menu - View commit details
-
Copy full SHA for 72ac44f - Browse repository at this point
Copy the full SHA 72ac44fView commit details
Commits on Aug 2, 2023
-
Created combined plot for FMT misfit visualization
Combines the matplotlib backends misfit plots (lune and dc) into a figure for CMA-ES visualization.
Configuration menu - View commit details
-
Copy full SHA for 13de416 - Browse repository at this point
Copy the full SHA 13de416View commit details -
Remove un-necessary default option preventing to change the colormap with **kwargs for some reason.
Configuration menu - View commit details
-
Copy full SHA for c64e1b1 - Browse repository at this point
Copy the full SHA c64e1b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb3ed2e - Browse repository at this point
Copy the full SHA bb3ed2eView commit details -
Added ability to plot deviatoric and dc on the lune by padding result DataArrays with v and w = 0 if needed
Configuration menu - View commit details
-
Copy full SHA for 8a94544 - Browse repository at this point
Copy the full SHA 8a94544View commit details -
Update CMAES.FullMomentTensor.py
Added new plotting options, and got rid of temporary parts of the base script.
Configuration menu - View commit details
-
Copy full SHA for f3662c0 - Browse repository at this point
Copy the full SHA f3662c0View commit details
Commits on Aug 3, 2023
-
Implemented basic solve method
Workin version of the future "Solve" method. TODO: clean the deprecated sections of the code, add checks and tests, and docstrings.
Configuration menu - View commit details
-
Copy full SHA for 7180cbb - Browse repository at this point
Copy the full SHA 7180cbbView commit details -
Fix the latitude binning so that it can plot values centered on 0 (requires odd number of grid cells)
Configuration menu - View commit details
-
Copy full SHA for 4514059 - Browse repository at this point
Copy the full SHA 4514059View commit details -
Overhaul of parallel_CMA_ES class
Fixed some of the plotting functions. Adding subroutines for readability and maintenance.
Configuration menu - View commit details
-
Copy full SHA for ce44404 - Browse repository at this point
Copy the full SHA ce44404View commit details
Commits on Aug 4, 2023
-
Reorganized script, changing docstring to unified format, rename the main "Solve" method.
Configuration menu - View commit details
-
Copy full SHA for 699a442 - Browse repository at this point
Copy the full SHA 699a442View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1964643 - Browse repository at this point
Copy the full SHA 1964643View commit details
Commits on Aug 10, 2023
-
Added new docstring for the Solve method and removed a useless input (replaced with inner CMA_ES_parallel mode attribute)
Configuration menu - View commit details
-
Copy full SHA for f283b04 - Browse repository at this point
Copy the full SHA f283b04View commit details -
Update CMAES.FullMomentTensor.py
Remodeled the example script, and modified plotting function.
Configuration menu - View commit details
-
Copy full SHA for 3c402a9 - Browse repository at this point
Copy the full SHA 3c402a9View commit details
Commits on Aug 28, 2023
-
Make sure that colored plots are displayed above the Lune's grid.
Configuration menu - View commit details
-
Copy full SHA for 8547492 - Browse repository at this point
Copy the full SHA 8547492View commit details -
Configuration menu - View commit details
-
Copy full SHA for b878da5 - Browse repository at this point
Copy the full SHA b878da5View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8256b5 - Browse repository at this point
Copy the full SHA f8256b5View commit details -
Removed un-used source file (all functionalities are in the cmaes_parallel.py file, that will soon replace the base cmaes.py file)
Configuration menu - View commit details
-
Copy full SHA for 72df9cc - Browse repository at this point
Copy the full SHA 72df9ccView commit details -
removed cmaes_parallel and replaced by cmaes
Changed cmaes_parallel into cmaes for simplicity.
Configuration menu - View commit details
-
Copy full SHA for 943eed4 - Browse repository at this point
Copy the full SHA 943eed4View commit details
Commits on Aug 29, 2023
-
Corrected a bug that would prevent switching from the 5-column waveform plot to the 3-column waveform plot (if a single dataset/process was given)
Configuration menu - View commit details
-
Copy full SHA for 33906d2 - Browse repository at this point
Copy the full SHA 33906d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 738601a - Browse repository at this point
Copy the full SHA 738601aView commit details
Commits on Sep 4, 2023
-
Enabling polarity misfit in CMA-ES
Tweaked Polarity misfit class to improve compatibility with CMA-ES. Integrated polarity misfit in CMA-ES, and detection of polarity misfit for waveform plotting.
Configuration menu - View commit details
-
Copy full SHA for 60b5126 - Browse repository at this point
Copy the full SHA 60b5126View commit details -
Change checks order for polarity misfit avoidance in plot waveforms.
Configuration menu - View commit details
-
Copy full SHA for bfc7673 - Browse repository at this point
Copy the full SHA bfc7673View commit details -
Configuration menu - View commit details
-
Copy full SHA for ecf99c7 - Browse repository at this point
Copy the full SHA ecf99c7View commit details
Commits on Sep 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 54804d1 - Browse repository at this point
Copy the full SHA 54804d1View commit details
Commits on Sep 19, 2023
-
Fixed bug that prevented using polarity misfit with CMA-ES automatic Solve function (and plotting).
Configuration menu - View commit details
-
Copy full SHA for 194d7e5 - Browse repository at this point
Copy the full SHA 194d7e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 092900a - Browse repository at this point
Copy the full SHA 092900aView commit details
Commits on Sep 20, 2023
-
Added Solve method input check and implemented basic data normalization.
Configuration menu - View commit details
-
Copy full SHA for 2ecfbff - Browse repository at this point
Copy the full SHA 2ecfbffView commit details
Commits on Sep 21, 2023
-
Implemented weighted misfit combination and fixed bugs.
Configuration menu - View commit details
-
Copy full SHA for 2401fab - Browse repository at this point
Copy the full SHA 2401fabView commit details -
Added a workaround for CMA-ES plotting method, where we want to plot the mean instead of the minimum misfit.
Configuration menu - View commit details
-
Copy full SHA for 4244500 - Browse repository at this point
Copy the full SHA 4244500View commit details -
Several bug-solve. Normalization works both in terms of inversion and plotting.
Configuration menu - View commit details
-
Copy full SHA for b7fd4d7 - Browse repository at this point
Copy the full SHA b7fd4d7View commit details
Commits on Sep 25, 2023
-
Allows plotting CMA-ES result (would fail otherwise when encountering a single sample in a bin)
Configuration menu - View commit details
-
Copy full SHA for 13b0eb9 - Browse repository at this point
Copy the full SHA 13b0eb9View commit details -
Revised _plot_lune() input args.
Added a plot_type argument to allow more flexibility when plotting with the Matplotlib backend (allowing pcolormesh, scatter plots and contour plots). Correct docstrings for the _plot_lune_matplotlib() method.
Configuration menu - View commit details
-
Copy full SHA for 05a4b7d - Browse repository at this point
Copy the full SHA 05a4b7dView commit details
Commits on Sep 26, 2023
-
Added "plot_type" argument to force plots functions
Configuration menu - View commit details
-
Copy full SHA for 3dd41c1 - Browse repository at this point
Copy the full SHA 3dd41c1View commit details
Commits on Oct 2, 2023
-
Removed keyword argument in lune plot
Removed unnecessary argument that can go in **kwargs, to follow original syntax.
Configuration menu - View commit details
-
Copy full SHA for 0ece7d8 - Browse repository at this point
Copy the full SHA 0ece7d8View commit details
Commits on Oct 4, 2023
-
Implemented polarity misfit for point-force sources. A test function has also been added in order to verify that the USE convention is respected.
Configuration menu - View commit details
-
Copy full SHA for b1e08e2 - Browse repository at this point
Copy the full SHA b1e08e2View commit details
Commits on Oct 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5550da0 - Browse repository at this point
Copy the full SHA 5550da0View commit details
Commits on Oct 16, 2023
-
Changed the default behavior for the v and w variable to "reinitialize" as it might helps with sampling close to the boundaries (even if making the convergence a bit slower).
Configuration menu - View commit details
-
Copy full SHA for 494a948 - Browse repository at this point
Copy the full SHA 494a948View commit details -
Updated CMA-ES examples with new input syntax (for weighted misfit)
Configuration menu - View commit details
-
Copy full SHA for a84c9b6 - Browse repository at this point
Copy the full SHA a84c9b6View commit details
Commits on Oct 18, 2023
-
Fixed tri-contour bug encountered with NaN values in force plots.
Configuration menu - View commit details
-
Copy full SHA for 4c22271 - Browse repository at this point
Copy the full SHA 4c22271View commit details
Commits on Oct 21, 2023
-
Fixed colormesh on the sphere by splitting the plot in two to avoid projection artifacts.
Configuration menu - View commit details
-
Copy full SHA for f45738d - Browse repository at this point
Copy the full SHA f45738dView commit details
Commits on Nov 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0a4dfeb - Browse repository at this point
Copy the full SHA 0a4dfebView commit details
Commits on Nov 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2d42cf1 - Browse repository at this point
Copy the full SHA 2d42cf1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4caf54e - Browse repository at this point
Copy the full SHA 4caf54eView commit details -
Changed default behavior for h to reinitialize for better exploration of both up and down hemispheres.
Configuration menu - View commit details
-
Copy full SHA for 4cc82dd - Browse repository at this point
Copy the full SHA 4cc82ddView commit details -
Defined default example for the Force CMA-ES, based on the Barry Arm glacier Landslide
Configuration menu - View commit details
-
Copy full SHA for 2099f80 - Browse repository at this point
Copy the full SHA 2099f80View commit details -
Update CMAES.FullMomentTensor.py
Modified default weights for CMA.Solve in the database mode.
Configuration menu - View commit details
-
Copy full SHA for b1f24d8 - Browse repository at this point
Copy the full SHA b1f24d8View commit details -
Modified figure naming conventions.
Changed naming convention for figures, and added event_id field in example CMA object initialization.
Configuration menu - View commit details
-
Copy full SHA for b5d7dd2 - Browse repository at this point
Copy the full SHA b5d7dd2View commit details -
Configuration menu - View commit details
-
Copy full SHA for eebc577 - Browse repository at this point
Copy the full SHA eebc577View commit details
Commits on Nov 3, 2023
-
Added data from the Barry Arm landslide for force inversion examples.
Configuration menu - View commit details
-
Copy full SHA for 1c7f98d - Browse repository at this point
Copy the full SHA 1c7f98dView commit details -
Modified naming conventions for force GF
Allowing different naming conventions for long-period data (MXZ, MXR, MXT on top of BXZ, BXR, BXT)
Configuration menu - View commit details
-
Copy full SHA for ae3158e - Browse repository at this point
Copy the full SHA ae3158eView commit details
Commits on Nov 6, 2023
-
Added automatic force plot in the Solve method
Added the force sphere plot during the plotting phase of the Solve method. Also fixed the mean misfit location as the green circle in the plot (in-lieu of the minimum of the misfit map).
Configuration menu - View commit details
-
Copy full SHA for 13d9d5d - Browse repository at this point
Copy the full SHA 13d9d5dView commit details -
Added scatter plot functionality to force mode. The behavior will now be to return a different plot for each mode (Lune or Force sphere) based on CMA-ES mode (mt, mt_dc, mt_dev or force).
Configuration menu - View commit details
-
Copy full SHA for d6b451a - Browse repository at this point
Copy the full SHA d6b451aView commit details -
Update CMAES.FullMomentTensor.py
Added rank.0 plotting function (would otherwise cause problems on parallel jobs).
Configuration menu - View commit details
-
Copy full SHA for c100729 - Browse repository at this point
Copy the full SHA c100729View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5033491 - Browse repository at this point
Copy the full SHA 5033491View commit details -
Created the Force Example for MTUQ based on the Barry Arm glacier landslide.
Configuration menu - View commit details
-
Copy full SHA for dd38642 - Browse repository at this point
Copy the full SHA dd38642View commit details -
Configuration menu - View commit details
-
Copy full SHA for c08ba70 - Browse repository at this point
Copy the full SHA c08ba70View commit details -
Configuration menu - View commit details
-
Copy full SHA for a7dc653 - Browse repository at this point
Copy the full SHA a7dc653View commit details -
Updated comment before final commit and PR.
Configuration menu - View commit details
-
Copy full SHA for 38798f2 - Browse repository at this point
Copy the full SHA 38798f2View commit details -
Change the type of import to mimic import of mpi4py in example scripts.
Configuration menu - View commit details
-
Copy full SHA for 916d845 - Browse repository at this point
Copy the full SHA 916d845View commit details -
Configuration menu - View commit details
-
Copy full SHA for 77625ab - Browse repository at this point
Copy the full SHA 77625abView commit details