No. | Field Name | Description |
---|---|---|
1 | Passenger Class | The passenger’s class (1 = First class, 2 = Second class, 3 = Third class). |
2 | Survived | Whether the passenger survived (0 = No, 1 = Yes). |
3 | Name | The passenger’s name. |
4 | Sex | The passenger’s gender (Male or Female). |
5 | Age | The passenger’s age in years. |
6 | SibSp | The number of siblings/spouses aboard the Titanic. |
7 | Parch | The number of parents/children aboard the Titanic. |
8 | Ticket | The passenger’s ticket number. |
9 | Fare | The fare paid by the passenger. |
10 | Cabin | The cabin number occupied by the passenger. |
11 | Embarked | The port of embarkation (C = Cherbourg, Q = Queenstown, S = Southampton). |
12 | Boat | Lifeboat |
13 | Body | Body number (if did not survive and body was recovered) |
14 | Home_dest | Destination |
To run the code, it's necessary to have the following packages:
- Pandas
- Numpy
- Matplotlib
- Seaborn
- Scikit-learn
- imbalanced-learn
Installing the packages can be done by running pip install <Package-Name>
To run the code, execute each notebook cell in order or press the button run all
to run all cells at order.