The problem of problem solving
HOW TO DEVELOP A FORTUNE TELLER.
Ok, I have to take Titanic data; info about the people aboard the ship.
Titanic ticket #435 is held by Johnny; a 12 years old, 3rd class citizen, male, two brothers aboard, both parents.
WILL JOHNNY BE SAVED??!?!?!
More specifically, is someone of Johnny's demographic going to survive? Are 3rd class little boys with big families able to get on one of the limited number of rafts and safety boats? Certainly not before 1st class little boys. Ahhhh PRIVILEGE.
Developing the FORTUNE TELLER.......
We first must TRAIN the fortune teller. We take 891 of the 1309 Titanic passengers, and we TELL the fortune teller whether each one of those 891 people survived so it can learn.
How the FORTUNE TELLER learns.....
This is what we know about each member of the Titanic training set
VARIABLE DESCRIPTIONS:
survival Survival
(0 = No; 1 = Yes)
pclass Passenger Class
(1 = 1st; 2 = 2nd; 3 = 3rd)
name Name
sex Sex
age Age
sibsp Number of Siblings/Spouses Aboard
parch Number of Parents/Children Aboard
ticket Ticket Number
fare Passenger Fare
cabin Cabin
embarked Port of Embarkation
(C = Cherbourg; Q = Queenstown; S = Southampton)
Testing the FORTUNE TELLER.......
We then take the remaining 418 of the 1309 Titanic passengers, and we ASK the fortune teller whether or not each one of them survived. Since we already know who did, we can find out how accurate our fortune teller is!
Comments
Post a Comment