Skip to main content

Estimate Variance Based on U-Statistics (EVBUS)

Project description

This is a python implementation of the paper: Mentch, L. & Hooker, G. Quantifying Uncertainty in Random Forests via Confidence Intervals and Hypothesis Tests. J. Mach. Learn. Res. 17, 1–41 (2016).


pip install EVBUS


from EVBUS import calculate_variance
from sklearn.datasets import load_boston
import sklearn.model_selection as xval

boston = load_boston()
Y =[:, 12]
X =[:, 0:12]

bos_X_train, bos_X_test, bos_y_train, bos_y_test = xval.train_test_split(X, Y, test_size=0.3)

v = calculate_variance(bos_X_train, bos_y_train, bos_X_test, reg=True)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
EVBUS-0.0.5.tar.gz (4.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page