Skip to content
BCA-302N · Introduction to Data Science
Unit 1

Introduction to Data Science and Foundations

Sign in to save
Unit 1 Learning Hub

Introduction to Data Science and Foundations

Core Definitions & Key Concepts

Core Definitions & Key Concepts

Data Science in the context of modern computing

Data Science is an interdisciplinary field integrating statistics, mathematics, computer science (programming, machine learning), and domain expertise to extract actionable insights, patterns, and predictions from structured and unstructured data.

What are the three core circles in Drew Conway's Data Science Venn Diagram

  1. Hacking Skills: Programming, data wrangling, algorithmic problem solving.
  2. Math & Statistics Knowledge: Probability, linear algebra, inference.
  3. Substantive Expertise: Business context or subject-matter domain acumen.

The term 'Exploratory Data Analysis' coined by John Tukey

Introduced by John Tukey in 1977, EDA emphasizes using visual and summary statistical techniques to understand data distributions, detect anomalies, test hypotheses, and verify assumptions without making rigid probabilistic commitments early on.

A Data Scientist and a Data Analyst

A Data Analyst focuses on past and present descriptive/diagnostic questions ('What happened and why?') using SQL, BI dashboards, and Excel. A Data Scientist designs predictive/prescriptive models ('What will happen and what should we do?') using advanced machine learning, experimental statistics, and production code.

What are the primary stages in the CRISP-DM lifecycle

  1. Business Understanding
  2. Data Understanding
  3. Data Preparation
  4. Modeling
  5. Evaluation
  6. Deployment

Structured vs Unstructured Data with examples

  • Structured Data: Highly organized in fixed tabular schemas, row/column formats (e.g., SQL tables, CSVs, banking transactions).
  • Unstructured Data: Lacks predefined data models, variable schemas (e.g., video streams, audio recordings, free-form text, satellite imagery).

What is the primary role of a Machine Learning Engineer in a data team

A Machine Learning Engineer bridges theoretical data models and software engineering by scaling, containerizing, optimizing latency, and deploying ML pipelines into production CI/CD architectures (MLOps).

Mention two critical data security and privacy regulations in modern data governance

  1. GDPR (General Data Protection Regulation): EU regulation enforcing consumer data consent, right to be forgotten, and privacy-by-design.
  2. DPDP Act 2023 (Digital Personal Data Protection Act, India): Mandates data fiduciary compliance, transparent purpose limitation, and penalties for data breaches.

What is Algorithmic Bias in Data Science

Algorithmic Bias occurs when a trained model generates systematically prejudiced predictions against certain groups due to unrepresentative training data, historical social disparities, or biased feature engineering.

What is the significance of reproducibility in data science research

Reproducibility ensures that independent researchers can replicate identical analytical results using the same codebase, random seed, and dataset, preventing erroneous scientific conclusions.

✓Topic 1 covered: Core Definitions & Key Concepts
Next: Conceptual & Architectural Analysis↓

Conceptual & Architectural Analysis

Conceptual & Architectural Analysis

Compare Data Science, Business Intelligence, and Artificial Intelligence

DimensionBusiness Intelligence (BI)Data Science (DS)Artificial Intelligence (AI)
Temporal FocusHistorical & Present (Hindsight)Future Predictive (Foresight)Real-Time Autonomous Action
Core ObjectiveDescriptive reporting & KPIsUncovering latent patterns & modelsSimulating rational human cognition
Data HandledClean, structured relational dataStructured, unstructured, multimodalSensor streams, text, perception
Core ToolsTableau, PowerBI, SQL, ExcelPython, R, Pandas, Scikit-LearnPyTorch, TensorFlow, ROS, RL Agents
Mathematical BaseArithmetic aggregations, ratiosProbability, multivariable calculusNeural networks, heuristics, logic

The Detailed End-to-End Stages of a Data Science Project Lifecycle

