Course: Data Science and Database Technologies
Professor: Elena Baralis, Politecnico di Torino, DBMG
Source: Data science - The Big Data challenge, 50 PDF pages
Lecture date: not stated in the PDF.
Numbering: 01 is assigned locally for organization; the supplied filename and slides do not specify a lecture number.
Lecture summary
Follow observations from their source to a decision they might support. Each stage creates a question for the next: how to collect, store, prepare, analyze and interpret the evidence responsibly.
Begin where data comes from. Transactions, user activity and sensors generate observations; acquisition collects and transfers those observations into a usable system. Separating generation from collection helps identify missing coverage, delivery delays and preparation needs. Data Generation and Acquisition
Once collected, data can be difficult for several reasons. Volume concerns size, velocity concerns arrival rate, variety concerns formats, veracity concerns reliability, and value concerns useful outcomes. These dimensions explain why a large dataset alone does not define the whole challenge. Big Data and the Five Vs
Those challenges influence infrastructure choices. Storage holds the bytes, management systems organize access, and processing models determine how computations work over the data. Batch, stream and graph processing suit different tasks; moving computation toward data can reduce expensive transfers. Big Data Storage and Processing Models
Before choosing an algorithm, decide what the analysis should answer. Descriptive analysis summarizes what is present, predictive analysis estimates an outcome, and prescriptive analysis recommends an action under objectives and constraints. The same data can support these different questions. Descriptive Predictive and Prescriptive Analytics
To answer those questions, algorithms extract relationships represented as patterns, models or groups. Discovery produces something potentially useful, but usefulness still needs evaluation. A relationship appearing in data is not automatically a reliable explanation or a good basis for a decision. Data Mining and Patterns
This is why mining belongs inside a broader process. KDD connects selection, preprocessing, transformation, mining and interpretation, turning raw observations into assessed knowledge. Data science combines that preparation and analysis with the context needed to understand the result. Data Science and the KDD Process
Preparation must repair or account for problems in the inputs. Cleaning handles inconsistencies and noise; integration reconciles sources, identifiers, units and overlapping records. Outliers require investigation because an unusual value can represent either an error or an important event. Data Cleaning and Integration
With prepared data, one possible question is which items occur together. Association rules express co-occurrence: support measures how common a combination is overall, while confidence measures how often the consequent occurs among cases containing the antecedent. Neither establishes causation. Association Rules - Support and Confidence
A different question is what outcome to predict for a new observation. Classification predicts a category, while regression predicts a numeric quantity. In their usual supervised forms, both learn from examples with known targets, so target definition determines which problem we are solving. Classification and Regression
When target labels are unavailable or grouping is the goal, clustering finds similar observations. Outlier detection instead identifies unusual cases relative to a model or reference. Similarity depends on representation, and neither a cluster nor an outlier explains its own real-world cause. Clustering and Outlier Detection
Some relationships disappear if we ignore context. Sequence analysis preserves order, time-series analysis preserves temporal structure, and geospatial analysis considers location. Choosing a method therefore depends on whether changing order, timing or position changes the meaning of an observation. Sequence Time Series and Geospatial Mining
These methods need a project that connects them to a concrete decision. Define the question, scope, data, evaluation and maintenance needs, drawing on data, analytical, visualization, domain and business expertise. A technically successful model can still fail to answer the useful question. Data Science Project Design and Roles
Even a useful prediction needs careful interpretation. Explanations can describe a model globally or one prediction locally, but an observed association may reflect other influences. Confounding is a reason not to turn predictive relationships directly into claims about causes. Model Interpretability and Confounding
The evidence can also represent groups unevenly or encode existing inequalities. Collection, labels and modeling choices can produce systematically different outcomes, while proxy features can retain information about an omitted sensitive attribute. Evaluation must examine who the model works for and how. Algorithmic and Data Bias
Finally, useful patterns can disclose sensitive information. Removing names or publishing aggregates does not automatically prevent inferences about locations, activities or people. Privacy therefore belongs in collection, analysis and release decisions throughout the process. Privacy in Data Analytics
The detailed notes below retain the lecture’s examples, timing diagrams or comparisons, and source references.
Topics
- Big data applications, sources, and the five Vs
- Infrastructure and the data science lifecycle
- Knowledge Discovery in Databases / from Data (KDD)
- Preprocessing, patterns, and analysis techniques
- Project questions and complementary professional roles
- Interpretability, bias, privacy, and technical challenges
What the professor covered
Motivation and data sources (PDF pages 2-7)
The opening asks whether big data is hype, then illustrates applications. The emergency-management example combines earth observations, unmanned aerial vehicles, historical data, seasonal weather forecasts, and social media streams. Citizens, first responders, and decision makers consume or contribute information. This shows how heterogeneous data can support practical decisions.
Page 5 contrasts user engagement in images labeled 2005 and 2013, illustrating increased use of mobile recording devices. Sources on pages 6-7 include user-generated web/mobile content, health and scientific computing, web-server and machine logs, and the Internet of Things (sensor networks, RFID, smart meters).
Related: Data Generation and Acquisition, Big Data and the Five Vs.
What makes data big? (PDF pages 8-19)
Pages 8-11 progressively emphasize a definition: data scale, diversity, and complexity can require new architectures and analytical techniques to extract useful knowledge. Big data is therefore more than a very large file.
| V | Lecture meaning | Example in the slides |
|---|---|---|
| Volume | Increasing quantities of data | Growth estimates and Internet activity |
| Velocity | Rapid generation and timely processing | Streams and near-real-time traffic information |
| Variety | Different formats, types, and structures | Numbers, images, audio, video, text, time series |
| Veracity | Data quality | Reliability, accuracy, completeness, consistency |
| Value | Turning data into an advantage | Useful decisions and business outcomes |
Page 12 cites 44x growth from 2009 to 2020 and 35 ZB in 2020. Treat these as historical slide estimates, rather than measured present-day totals. Page 13 shows an Internet-activity illustration and points to Internet Live Stats. Page 14 compares weather-forecast illustrations labeled January and May 2020. Page 16 combines crowdsourcing, sensing, map data, and computing to produce traffic information. These are motivating examples, not performance benchmarks.
The professor presents value as the most important V. Scale only matters when it helps answer a useful question.
Related: Big Data and the Five Vs.
Infrastructure and the broad lifecycle (PDF pages 20-26)
Page 20 separates technology/infrastructure challenges from data management/analysis. It introduces the Hadoop/Spark ecosystem and the principle of moving processing power toward the data. Page 21 describes data science as extracting meaning from large amounts of data and attributes the term data scientist to D. J. Patil; that attribution is recorded as the slide’s historical framing.
The broad process on pages 22-26 is:
Generation -> Acquisition -> Storage -> Analysis| Stage | Slide content |
|---|---|
| Generation | Passive recording of structured transactions/archives; active generation of semi/unstructured content; automatic IoT production |
| Acquisition | Pull-based collection such as crawlers; push-based collection such as surveillance/click streams; transmission; integration, cleaning, redundancy elimination |
| Storage | HDD/SSD; DAS/NAS/SAN; HDFS, Memcached, Cassandra, MongoDB; MapReduce, stream processing, graph processing |
| Analysis | Descriptive/predictive/prescriptive objectives; statistics, machine learning, data mining, text and graph mining; association analysis, classification/regression, clustering |
Study clarification: these storage examples operate at different layers. HDD/SSD are media; DAS/NAS/SAN describe access architectures; HDFS is a distributed file system; Memcached is an in-memory key-value cache; Cassandra is commonly called a wide-column database; MongoDB is a document database. The slides call Cassandra column-oriented and group Memcached with key-value stores. The table preserves those examples without treating all of them as interchangeable databases.
Related: Data Generation and Acquisition, Big Data Storage and Processing Models, Descriptive Predictive and Prescriptive Analytics.
Patterns and application domains (PDF pages 27-31)
Page 27 describes machine learning/data mining as algorithmic extraction of implicit, previously unknown, potentially useful information. Extracted information is represented using abstract models or patterns.
Profiling examples on pages 28-29 draw on e-commerce behavior, search queries, social profiles/posts, and geographic locations. Applications include recommendations, advertisements, market-basket cross-selling, context-aware analysis combining location/time/interests, and text mining for reputation, sentiment, and topic trends.
Biological examples on pages 30-31 combine microarray gene-expression data, clinical records, and textual collections such as PubMed and Gene Ontology. The slide objectives include clinical analysis, therapy monitoring, gene-network discovery, multifactorial genetic-pathology analysis, and the slide’s term pharmacogenesis for drug-design work. These illustrate application questions; they are not clinical guidance or proof of causal discovery.
Related: Data Mining and Patterns.
Knowledge discovery and preprocessing (PDF pages 32-34)
Page 32 develops the more detailed knowledge-discovery workflow:
Data
-> Selection -> Selected data
-> Preprocessing -> Preprocessed data
-> Transformation -> Transformed data
-> Machine learning / data mining -> Patterns
-> Interpretation -> KnowledgeThe slides use Knowledge Discovery in Databases on page 22 and Knowledge Discovery from Data on page 32. Both refer to KDD in this lecture. Study clarification: the four-stage lifecycle organizes how data is produced and handled; the detailed KDD diagram organizes how data becomes knowledge. Mining is one step within the broader discovery process.
Page 33 divides preprocessing into:
- Cleaning: reduce noise, identify or remove outliers, resolve inconsistencies.
- Integration: reconcile sources and metadata, resolve conflicting values, manage redundancy.
Real-world data is dirty; poor-quality data produces poor-quality patterns. Study clarification: identifying an outlier does not automatically justify deletion; it may be an error or the phenomenon of interest.
Page 34 states that 80-90% of practitioners’ work involves domain discussions, cataloguing sources, wrangling/integrating data, and cleaning rather than machine learning. It credits OpenDS4All material. Treat this as the lecture’s practitioner estimate, not a universal measured proportion.
Related: Data Science and the KDD Process, Data Cleaning and Integration.
Association rules (PDF pages 35-36)
The objective is extracting frequent correlations/patterns from transactional data. The example rule is diapers -> beer. Page 35 describes 2% of transactions containing both items and 30% of diaper transactions also containing beer. Study terminology: these correspond to support and confidence respectively.
The five displayed transactions are:
| TID | Items |
|---|---|
| 1 | Bread, Coke, Milk |
| 2 | Beer, Bread |
| 3 | Beer, Coke, Diapers, Milk |
| 4 | Beer, Bread, Diapers, Milk |
| 5 | Coke, Diapers, Milk |
The table ends with an ellipsis, so it is not the complete dataset underlying the percentages. Added worked example: using only these five rows gives support 2/5 = 40% and confidence 2/3 ≈ 66.7%. Do not use the slide’s 2%/30% as the answer for the five-row exercise. Page 36 illustrates commercial recommendation/cross-selling applications.
Related: Association Rules - Support and Confidence.
Classification, clustering, and other techniques (PDF pages 37-42)
Classification predicts a class label and can supply an interpretable model of a phenomenon. Page 37 shows training data producing a model that classifies previously unclassified data; page 38 illustrates image-recognition applications.
Clustering detects groups of similar objects and can help identify exceptions/outliers. Pages 39-41 use grouped shapes, point clouds, images, and gene-expression illustrations. Study clarification: clustering discovers groups without a supplied target class; classification learns from target labels. A cluster is not automatically a meaningful real-world category.
| Technique | Target / structure | Lecture example |
|---|---|---|
| Association analysis | Co-occurring items | Supermarket baskets |
| Classification | Class label | Recognition examples |
| Clustering | Similarity groups | Object and gene-expression groups |
| Sequence mining | Ordered patterns | Protein motifs |
| Time-series/geospatial analysis | Time/location context | Sensor networks |
| Regression | Continuous value | Stock-quote prediction |
| Outlier detection | Unusual observations | Network intrusion detection |
Stock prediction and intrusion detection are illustrative tasks, not demonstrated guarantees of accuracy. Detailed algorithms are not developed in this deck.
Related: Classification and Regression, Clustering and Outlier Detection, Sequence Time Series and Geospatial Mining.
Designing a project and assembling expertise (PDF pages 43-44)
Page 43 asks six project questions: what question to answer, what scope is appropriate, what data to use, what techniques to try, how to evaluate results, and what maintenance is required. This page also credits OpenDS4All.
Page 44 lists complementary roles: data expert (processing/structures), data analyst (mining/statistics/ML), visualization expert (design/storytelling), domain expert (application understanding), and business expert (decisions/business models).
Study clarification: these are skill areas; a small team may combine roles. Choosing evaluation and maintenance requirements early helps keep a project tied to its intended use.
Related: Data Science Project Design and Roles.
Interpretability, bias, privacy, and remaining challenges (PDF pages 45-50)
Page 46 distinguishes global model explanation, local prediction explanation, and interpretable feature selection. It presents an accuracy/interpretability trade-off. Study clarification: this is a design consideration, not a rule that every accuracy improvement reduces interpretability.
Page 47’s hospital example reports a learned association between asthma history and lower pneumonia mortality. The slide explains that earlier recognition, diagnosis, and treatment could account for this result despite asthma being treated as a risk factor. The lesson is to interpret a pattern using domain knowledge before making decisions. The slide’s claim that a neural network would never expose this issue is too absolute to generalize; the study takeaway is that opaque models make inspection harder, not that inspection is impossible. This is a supplied teaching example, not medical advice.
Page 48 presents a criminal-risk-scoring example. Race was not an explicit question, yet other variables could act as proxies. The slide reports more frequent flags for Black defendants and attributes bias to the training population. Study clarification: this is the slide’s simplified explanation, not a complete causal analysis; representation, labels, collection processes, and evaluation choices also need examination. Omitting a sensitive field does not prove fairness.
Page 49 shows the Strava global heatmap example, citing 13 trillion GPS points, with news images about exposure of military-site locations. Record the figure as a historical slide claim. The central lesson is that aggregated traces can reveal sensitive locations and behavior even without an explicit list of named individuals.
Page 50 closes with social impact and unresolved technical issues: scalability, dimensionality, complex structures/heterogeneous formats, data quality, and streaming data.
Related: Model Interpretability and Confounding, Algorithmic and Data Bias, Privacy in Data Analytics.
Questions to check understanding
- Why is big data more than volume?
- Which lifecycle stages would an emergency-management platform need?
- How are selection, preprocessing, transformation, mining, and interpretation different?
- Why can mining only be as useful as its data and domain assumptions?
- What do support and confidence measure, and why are they different?
- How do classification, regression, clustering, and outlier detection differ?
- Why can an association reverse the conclusion expected from domain knowledge?
- How can a feature act as a proxy for a sensitive attribute?
- Why can a public aggregate heatmap disclose sensitive information?
- How will a model’s data, results, and maintenance be evaluated after deployment?
Source
Elena Baralis, Data science - The Big Data challenge, Politecnico di Torino, DBMG, PDF pages 1-50. Original: 10 Courses/Data Science and Database Technologies/Resources/01 - The Big Data Challenge.pdf. Page references use PDF order. Study clarifications, formulas, and worked examples add explanation to the supplied material. No database-specific syllabus, assessment details, or lab deadlines were supplied.