View memory_repro.py
This file contains 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
from evalml.automl import AutoMLSearch | |
from evalml.preprocessing import split_data | |
import pandas as pd | |
X = pd.read_csv("/Users/freddy.boulton/Downloads/nyc_taxi.csv") | |
y = X.pop("trip_duration") | |
X_train, X_validation, y_train, y_validation = split_data( | |
X, y, problem_type="regression", test_size=0.5, random_seed=0 | |
) |