Skip to content

ahany42/Titanic-Kaggle-Competition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Titanic Kaggle Competition

πŸ› οΈ Setup & Installation

Clone the repository
git clone https://github.com/ahany42/Titanic-Kaggle-Competition.git
cd Titanic-Kaggle-Competition

Create a virtual environment
python -m venv venv
source venv/bin/activate (On Windows: venv\Scripts\activate)

Install dependencies
pip install -r requirements.txt

πŸ“Š Exploratory Data Analysis (EDA)

Check out the Titanic Notebook: titanic-competition.ipynb for insights into the dataset, missing values, and feature engineering.

πŸ† Model Training & Evaluation

To run the notebook, open Jupyter and execute the cells in titanic-competition.ipynb.

πŸš€ Submission

To generate predictions for submission:

  1. Run the entire notebook.
  2. Save the final predictions as submission.csv.
  3. Upload submission.csv to Kaggle.

πŸ“œ Results

  • Best model: NaΓ―ve Bayes
  • Best accuracy: 82.68%

πŸ“Œ Key Learnings

  • Handling missing values in the dataset.
  • Encoding categorical features for better model performance.
  • Comparing multiple models to find the best-performing one.

πŸ“’ Contributing

Feel free to fork this repo, open issues, or submit pull requests if you have suggestions!

πŸ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.


πŸš€ Let's win this Kaggle competition! πŸ†

Releases

No releases published

Packages

No packages published