Skip to content

Instantly share code, notes, and snippets.

@francoismarceau29
Last active July 11, 2017 16:51
Show Gist options
  • Save francoismarceau29/4cedb702e85943789d5c567c5c7ad10f to your computer and use it in GitHub Desktop.
Save francoismarceau29/4cedb702e85943789d5c567c5c7ad10f to your computer and use it in GitHub Desktop.
Make prediction from Scikit model
def predict(data):
# Process your data, create a dataframe/vector and make your predictions
final_formatted_data = []
return load_model().predict(final_formatted_data)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment