Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

output file "data/output/logitregres.csv" contains the survived values other than {0,1} #18

Closed
srini09 opened this issue Jul 2, 2017 · 2 comments

Comments

@srini09
Copy link

srini09 commented Jul 2, 2017

Thanks for the great article and code. I see that direct submission of output file to kaggle results in error and it says Survived column values must be either 0 or 1.

Am I missing something? Should I have a cutoff and turn them in to 0 or 1?

@vincentgc
Copy link

The cutoff should be 0.

@srini09
Copy link
Author

srini09 commented Jul 8, 2017

Thanks. Closing the issue.

@srini09 srini09 closed this as completed Jul 8, 2017
praveenbommali added a commit to praveenbommali/kaggle-titanic that referenced this issue Oct 12, 2017
data  indexing was  inappropriate for the operation  taking care
Lines agconti#18,agconti#19 index 3 ,  we have Name of passenger but not  gender ,  so all the time we'll  get  false  
Lines agconti#26,agconti#27,agconti#28 , proportions should be  calculated on  Survived column , not  on PassengerId
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants