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