Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Design a Java application that will read a file containing data related to the p

ID: 642951 • Letter: D

Question

Design a Java application that will read a file containing data related to the
passengers on the Titanic. The description of the file is shown below. The application should
provide statistical results on the passengers including:
a. Total number of passengers on the Titanic
b. Total number of passengers who perished on the Titanic
c. Total number of Passengers who survived the sinking of the Titanic
d. Number of passengers who survived the sinking of the Titanic as a function of the
passenger class (e.g. 1,2,3)
e. Number of passengers who survived the sinking of the Titanic as a function of the
passenger gender (e.g., male, female)
f. A list of the names of passengers who paid greater than $200 for their tickets
g. A list of the names of passengers who were less than 10 years old who survived the
sinking of the Titanic
h. A list of the names of passengers who were less than 10 years old who perished on the
Titanic
i. The count of the number of passengers as a function of the first letter of their last name.
(e.g., A: 13, B:33

Explanation / Answer

Classified data of the passengers who were on the Titanic Ship. For each passenger also have the information whether he survived or not.

Apply the tools of machine learning to predict which passengers survived the tragedy.

Solution (In R Language):

#Read the training data set :

data <- read.csv(