barcelonacode / Titanic-Survival

2 stars 1 forks source link

Better Alogirthms to predict who will survive? #1

Open barcelonacode opened 5 years ago

barcelonacode commented 5 years ago

Need tuning of algorithms and better algorithms needed to impore accuracy.

rahul21198 commented 5 years ago

@barcelonacode we can use Decision tree and Neural network to get better accuracy

rahul21198 commented 5 years ago

I would like make these improvement s in this code :

Better data cleaning.

Droping the cabin data making use of progressive technique to find out the mean from the given data and replacing the unknown values add new graphs providing better understanding : sex-count Pclass-sex Pclass-person(male,female,child)using age Count-age group Adding Kernel density estimation plot to for male/female age density cabin-count Pclass-survived Chances of survival under different circumstances. Analysing the factors using decision tree. Using one hot encoding instead of number for better analytical result

barcelonacode commented 5 years ago

How will you replace Gender with numbers? ref line No: [163]

rahul21198 commented 5 years ago

i will be replacing male and female using one hot encoding technique. male->[1,0,0] female->[0,1,0]

barcelonacode commented 5 years ago

Why are you using one hot encoding

rahul21198 commented 5 years ago

REFER - https://machinelearningmastery.com/why-one-hot-encode-data-in-machine-learning/ for better understanding of it .

rahul21198 commented 5 years ago

Moreover better datacleaning has lead to more distinct defined results .

barcelonacode commented 5 years ago

This might work better.