Skip to content

Instantly share code, notes, and snippets.

@khuyentran1401
Created November 5, 2021 21:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save khuyentran1401/830cc33935921e2e7a7ee272f8d6faca to your computer and use it in GitHub Desktop.
Save khuyentran1401/830cc33935921e2e7a7ee272f8d6faca to your computer and use it in GitHub Desktop.
from prefect import task, Flow, Parameter
test_data_ratio = Parameter("test_data_ratio", default=0.2)
train_test_dict = split_data(data=categorical_columns,
test_data_ratio=test_data_ratio,
classes=classes)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment