Vai al contenuto
Management Engineering for Innovation

Bari Politecnico · 1° anno

Basics of Machine Learning and Artificial Intelligence

ING-INF/05Secondo Ciclo Semestrale60 oreOraleInglesea.a. 2026/2027
Programma
- Learning by example-How to design a Machine Learning system (5 h - 0,5 CFU) - What is Machine Learning (5 h - 0,5 CFU) Supervised Learning, Unsupervised Learning, Recommender Systems, Reinforcement Learning, Generative models, Discriminative Models, Model Representation - Linear regression (10 h - 1 CFU) Linear regression with one variable: Cost function, Gradient Descent, Multiple features [Hypothesis, Batch, Stochastic, Mini-batch], Gradient descent algorithm stopping conditions [Max iteration, Absolute tolerance,Relative tolerance,Gradient Norm tolerance], Features and Polynomial regression, Gradient descent for multiple variables, Normal equations, Proof of Normal equations derivations, - Logistic Regression (5 h - 0,5 CFU) Classification, Hypothesis Representation [Sigmoid, Decision boundary, Probabilistic Interpretation, Cost Function,Errors], Gradient descent [Weight update derivation], Multi-class classification One vs all - Python Language (5 h - 0,5 CFU) Overview, Basic Syntax, Data Types, Variables, Operators, Loops, Functions, String manipulation, Array manipulation, Data Frames manipulation, Input Output - Fitting (2,5 h - 0,25 CFU) Just Fit, Overfitting, Underfitting - Neural Networks (10 h - 1 CFU) Non-linear hypotheses [Forward propagation, Non-linear classification example: XOR], Intuition, Cost function, Backpropagation algorithm, Backpropagation intuition, Random initialization - Support Vector Machines (5 h - 0,5 CFU) Large Margin Classifier [Decision rule, Dual problem], Support Vector Machines-Intuition [SVM cost function], Support Vector Machines-Nonlinear separable data, Cover’s theorem, Kernel trick, Mercer’s Theorem - How to build a ML System (2 h - 0,2 CFU) Overview [ML system life cycle], What we do first [Data analysis and pre-processing,Boxplot, Normalization, Feature Selection], How to evaluate the hypothesis [Training/testing procedure, Generalization Error, Model selection, Validation set, Cross Validation, Holdout, K-folds Cross validation, Random subsampling], How to choose the next hypothesis [Diagnosing bias/variance, Diagnosing Lambda (regularization), Learning curves, Diagnose High Bias, Diagnose High Variance], How to measure if a ML System works well [MAE, MSE, RMSE, Accuracy, Precision/Recall, ROC], How to measure if the results are significant [paired t test, Coefficient of determination] - Unsupervised Learning-Clustering (6,5 h - 0,65 CFU) K-means, Choosing the value of K, Elbow method, Kullback–Leibler divergence, Information criterion approach, Akaike information criterion (AIC), Bayesian information criterion (BIC), Deviance information criterion (DIC), Silhouette Coefficient, Clustering-K-medoids, Clustering-Gaussian Mixture Models, Univariate/Multivariate Gaussian, Mixture Model, Expectation-Maximization Algorithm (EM), Clustering-Hierarchical Clustering, Hierarchical Clustering: Single Linkage, Hierarchical Clustering: Ward’s Criterion, Cluster distance measures, DBSCAN, HDBSCAN, Stability-based cluster validation - Unsupervised Learning-Dimensionality Reduction (4 h - 0,4 CFU) Principal Component-Analysis, Singular Value Decomposition, Reconstruction from compressed representation, Choosing the number of Principal Components
Modalità d'esame
Il risultato della valutazione è espresso da una valutazione in trentesimi. Il voto minimo per il superamentodell’esame (18/30) sarà assegnato per un livello e qualità sufficienti di conoscenza dei requisiti minimi. Glistudenti raggiungeranno il voto massimo (30/30) nel caso in cui dimostrino un livello eccellente diconoscenze sugli argomenti del programma, insieme con elevate capacità di applicare conoscenze ecompetenze acquisite. Saranno meritevoli di lode qualora siano in grado di applicare le conoscenze e lecompetenze acquisite anche in contesti diversi da quelli proposti a lezione (quinto indicatore di Dublino).
Obiettivi
The objective of the course is to enable students to understand all aspects related to MACHINE LEARNING problems in their various applications. At the end of the course they will obtain all the knowledge necessary to classify and formalize a problem from an algorithmic perspective and eventually focus on the elements related to the application domain. An implementation of all the algorithms and techniques addressed is shown during the lectures, allowing students to gain a better and deeper understanding of all aspects associated with their application. The implementation is initially presented independently of a specific programming language, so that students are left to choose the tool with which they feel most comfortable. Whenever possible and available, different algorithms and techniques are presented to tackle the same problem in order to foster autonomy in judging the right approach to adopt for a given problem. Lectures are given in a very interactive way in order to favor communication skills of the students For some very specific topics, the students will be provided with only some initial pointers to scientific literature thus promoting their ability of self-training.
Prerequisiti
Mathematical Analysis;

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

Fonte: scheda ufficiale dell'insegnamento, sito di Bari Politecnico.