Spaces:
Runtime error
Runtime error
Gagan Bhatia
commited on
Commit
•
e057e5a
1
Parent(s):
549c442
Update train_model.py
Browse files
src/models/train_model.py
CHANGED
@@ -14,6 +14,7 @@ def train_model():
|
|
14 |
params = yaml.safe_load(f)
|
15 |
|
16 |
# Load the data
|
|
|
17 |
|
18 |
train_df = train_df.sample(frac=params['split'], replace=True, random_state=1)
|
19 |
eval_df = eval_df.sample(frac=params['split'], replace=True, random_state=1)
|
|
|
14 |
params = yaml.safe_load(f)
|
15 |
|
16 |
# Load the data
|
17 |
+
train_df = pd.read_csv("data/processed/train.csv")
|
18 |
|
19 |
train_df = train_df.sample(frac=params['split'], replace=True, random_state=1)
|
20 |
eval_df = eval_df.sample(frac=params['split'], replace=True, random_state=1)
|