Created
May 6, 2020 11:41
-
-
Save Praveenk8051/4902399e3edecd92231ec3866e6a9634 to your computer and use it in GitHub Desktop.
model prediction
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
# prediction | |
results = model.predict(test) | |
# Index with the maximum probability | |
results = np.argmax(results,axis = 1) | |
results = pd.Series(results,name="Label") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment