VineForestRegressor.predict

VineForestRegressor.predict(X)

Predicts conditional mean and/or quantiles from the ensemble.

Computes ensemble-averaged weights via _iter_weights and applies the same weighted statistics as predict(): weighted average of training responses for the mean, weighted quantile (inverted CDF) for each requested level.

Parameters:
Xndarray, shape (n_samples, n_features), dtype float, or DataFrame

Test covariates.

Returns:
ndarray, shape (n_samples,) or (n_samples, n_outputs), dtype float

Predictions. Shape (n_samples,) if only one output is requested, otherwise (n_samples, n_outputs). Output columns are ordered: mean (if enabled), then quantiles in the order configured on the base estimator.