Skip to content

Instantly share code, notes, and snippets.

Created Dec 16, 2021
What would you like to do?
How to write an ML example
# All I'm looking for on an ML example:
# ! pip install name_of_library
from name_of_library import model, other_stuff
tdata = load_data_from_file() # not a built-in datasets source where I'd need to write python to add data
tdata.apply(changes) # whose dataset is so perfect we don't edit it
model.train(tdata, **explained_params)
real_output = model.predict(real_input)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment