Portfolio · GitHub
Picture the person reviewing your application. They open your GitHub profile from your resume, see a list of
repositories called Untitled1, titanic-final-v2 and ml-practice, open one,
find a notebook with no explanation, and close the tab. Most data science portfolios fail in exactly this way:
the work may be fine, but nobody can tell what it is or why it matters.
A good portfolio fixes that with three things: a few well-chosen projects, a predictable structure in every repository, and writing that explains the problem, the decisions and the result.
Step 1: Choose three to five projects that each prove something different
Think of each project as evidence for one skill a job post asks for. Overlap wastes the reviewer's time.
| Project type | Example | What it proves |
|---|---|---|
| Data cleaning and analysis | Analyse a public dataset from data.gov.in, such as district-level data, and answer three clear questions | Pandas, handling messy real data, communicating findings |
| Supervised model, end to end | Customer churn or loan default prediction | Feature engineering, validation, choosing the right metric for imbalanced classes |
| Text or NLP | Classify product reviews or support tickets by topic or sentiment | Text preprocessing, embeddings or TF-IDF, error analysis |
| SQL plus analysis | Write queries against a sample sales database, then model or visualise the result | SQL joins and window functions, which most data jobs test |
| Deployed app | A small Streamlit app that serves one of your models | Packaging, reproducibility, thinking about users |
Avoid making the Titanic or Iris datasets your headline projects. They are fine for learning, but reviewers have seen them many times, so they say little about you. Ideas that go beyond them are in building machine learning portfolio projects and data science project ideas for beginners.
Step 2: Use the same structure in every repository
A predictable layout lets a reviewer find what they need without hunting:
churn-prediction/
├── README.md # the story: problem, data, approach, results
├── requirements.txt # pinned package versions
├── .gitignore # excludes data/raw, .env, checkpoints
├── data/
│ └── README.md # where the data comes from and how to download it
├── notebooks/
│ ├── 01_eda.ipynb
│ └── 02_modelling.ipynb
├── src/
│ ├── features.py # reusable functions, not copy-pasted notebook cells
│ └── train.py
├── reports/
│ └── figures/ # charts used in the README
└── app/
└── streamlit_app.py- Do not commit large raw data. GitHub rejects files over its size limit, and big datasets bloat the repository. Commit a small sample and a download script or link instead.
- Never commit secrets. Keep API keys in a
.envfile listed in.gitignore. If a key is pushed by mistake, revoke it; deleting the commit is not enough. - Number your notebooks in the order they should be read, and restart-and-run-all before committing so outputs match the code.
- Move repeated code into
src/. It shows you can write code beyond a notebook, which matters for interviews.
Step 3: Write the README as a one-page case study
The README is the page most reviewers actually read. A structure that works:
# Customer Churn Prediction for a Telecom Provider
**Problem:** Identify customers likely to cancel next month so the retention
team can call them first.
**Data:** Public telecom churn dataset (link, licence). Features that leak the label
are dropped; see data/README.md.
**Approach:** EDA → feature engineering (tenure bands, charges per month)
→ logistic regression baseline → gradient boosting. Stratified 5-fold CV.
**Results:** Report recall and precision on the churn class, not only
accuracy, and explain the trade-off you chose.
**What I would do next:** cost-sensitive threshold, more recent data.
**Run it:** pip install -r requirements.txt, then python src/train.pyFill the results line with your real numbers. Two details separate strong READMEs from weak ones. First, a sentence on why you chose the metric: for churn, missing a customer who leaves usually costs more than calling one who stays. Second, an honest limitations line. Reviewers trust a candidate who points out the weakness in their own model.
Step 4: Set up your profile page
- Profile README: create a public repository with exactly the same name as your username and add a
README.md; GitHub shows it at the top of your profile. Keep it short: who you are, the kind of role you want, and links to your best projects. - Pinned repositories: pin your strongest projects so they appear first, and give each a one-line description and topic tags such as
machine-learningorpandas. - Clean up: archive or make private course exercises and forks you never changed. Fewer, better repositories read better.
- Real name and links: use the same name as on your resume, and add LinkedIn and an email address.
Step 5: Make at least one project clickable
A live demo lets a non-technical recruiter see your work without installing anything. Streamlit Community Cloud and Hugging Face Spaces can host small apps from a GitHub repository, and GitHub Pages can host a simple static report. Keep the demo small and fast; a model that takes a minute to load loses the reader. If a notebook does not render on GitHub, link to a rendered version through nbviewer.
Step 6: Show steady, honest activity
Commit as you work, with messages that say what changed ("Add tenure bands and re-run CV"), rather than one giant upload the night before applying. Do not use scripts or fake commits to colour the contribution graph; experienced reviewers notice, and it damages trust. If you are a student, contributing a documentation fix or a small bug fix to an open-source data library is a good addition. The basics are in learning Git and GitHub from scratch.
Checklist before you share the link
- Each pinned repository has a README with problem, data source, approach, results and how to run it.
- Notebooks run top to bottom and show outputs; no hard-coded paths like
C:\Users\.... requirements.txtinstalls cleanly in a fresh virtual environment.- No API keys, passwords or personal data anywhere in the history.
- Dataset sources and licences are stated.
- The profile README links to your two or three best projects.
- You can explain every line of your best project in an interview.
The last point matters most. In interviews you will be asked why you chose a feature, a model or a metric, and a portfolio you cannot explain does more harm than good. For more on what reviewers look for, read what makes a good data science portfolio; if you are aiming for analyst roles, how Git and GitHub help data analysts and a job-ready analytics portfolio are useful next reads.
Uncodemy's data science course includes guided projects you can publish this way, with Dedicated Placement Support.