-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathLSA.txt
More file actions
29 lines (21 loc) · 764 Bytes
/
LSA.txt
File metadata and controls
29 lines (21 loc) · 764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
===========================
USAGE
===========================
ipython:
from nested.lsa import *
from nested.optimize_utils import OptimizationHistory
history = OptimizationHistory(file_path='example.hdf5')
sa = ParameterSensitivity(history)
# produces a plot of GINI importances
# produces a plot of absolute R coefficients resulting from local sensitivity analysis
sa_plot, sa_perturb = sa.run_analysis()
jupyter notebook:
(see https://stackoverflow.com/a/55848505 for setting up the notebook if needed)
import ipympl
%matplotlib widget
from nested.lsa import *
from nested.optimize_utils import OptimizationHistory
pop = OptimizationHistory(file_path='example.hdf5')
sa = ParameterSensitivity(pop, jupyter=True)
sa.
sa.plot_final_colormap()