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:
modelEquation or callable()

model(X) -> y (an Equation or any function of a matrix).

boundsarray_like of shape (n, 2), optional

Ranges of the inputs; default: the ranges of X.

nint

Base sample size; the cost is \(n(d+2)\) evaluations.

Returns:
pandas.DataFrame

S1 (first order: share of variance explained by the variable alone) and ST (total: including all its interactions). \(\sum S_1\le 1\), and \(S_T-S_1\) measures interactions.

Examples using eqdisco.analysis.sobol_indices#

Sensitivity analysis of a discovered model

Sensitivity analysis of a discovered model