Exercises / ml
Train/test split
split(xs, ratio=0.75) returns (train, test) keeping order: first 75% train. Print lengths for 8 items.
Live Pythonpython
Output
Run to execute this in your browser. Nothing is sent to a server.
Exercises / ml
split(xs, ratio=0.75) returns (train, test) keeping order: first 75% train. Print lengths for 8 items.
Run to execute this in your browser. Nothing is sent to a server.