Bases: BaseEstimator, RegressorMixin
Bootstrap ensemble of any eqdisco regressor.
- Parameters:
- estimator
estimator, optional A regressor with an equation_ attribute after fitting (default
SymbolicRegressor with a small budget).
- n_estimators
int, default=10
- max_samples
float, default=1.0 Size of each bootstrap sample as a share of the data.
- aggregate{“mean”, “median”}
- random_state
int, optional
- Attributes:
- estimators_
list
- equations_
list of Equation
-
predict_all(X)[source]
Predictions of every member, shape (n_estimators, N).
-
predict_interval(X, coverage=0.9)[source]
Lower and upper quantiles of the member predictions (model uncertainty only).
-
structure_frequency(min_support=0.3, max_size=9)[source]
Building blocks shared by the members (eqdisco.analysis.building_blocks.frequent_building_blocks()).
-
variable_frequency()[source]
Share of members that use each variable.