Last active
July 11, 2017 16:51
-
-
Save francoismarceau29/4cedb702e85943789d5c567c5c7ad10f to your computer and use it in GitHub Desktop.
Make prediction from Scikit model
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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