Primary competition visual

AutoInland Vehicle Insurance Claim Challenge

Helping Nigeria
$1 000 USD
Completed (over 4 years ago)
Prediction
1606 joined
632 active
Starti
Mar 26, 21
Closei
Jun 27, 21
Reveali
Jun 27, 21
how to deal with ID coloum?
Data · 1 Jul 2021, 09:32 · edited 4 minutes later · 6
can someone help me how do i deal with ID coloumn? while i am trying to fit the model i am getting the error "could not convert string to float". ID_7SDHDVF. in my data frame my ID coloumn is Dtype- Object. 
here is my notebook 
https://colab.research.google.com/drive/1JlwggI8j3xQcfKRF-SGcjsoYM09x9dAy?usp=sharing
Discussion 6 answers
User avatar
Dara_Adepoju

Hi, you should drop the ID column. It's not necessary

1 Jul 2021, 09:46
Upvotes 0

thanks a lot ! will try .

hello dara, as the competition is over can you please share your notebook , only for my learning purpose only. if it is possible please share it really helps me to learn. thanks a lot !!

User avatar
Dara_Adepoju

Hi, I'm just seeing this, I will send you a private message so that we can talk more.

User avatar
Houssem_Kehal
Ecole nationale supérieure de statistiques et d'economie appliquée

X = full_df.drop(["ID","Policy Start Date"," Policy End Date","First Transaction Date","target"],axis = 1)

Except for the target, all these variables are object types you should drop from your dataset before training the model.

thanks a lot ! will try and check