eqdisco.analysis.sobol_indices#
- eqdisco.analysis.sobol_indices(model, bounds=None, X=None, n=4096, random_state=0, feature_names=None)[source]#
First-order and total Sobol indices on independent uniform inputs.
- Parameters:
- model
Equationorcallable() model(X) -> y(anEquationor any function of a matrix).- boundsarray_like
ofshape(n, 2),optional Ranges of the inputs; default: the ranges of
X.- n
int Base sample size; the cost is \(n(d+2)\) evaluations.
- model
- Returns:
pandas.DataFrameS1(first order: share of variance explained by the variable alone) andST(total: including all its interactions). \(\sum S_1\le 1\), and \(S_T-S_1\) measures interactions.