Apr-25-2024, 01:46 PM
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.
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.