Data Science Overview — ML Technical Interview Questions & Answers
The broader discipline that machine learning sits within.
Data Science Overview
- Simple meaning: Data science is the wider job: ask a question, get data, clean, plot, maybe ML, then tell a decision. Machine learning is one tool inside that job — not the whole job.
- Picture: “Why did fails rise?” You might only need a bar chart and SQL. A random forest is optional. If you do model, you still explain it to a human.
- Stack: SQL + pandas + plots + (sometimes) sklearn. Communication is part of the work.
- Trap: data science = only neural nets. Trap: a model with no question.
Technical Interview Tip: DS is the project. ML is one tool. Start with the question.
Code Examples for Data Science Overview
Data Science Overview — working example
# PCA-style intuition: project 2D → 1D by a direction vector
points = [(1.0, 1.0), (2.0, 2.0), (3.0, 2.8)]
# unit direction along y = x
ux, uy = 0.7071, 0.7071
proj = [x * ux + y * uy for x, y in points]
print([round(v, 3) for v in proj])
# Tiny ensemble: average two model votes
votes = [1, 0, 1]
v2 = [1, 1, 1]
ens = [1 if a + b >= 2 else 0 for a, b in zip(v1, v2)]
print(ens)Data Science Overview — dim reduction compresses features; ensembles combine models; deep nets/RL/NLP are specialized families — practice the core math idea first.
How to Explain Data Science Overview to an Interviewer
ML vs data science?
ML is a tool inside DS DS includes cleaning, plots, story
Do you always need a model?
No A plot may answer