Vai al contenuto
Metodi Statistici e Data Analytics

Siena

Big Data

ING-INF/05Secondo Semestre40 oreOraleInglesea.a. 2026/2027
Programma
1. Introduction to Big Data Big data and data mining. The 3V and 5V models. Storage and processing of large amounts of data. Reliability and redundancy. Data independence. The Relational Model and data normalization. The technology stack for Big Data. 2. Big Data Technologies 2.1 Storage Data storage. Local file systems. Storage at large scales. Datacenters. Service Level Agreement and CAP theorem. Object storage. AWS S3. REST APIs and SDKs. Distributed File Systems. HDFS: files and blocks; physical architecture; data replication; NameNode and DataNodes. Data transfers: read/write operations. HDFS fault tolerance. Hadoop architecture. HDFS interface. Webhdsf and REST API. 2.2 Data representation and validation Syntax for data representation. The CSV format. XML and JSON. JSON data types and data model. XML: Markup Languages; tags; Document Object Model (DOM); Element nesting; Element attributes; well-formed documents; XML instances; namespaces. Validation. Type system: logic and lexical value spaces; atomic types and structured types. JSON schema: schema definition, annotations and validation keywords. XML schema: elements; simple and complex types. Bounds for occurrences. Attributes. Schema definition and target NameSpace. 2.3 Wide Column Stores Wide column stores. HBase: tables, rows, column families, column qualifiers, cells. Operations on tables. Physical organization: HMaster and RegionServers. Table partitioning: stores, HFiles, HBlocks. Compaction. HBase API. 2.4 Map Reduce MapReduce: operations map, shuffling, reduce, combine; connecting to input. Functions, tasks, slots. Task management. MapReduce API. The streaming API. 2.5 Spark Spark. Resilient Distributed Datasets (RDD): creation of an RDD; transformations; actions. RDD methods. Unary RDD Transformations. Pair Transformations. Actions. Spark architecture: executors, tasks, stages, slots. Narrow and wide dependency transformations. SparkSQL. DataFrame. EXPLODE and LATERAL VIEW extensions. 3. Algorithms 3.1 Similar Items Similar items. Set similarity. k-Shingles. Hash functions. Hashing shingles. Minhashing and Jaccard Similarity. Minhash signatures. Locality Sensitive Hashing (LSH): bands, candidate pairs. Distance measures. Locality Sensitive functions. AND and OR constructions. LSH for cosine distance. 3.2 Frequent Itemsets and Basket Analysis The market-basket model. Frequent itemsets. Support. Association rules. Confidence and interest. Counting itemsets. The monotonocity property. The A-priori algorithm. The PCY algorithm. Limited-pass algorithms. The SON algorithm. The Toivonen's algorithm. 3.3 Recommendation Systems Utility matrix. The long-tail phenomenon. Content-based recommendation. Text representation: vector space; Latent Semantic Indexing. User profiles and Preference prediction. Collaborative filtering: user-user and item-item similarity. Hierarchical clustering. Latent factor recommendation. 3.4 Spark MLib Spark Machine Learning Library (MLlib). DataFrames, Transformers, Estimators, Pipelines, Parameters. Definition, use, persistence of pipelines. Modules in MLlib.
Modalità d'esame
Oral exam consisting in questions on the course contents and in the presentation of a project (studying and presenting a research paper; or practical implementation of the technologies described in the course).
Obiettivi
Knowledge on the fundamental problems and the technlogies for managing big data. Knowledge on the solutions adopted for the most common applications. Ability to use big data storage and programming frameworks.
Prerequisiti
The notions acquired in the graduate courses on fundamentals of informatics, databases and linear algebra. Knowledge of Python programming is suggested.

Programma dell'a.a. 2025/2026: quello del 2026/2027 non è ancora pubblicato dal docente.

Fonte: scheda ufficiale dell'insegnamento, sito di Siena.