System Architecture / Concept DiagramHorizontal Scroll Enabled
[1. Problem Formulation] ---> [2. Data Acquisition] ---> [3. Data Cleansing & Prep]
                                                                       |
                                                                       v
[6. Deployment & MLOps] <--- [5. Validation & Audit] <--- [4. Exploratory & Modeling]
  1. Problem Formulation: Defining measurable KPIs, hypotheses, and economic value.
  2. Data Acquisition: Web scraping, API consumption, SQL queries, IoT telemetry.
  3. Data Pre-processing: Imputation, normalization, deduplication, schema validation.
  4. Exploratory Analysis & Feature Engineering: Dimensionality reduction, correlation tests, feature synthesis.
  5. Model Building & Tuning: Algorithm selection (regression, tree ensembles, neural nets), hyperparameter search.
  6. Evaluation & Governance: Residual auditing, fairness checks, A/B testing.
  7. Deployment: Dockerization, REST API serving, drift monitoring.

Discuss the Emerging Roles within a Modern Enterprise Data Science Team

Enterprise Data Hierarchy

  • Data Architect: Designs enterprise data warehouses, data lakes, and governance infrastructure.
  • Data Engineer: Builds distributed extraction, transformation, and ingestion pipelines (ETL/ELT) using Spark, Kafka, and Airflow.
  • Data Analyst: Transforms raw telemetry into executive dashboards and diagnostic KPI narratives.
  • Data Scientist: Formulates mathematical models, validates hypotheses, and executes statistical experiments.
  • MLOps Engineer: Automates model retraining, containerized microservice serving (Kubernetes), and concept drift tracking.

Examine Data Security, Anonymization, and Privacy-Preserving Techniques

Privacy-Preserving Paradigms

  1. K-Anonymity: Ensures any individual's quasi-identifiers (e.g., Age, Zip, Gender) are indistinguishable from at least k-1 other individuals in the dataset.
  2. Differential Privacy: Mathematically bounds individual privacy leakages by injecting calibrated Laplace or Gaussian noise into query outputs (e^\epsilon privacy budget).
  3. Federated Learning: Trains machine learning models across decentralized edge devices without aggregating raw user data onto a centralized server.
  4. Pseudonymization & Tokenization: Replaces PII (Personally Identifiable Information) with cryptographic hashes or reversible surrogate keys.

Discuss Major Applications of Data Science Across Healthcare, Finance, and E-Commerce

  • Healthcare: Early oncology detection through convolutional vision models on CT/MRI scans, genomic variant association studies, and hospital readmission prediction.
  • Finance: Algorithmic credit scoring, real-time high-throughput fraud detection engines, algorithmic trading, and quantitative portfolio risk optimization (VaR).
  • E-Commerce: Collaborative filtering recommendation engines, real-time dynamic pricing algorithms, demand forecasting, and churn intervention.
✓Topic 2 covered: Conceptual & Architectural Analysis
Next: In-Depth Analysis & Implementation↓

In-Depth Analysis & Implementation

In-Depth Analysis & Implementation

Provide a Comprehensive Blueprint of the Data Science Project Pipeline, Contrasting CRISP-DM, KDD, and Modern Agile MLOps Frameworks

Architectural Methodological Comparison

System Architecture / Concept DiagramHorizontal Scroll Enabled
+-----------------------------------------------------------------------------------------+
|                        DATA SCIENCE METHODOLOGICAL COMPARISON                           |
|                                                                                         |
|  KDD (1996)                  CRISP-DM (2000)                Modern Agile MLOps (2024)   |
|  - Selection                 - Business Understanding        - Continuous Integration   |
|  - Preprocessing             - Data Understanding            - Continuous Training (CT) |
|  - Transformation            - Data Preparation              - Continuous Deployment    |
|  - Data Mining               - Modeling                      - Model Registry & Drift   |
|  - Interpretation/Evaluation - Evaluation & Deployment       - Feature Store & Telemetry|
+-----------------------------------------------------------------------------------------+

1. KDD Process (Knowledge Discovery in Databases)

  • Focuses strictly on data transformations: raw data \to target data \to preprocessed data \to transformed features \to mined patterns \to validated knowledge.

2. CRISP-DM Process

  • Cyclical six-phase standard emphasizing business context before technical execution. Crucially accounts for iterative loops between Modeling and Data Preparation.

3. Modern MLOps Agile Paradigm

  • Replaces static manual handoffs with automated software engineering rigor:
  1. Feature Store: Centralized repository for low-latency online inference and offline training feature consistency.
  2. Automated Pipeline Orchestration: Tools like Kubeflow and Apache Airflow executing deterministic DAGs.
  3. Model Monitoring & Observability: Real-time tracking of Data Drift (Kolmogorov-Smirnov test on input distributions) and Concept Drift (degradation of F1-score over time).

Data Governance, Ethical AI, and Algorithmic Auditing Frameworks for Enterprise Implementations

Enterprise AI Governance Architecture

1. Sources of Algorithmic Injustice

  • Historical Bias: Training models on historical criminal justice or loan approval datasets that reflect human systemic prejudice.
  • Representation Disparity: Failure to sample minority populations adequately, leading to elevated error rates (e.g., facial analysis systems failing on darker skin tones).
  • Proxy Discrimination: Removing protected attributes (e.g., race or religion) while retaining correlated proxies (e.g., postal zip code or school district).

2. Quantitative Fairness Metrics

  • Demographic Parity: P(\hat{Y}=1 | A=0) = P(\hat{Y}=1 | A=1) (Equal acceptance rates across groups).
  • Equalized Odds: Predictor satisfies equal True Positive Rates and False Positive Rates across protected classes: P(\hat{Y}=1 | A=0, Y=y) = P(\hat{Y}=1 | A=1, Y=y).

3. Auditing and Compliance Workflows

  • Model Cards for Model Reporting (Mitchell et al.): Transparent disclosure of training datasets, intended use cases, out-of-scope applications, and disaggregated performance metrics.

Design the Complete Architecture and Technical Stack for an End-to-End Enterprise Predictive Analytics Engine

Enterprise Predictive System Architecture

System Architecture / Concept DiagramHorizontal Scroll Enabled
[ Batch/Streaming Sources ] ---> [ Apache Kafka Ingestion ]
                                              |
                                              v
                                   [ Apache Spark / Delta Lake ]
                                              |
                     +------------------------+------------------------+
                     |                                                 |
                     v                                                 v
           [ Offline Training Store ]                       [ Real-Time Feature Store ]
                     |                                                 |
                     v                                                 v
           [ Scikit-Learn / PyTorch ]                       [ Triton / FastAPI Engine ]
                     |                                                 |
                     v                                                 v
           [ MLflow Model Registry ] =======================> [ Containerized Pods ]
  • Ingestion Tier: Distributed pub/sub message brokers (Apache Kafka) ingesting telemetry at 50,000 events/sec.
  • Storage & Lakehouse: Delta Lake providing ACID transactions over Parquet columnar files in object storage.
  • Compute & Feature Engineering: PySpark handling distributed aggregations and window operations.
  • Serving Tier: High-throughput async REST microservices containerized with Docker and orchestrated on Kubernetes.
  • Monitoring: Prometheus and Grafana collecting inference latency, throughput, and KS-drift metrics.
✓Topic 3 covered: In-Depth Analysis & Implementation
Next: Important Exam Points & Quick Revision↓

Important Exam Points & Quick Revision

Important Exam Points & Quick Revision

Examiners frequently evaluate: Conway's Venn Diagram (2 marks), CRISP-DM stages (5 marks), and Data Science vs BI comparison matrix (5/10 marks).

Practice Ready

Ready to practice Unit 1?

You've read the core concepts. Take the balanced 10-question practice set to test your mastery!

Save progress