01Foundations
AI & Data Science Foundations
Before any code: what data science actually is, how AI / ML / DL relate, and the workflow every project follows.
The big picture
Artificial Intelligence (AI) is the broad goal of making machines do things that normally need human intelligence. Machine Learning (ML) is the main way we reach that goal today: instead of writing rules by hand, we let a program learn patterns from data. Deep Learning (DL) is a powerful branch of ML that uses neural networks with many layers. Data Science is the wider craft of turning raw data into decisions — it uses statistics, programming, and ML together.
Three kinds of machine learning
- Supervised learning — you have labeled examples (input → known answer) and the model learns to predict the answer. E.g. predict a house price from its features.
- Unsupervised learning — no labels; the model finds structure on its own, such as grouping similar customers (clustering).
- Reinforcement learning — an agent learns by trial and reward, like a program learning to play a game.
The data-science workflow
Almost every project follows the same loop. Knowing it keeps you oriented no matter how complex the problem gets:
- 1. Define the question and success metric with stakeholders.
- 2. Collect and store the data (files, databases, APIs).
- 3. Clean and explore it (EDA) — understand what you actually have.
- 4. Prepare features and split into train/test sets.
- 5. Train models, evaluate, and tune them.
- 6. Deploy the chosen model and monitor it in production.
Test yourself A bank wants to flag which transactions are fraud, using millions of past transactions already labeled fraud / not-fraud. Which kind of ML is this?
Supervised learning (specifically binary classification) — the historical labels are the supervision signal the model learns to reproduce.
Where the tools fit
In this program you will use Python as the language, SQL to pull data from databases, NumPy/Pandas to explore it, Matplotlib/Plotly to visualize it, scikit-learn to build models, and Streamlit to ship them. Each later topic in this guide is one stop on that path.
Key takeaways
- AI ⊃ ML ⊃ DL; data science wraps statistics, code and ML around a business question.
- Supervised = labeled data; unsupervised = find structure; reinforcement = learn by reward.
- Every project follows the same loop: question → data → EDA → features → model → deploy.