Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vivek1240/0f913746037764aaaffd90afff0a41df to your computer and use it in GitHub Desktop.
Save vivek1240/0f913746037764aaaffd90afff0a41df to your computer and use it in GitHub Desktop.
#Making Predictions
prediction_category= {0:'Refunds',1:'Cancellation',2:'Others',3:'Amendment',4:'Website Error'}
my_prediction = clf2.predict([data])
my_prediction= my_prediction[0]
my_prediction= prediction_category[my_prediction]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment