Skip to content

Commit

Permalink
changed the train test split
Browse files Browse the repository at this point in the history
  • Loading branch information
pgurazada committed Jul 22, 2023
1 parent 59e4051 commit a6f51f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/jobs/pipelines/nyc-taxi/src/train/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
]

# Split the data into train and test sets
trainX, testX, trainy, testy = train_test_split(X, y, test_size=0.3, random_state=42)
trainX, testX, trainy, testy = train_test_split(X, y, test_size=0.2, random_state=42)
print(trainX.shape)
print(trainX.columns)

Expand Down

0 comments on commit a6f51f2

Please sign in to comment.