DSN AI Bootcamp Qualification Hackathon by Data Science Nigeria

Knowledge

Predict customers who will default on a loan

888 data scientists enrolled, 521 on the leaderboard

Nigeria

9 September—3 October

Ends in 8 days

Predict_proba

I tried to save the predicted values using predict_proba but instead the probability is saved as opposed to the format in the sample submission

please could u be more simpler in your explanation?

It is okay, you can submit either probabilities or actual predictions.

Now, when you use the predict_proba method, you get an array of a shape (nx2) where n is the number of rows (data points) and 2 is the number of columns (first column for the probability of classification as -1 and second for +1). Just use the second column and submit the probabilities, your score would definitely increase than submitting the actual predictions.

FYI, you can use model.predict_proba[: , 1] to get exactly the probability classifications for +1 and submit them.