Professional Documents
Culture Documents
Gradient Descent
Gradient Descent
Titanic Discussion:
Section A:
In Titanic dataset we can predict survivorship by
considering below attributes with given
calculations:
1)Survived
2) Sex
3)Pclass
4)Embarked
Survived+Sex:UsingSurvivedandSexattribute,Wecan
establishedthatinthethiscreaticalcasefemalesgot
aprioritytosavethemselvesasbelowcalculation
stated:
TotalNumberofPassenger+crew(Male+Female)=891
Sex
Male
Female
Total
Number
577
314
Survive
d
109
233
Death
468
81
Survivorship
%
~19
~74
Survived+Pclass:
Usingdataofboththeseattribute,Wecanstatethat
passengerofhigherclasslike(1st,2nd)
Haveadvantageofbelowpoints:
1)Theyareneartosuchlocationfromwherethecan
easilyreachtolifesavingfacilities.
2)Theycanhavemoreoptiontosavethemselves.Like
lifesavingjacketsandall.
3)TheymayseatedinFirsthalfofTitanicasShip
Startedsinkingfrombackhalf.
Pclass
1
2
3
Total
Number
216
184
491
Survive
d
136
87
119
Death
Survivorship
%
~63
~47
~24
80
97
372
3)Sex+Embarked+Survived:
Combinationofthese3parametergivesusnumberof
femalesurvivedfromeachEmbarkedstationandalso
support1sthypothesisofthispaper:
Embarked
Total
Number
Total
Survived
Total
Female
Survived
Total
Female
Survived
S
C
Q
644
168
30
217
93
36
203
73
372
140
64
27
Name,SibSp,Parch
SectionB:
Ticket:
UsingTicketattribute,wecantracetheirrespective
probableclassesandtheirsurvivorship.
SectionC:
Topredictcabinmissingvalueswecanusebelow
parameters:
ByusingFarerangeandrelativecabinnumberand
Pclasswecanpredictthosevalue.