Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lim185 committed Dec 8, 2024
1 parent c6d8a75 commit ffe9db0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def main():
spark = SparkSession.builder.appName("train").getOrCreate()
pipe = SpectrogramPipe(spark)
data = pipe.spectrogram_pipe(path, labels)
train_df, validation_df, test_df = data.randomsplit([0.8, 0.1, 0.1],
train_df, validation_df, test_df = data.randomSplit([0.8, 0.1, 0.1],
seed=42)
print(train_df.count())
print(validation_df.count())
Expand Down

0 comments on commit ffe9db0

Please sign in to comment.