Professional Documents
Culture Documents
Step 1) we implemented all libraries we need for the code such as tensorflow / keras / numpy /
pandas
Step 2) we got the dataset from kaggle competetion as splitted train data and test data then
uploaded it to our code
Step 3) we started to preprocess the dataset: this may include handling missing values,
encoding categorical variables, scaling features, and splitting the data into training, validation,
and test sets.
1) we filled the missing values in Age column by the median of values in it
2) we filled the missing values in Embarked coulmns by the mode of its values
5) we added family columns and we added in it the sum of Siblings and Parch of every
passenger then we split it by catigoris as single/ couple/large group
6) we removed 6 unnecessary coulmns with useless information
"PassengerId","Cabin","Name", "SibSp", "Parch", "Ticket","Age"