Primary competition visual

African Credit Scoring Challenge

Helping Africa
$5 000 USD
Completed (almost 2 years ago)
2064 joined
1020 active
Starti
29 Nov 24
Closei
12 Jan 25
Reveali
13 Jan 25
Cv 0.995 F1
Help · 9 Jan 2025, 13:06 · 21

i am getting CV as 0.995 F1 but cant pass 0.706 score on LB. Does anyone can suggest me the possible reasons?

Discussion 21 answers
User avatar
marching_learning

The 0.995 is achieved with F1 or ROC AUC, if is F1 then it is massive. I think the shake-up will be MAD.

Upvotes 0
User avatar
Upvotes 0
User avatar
marching_learning

Thanks for you answer. Is it proper cross validation or juste one fold. I'm trying to understand. If is proper CV, I will trust my CV if I was you.

Upvotes 0
User avatar

It was proper CV with 5 folds, balanced with skfold

Upvotes 0
User avatar
josh_amayo

Perhaps investigate the features and confirm whether there's no unintentional leakage for your val set?

Upvotes 0
User avatar

Thanks for your reply! I had alredy investigated it properly there is no unintentional leakage.

Upvotes 0
User avatar
the_specialist

The test data has Ghana data which is not in your training data. I suspect the large difference is in the introduction of Ghana dataset in the test set.

Upvotes 0
User avatar

Thanks For Replying!! Yeah you are right test data has alot of irregularity because of Ghana. Let's see what happens! Will have to wait till the deadline!!

Upvotes 0
User avatar

I think it's becauseo the public leaderboard that we have now only has 30% of the total dataset. The test dataset also has a different distribution from the train and val distributions. These may result in your score being significantly lower n the public lb but can be a lot higher on the private lb. Looking at your CV score, I'd suggest you stick to your results and trust your CV. There will definitely be a massive shake-up in the private lb and you'll most likely be at the top.

Upvotes 0
User avatar

Thanks For Replying! I understood it now. Let's hope for the best!! :))

Upvotes 1
User avatar
Luis_okech

getting a high score without cv 71 but low on groupfold and kfold. for those who are at 80 o lb, is it feature engineering or model tuning that you are using

Upvotes 0
User avatar

Model tuning won't impact much if you haven't done feature engineering.

Upvotes 0
User avatar

I tried feature selection!

Upvotes 0
User avatar
AI_Maven

Did you address imbalance with Smote?

When i used smote (and feature engineering) i was getting a cv score of 0.996 and a val score of 0.9983.

But when i addressed the imbalance with a different method, the cv changed, i was getting a score of around 0.83

Upvotes 1
User avatar
josh_amayo

How'd your lb score change with both methods? I always get worse scores on both with smote so I don't even bother using it

Upvotes 0
User avatar

I tried smote and addresses imbalanced too!

Upvotes 0
User avatar

With smote and without smote the impact on lb wasnt much. Just a 0.01 difference was there.

Upvotes 0
User avatar
josh_amayo

Fair enough, when I set sample weights I got a much better score than smote

Upvotes 0
User avatar

Have you tried folding or grouping techniques?

Upvotes 0
User avatar
AI_Maven

For cross_validation?

Upvotes 0
User avatar
heythem

u're using the blanced data for testing after u blace the data and train the model on it try to eval the model on data that is not balaced keep it close to the original

Upvotes 0