Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Win or Loss Prediction
#5
I used the below sample code (given only some part). Imported the data from excel and dropped few cols, just had the data as per attached file. Created train and test data and tried out Logistic, SVC and XGB method.. but am not sure how to arrive at a position in which I could see the list of IDs I have given is either Won or loss with percentage.

import xgboost as xgb
from sklearn.linear_model import LogisticRegression
from sklearn.svm import SVC
from IPython.display import display
......formatting and train,test code
finally

clf.fit(X_test,Y_test)
clf.predict(X_test)

I want to know in Python the process to do won Loss analysis with the uotput saying the opportunities can either be won or loss and also percentage included in it.
Reply


Messages In This Thread
Win or Loss Prediction - by ksasi2k3 - Apr-24-2024, 06:45 PM
RE: Win or Loss Prediction - by deanhystad - Apr-24-2024, 07:58 PM
RE: Win or Loss Prediction - by ksasi2k3 - Apr-25-2024, 07:06 AM
RE: Win or Loss Prediction - by Pedroski55 - Apr-25-2024, 08:08 AM
RE: Win or Loss Prediction - by ksasi2k3 - Apr-25-2024, 01:46 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  hyperparameters do not make a difference in prediction jenya56 0 1,004 Sep-15-2021, 12:53 PM
Last Post: jenya56
  Free space loss 3D Plot scimi 1 1,805 Sep-25-2020, 01:37 PM
Last Post: scimi
  Tableau Time Series Prediction using Python Integration tobimarsh43 0 1,940 Jul-24-2020, 10:38 AM
Last Post: tobimarsh43
  Correlation & Prediction - Help Danijel 2 2,872 Jul-12-2018, 11:08 PM
Last Post: Danijel

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020