Searched refs:train_fraction (Results 1 – 1 of 1) sorted by relevance
74 def dataset(y_name="price", train_fraction=0.7): argument125 return bucket_id < int(train_fraction * num_buckets)166 def load_data(y_name="price", train_fraction=0.7, seed=None): argument197 x_train = data.sample(frac=train_fraction, random_state=seed)