Build a Titanic Survival Predictor GUI with Python 🚢🧠
dev.to·10h·
Discuss: DEV
🤖AI
Preview
Report Post

Learn how to build a machine learning GUI that predicts Titanic passenger survival from CSV files. This guide walks you through the project step by step.

GitHub Repo: Titanic Survival Predictor GUI

1️⃣ Project Overview

Our app does the following:

Load CSV files with Titanic passenger data.

Auto-detect column names for flexible datasets.

Train a RandomForestClassifier if no training file exists.

Predict survival for each passenger.

Export results to CSV.

Provides a user-friendly Tkinter GUI with drag & drop support.

2️⃣ Setup Environment

We’ll need these Python packages:

pip install pandas numpy scikit-learn ttkbootstrap

Optional for drag & drop:

pip install tkinterdnd2…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help