Created
September 11, 2018 22:28
-
-
Save groverpr/a8bd78d12444d85f3975d838a61dbfb9 to your computer and use it in GitHub Desktop.
simulating friedman data for comparison studies
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# simulating 10,000 data points with 2 useless and 5 uniformly distributed features | |
X, y = make_friedman1(n_samples=10000, n_features=7, noise=0.0, random_state=11) | |
# train-validation split | |
X_train, X_valid, y_train, y_valid = train_test_split(X, y, test_size=0.20, random_state=42) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment