It's very simple: here are the solutions for the titanic competition
-
Clone the repository or download the archive from github or using the following commands on the command line
$cmd $ git clone https://github.com/BEPb/kaggle_titanic $ cd kaggle_titanic
-
Create a Python virtual environment.
-
Install all necessary packages for our code to work using the following command:
pip install -r requirements.txt
-
file list
- data - directory with data files
- data/titanic.zip - archive of the initial tabular data of the competition (3 files)
- data/gender_submission.csv - one of the original data files
- data/test.csv - one of the original data files
- data/train.csv - one of the original data files
- notebooks - directory with jupiter notebooks
- notebooks/eda_and_analysis - directory with notebooks food and data analysis
- notebooks/eda_and_analysis/titanic_universal_eda.ipynb - universal food notebook
- notebooks/eda_and_analysis/titanic_eda.ipynb - food notebook
- notebooks/solutions - directory with notebook solutions
- python_code - directory with python code solutions
- Well, as a result of the training, I wrote a console application that, based on the model, predicts whether the
passenger whose data you enter in the fields will survive or not.
- python_code/Titanic_gui.py
prediction for my data, let's say I'm traveling first class with my family:
prediction for data from a set: