{"id":24475120,"url":"https://github.com/johnkou97/spaceship-titanic","last_synced_at":"2026-05-03T23:37:23.088Z","repository":{"id":181072936,"uuid":"662205525","full_name":"johnkou97/Spaceship-Titanic","owner":"johnkou97","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-13T21:26:09.000Z","size":74,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-11T00:20:56.688Z","etag":null,"topics":["classification","data-science","decision-trees","machine-learning","python","scikit-learn","supervised-learning"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johnkou97.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-04T15:25:56.000Z","updated_at":"2024-12-03T14:05:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"afe55f21-aed9-4fe5-8dd2-ed8131a064ce","html_url":"https://github.com/johnkou97/Spaceship-Titanic","commit_stats":null,"previous_names":["johnkou97/spaceship-titanic"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/johnkou97/Spaceship-Titanic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnkou97%2FSpaceship-Titanic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnkou97%2FSpaceship-Titanic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnkou97%2FSpaceship-Titanic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnkou97%2FSpaceship-Titanic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnkou97","download_url":"https://codeload.github.com/johnkou97/Spaceship-Titanic/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnkou97%2FSpaceship-Titanic/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32589262,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"ssl_error","status_checked_at":"2026-05-03T22:09:10.534Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["classification","data-science","decision-trees","machine-learning","python","scikit-learn","supervised-learning"],"created_at":"2025-01-21T09:13:40.075Z","updated_at":"2026-05-03T23:37:23.053Z","avatar_url":"https://github.com/johnkou97.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spaceship-Titanic on Kaggle\n\n## Introduction\n\nThis is my attempt to solve the Spaceship Titanic problem on Kaggle. The problem is to predict whether a passenger was transported to another dimension or not. The data is provided by Kaggle and can be found [here](https://www.kaggle.com/c/Spaceship-Titanic/data). \n\nAll the models that I have used are from the [scikit-learn](https://scikit-learn.org/stable/) library. For consistency, the same data preprocessing steps were used for all the models. \n\n\n## Files\n\n`DownloadData.py` - Downloads the data from Kaggle\n\n`AdaBoost.py` - AdaBoost classifier\n\n`Bagging.py` - Bagging classifier\n\n`ExtraTrees.py` - ExtraTrees classifier\n\n`GBM.py` - Gradient Boosting classifier\n\n`KNN.py` - K-Nearest Neighbors classifier\n\n`LogReg.py` - Logistic Regression classifier \n\n`Naive_Bayes.py` - Naive Bayes classifier\n\n`Neural.py` - Neural Network classifier\n\n`Random_Forest.py` - Random Forest classifier\n\n`Stacking.py` - Stacking classifier\n\n`SVM.py` - Support Vector Machine classifier\n\n`Tree.py` - Decision Tree classifier\n\n`Voting.py` - Voting classifier\n\n`Visualization.ipynb` - Jupyter notebook for visualization of the data\n\n## Running the code\n\nFirst, download the data from Kaggle either manually or by running `DownloadData.py`. Then, run any of the classifiers to get the predictions. \n\n## Results\n\nThe best result was achieved by the AdaBoost followed by the Gradient Boosting classifier. \n\nThe top 5 models are as follows:\n\n| Model | Accuracy |\n| --- | --- |\n| AdaBoost | 0.79541 |\n| Gradient Boosting | 0.79237 |\n| Bagging | 0.79191 |\n| SVM | 0.79074 |\n| Voting | 0.79074 |\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnkou97%2Fspaceship-titanic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnkou97%2Fspaceship-titanic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnkou97%2Fspaceship-titanic/lists"}