Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
def split_data(data: pd.DataFrame, test_data_ratio: float, classes: list) -> Dict[str, Any]:
X_train, X_test, y_train, y_test = ...
import pickle
pickle.save(...)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment