python data analysis project

Anonymous
timer Asked: Apr 26th, 2017

Question description

Introduction

Use five-fold mode and separate the data into training and testing sets.

Data Dictionary description

Variable      Definition                                           Key
survival       Survival                                               0 = No, 1 = Yes
pclass          Ticket class                                         1 = 1st, 2 = 2nd, 3 = 3rd
sex              Sex              
Age             Age in years                   
sibsp           # of siblings/spouses
parch          # of parents/children
fare             Passenger fare              
embarked  Port of Embarkation                         C = Cherbourg, Q = Queenstown, S = Southampton
 
 

Variable Notes

pclass: A proxy for socio-economic status (SES)
1st = Upper
2nd = Middle
3rd = Lower
age: Age is fractional if less than 1. 
sibsp: The dataset defines family relations in this way...
Sibling = brother, sister, stepbrother, stepsister
Spouse = husband, wife (mistresses and fiancés were ignored)
parch: The dataset defines family relations in this way...
Parent = mother, father
Child = daughter, son, stepdaughter, stepson
Some children travelled only with a nanny, therefore parch=0 for them.
 

Analysis requirement:

1. How is the survival chance related to the gender?
2. How is the survival chance related to age?
3. How is the survival chance related to socio-economic status?
5. What are the first three most important factors related to the survival chance?
6. What is average prediction accuracy?

Studypool has helped 1,244,100 students
flag Report DMCA
Similar Questions
Hot Questions
Related Tags
Study Guides

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors