Lab 1 - 04 October 2018: Machine Learning 2018-2019
Lab 1 - 04 October 2018: Machine Learning 2018-2019
Titolo 09/06/2018 1
Presentazione
http://liuchengxu.org/books/src/Python/Learning-Python.pdf
Lab. of ML 18-19 Syllabus
Lab.1 Course introduction, SckitLearn I
Lab.2 SckitLearn II
Lab.3 Feature engineering: feature extraction
Algorithms in practice I
Lab.4 Feature engineering: feature transformation I
Algorithms in practice II
Lab.5 Feature engineering: feature transformation II
Algorithms in practice III
Lab.6 Feature engineering: feature selection
Algorithms in practice IV
Lab.7 Ensemble
Algorithms in practice V
Lab.8 Evaluation
Algorithms in practice VI
Lab.9 Hyperparameter tuning I
Algorithms in practice VII
Lab.10 Hyperparameter tuning II
Algorithms in practice VIII
Lab.11 Tensor Flow
Titolo 09/06/2018 4
Presentazione
Lab. of ML 18-19 Syllabus
Lab.1 Course introduction, SckitLearn I
Lab.2 SckitLearn II
Lab.3 Feature engineering: feature extraction
Algorithms in practice I
Lab.4 Feature engineering: feature transformation I
Algorithms in practice II
Lab.5 Feature engineering: feature transformation II
Algorithms in practice III
Lab.6 Feature engineering: feature selection
Algorithms in practice IV
Lab.7 Ensemble
Algorithms in practice V
Lab.8 Evaluation
Algorithms in practice VI
Lab.9 Hyperparameter tuning I
Algorithms in practice VII
Lab.10 Hyperparameter tuning II
Algorithms in practice VIII
Lab.11 Tensor Flow
Titolo 09/06/2018 5
Presentazione
Lab. of ML 18-19 Syllabus
Lab.1 Course introduction, SckitLearn I
Lab.2 SckitLearn II
Lab.3 Feature engineering: feature extraction
algorithms in practice I
Lab.4 Feature engineering: feature transformation I
algorithms in practice II
Lab.5 Feature engineering: feature transformation II
algorithms in practice III
Scikit-learn:
Lab.6 FeatureMachine
engineering:Learning in Python,
feature selection Pedregosa et al.,
JMLR algorithms in practice IV
12, pp. 2825-2830, 2011.
Lab.7 Ensambles 1 lezione
algorithms in practice V
http://scikit-learn.org
Lab.8 Evaluation 1 lezione
algorithms in practice VI
Lab.9 Hyperparameter tuning I
algorithms in practice VII
Pronounced “sykittuning
Lab.10 Hyperparameter learn” II
algorithms in practice VIII
Lab.11 Tensor Flow
Titolo 09/06/2018 6
Presentazione
Lab. of ML 18-19 Syllabus
Lab.1 Course introduction, SckitLearn I
Lab.2 SckitLearn II
Lab.3 Feature engineering: feature extraction
algorithms in practice I
Lab.4 Feature engineering: feature transformation I
algorithms in practice II
Lab.5 Feature engineering: feature transformation II
algorithms in practice III
Lab.6 Feature engineering: feature selection
algorithms in practice IV
Lab.7 Ensambles 1 lezione
http://jupyter.org/
algorithms in practice V
Lab.8 Evaluation 1 lezione
algorithms in practice VI
Lab.9 Hyperparameter tuning I
algorithms in practice VII
Pronounced?
Lab.10 Hyperparameter tuning II
algorithms in practice VIII
Lab.11 Tensor Flow
Titolo 09/06/2018 7
Presentazione
Lab. of ML 18-19 Syllabus
Lab.1 Course introduction, SckitLearn I
Lab.2 SckitLearn II
Lab.3 Feature engineering: feature extraction
algorithms in practice I
Lab.4 Feature engineering: feature transformation I
algorithms in practice II
Lab.5 Feature engineering: feature transformation II
algorithms in practice III
https://www.anaconda.com/
Lab.6 Feature engineering: feature selection
algorithms in practice IV
Lab.7 Ensambles 1 lezione
algorithms in practice V
Lab.8 Evaluation 1 lezione
algorithms in practice VI
Lab.9 Hyperparameter tuning I
algorithms in practice VII
Lab.10 Hyperparameter tuning II
algorithms in practice VIII
Lab.11 Tensor Flow
Titolo 09/06/2018 8
Presentazione
Lab. of ML 18-19 Syllabus
Lab.1 Course introduction, SckitLearn I
Lab.2 SckitLearn II
Lab.3 Feature engineering: feature extraction
Algorithms in practice I
Lab.4 Feature engineering: feature transformation I
Algorithms in practice II
Lab.5 Feature engineering: feature transformation II
Algorithms in practice III
Lab.6 Feature engineering: feature selection
Algorithms in practice IV
Lab.7 Ensemble
Algorithms in practice V
Lab.8 Evaluation
Algorithms in practice VI
Lab.9 Hyperparameter tuning I
Algorithms in practice VII
Lab.10 Hyperparameter tuning II
Algorithms in practice VIII
Lab.11 Tensor Flow
Titolo 09/06/2018 9
Presentazione
Lab. of ML 18-19 Syllabus
Lab.1 Course introduction, SckitLearn I
Lab.2 SckitLearn II
Lab.3 Feature engineering: feature extraction
Algorithms in practice I
Lab.4 Feature engineering: feature transformation I
Algorithms in practice II
Lab.5 Feature engineering: feature transformation II
Algorithms in practice III
Lab.6 Feature engineering: feature selection
Algorithms in practice IV
Lab.7 Ensemble
Algorithms in practice V
Lab.8 Evaluation
Algorithms in practice VI
Lab.9 Hyperparameter tuning I
Algorithms in practice VII
Lab.10 Hyperparameter tuning II
Algorithms in practice VIII
Lab.11 Tensor Flow
Titolo 09/06/2018 10
Presentazione
Lab. of ML 18-19 Syllabus
Lab.1 Course introduction, SckitLearn I
Lab.2 SckitLearn II
Lab.3 Feature engineering: feature extraction
algorithms in practice I
Lab.4 Feature engineering: feature transformation I
algorithms in practice II
Lab.5 Feature engineering: feature transformation II
algorithms in practice III
Lab.6 Feature engineering: feature selection
algorithms in practice IV
Lab.7 Ensemble
algorithms in practice V
Lab.8 Evaluation
algorithms in practice VI
Lab.9 Hyperparameter tuning I
algorithms in practice VII
Lab.10 Hyperparameter tuning II
algorithms in practice VIII
Lab.11 Tensor Flow
Titolo 09/06/2018 11
Presentazione
Lab. of ML 18-19 Syllabus
Lab.1 Course introduction, SckitLearn I
Lab.2 SckitLearn II
Lab.3 Feature engineering: feature extraction
Algorithms in practice I
Lab.4 Feature engineering: feature transformation I
Algorithms in practice II
Lab.5 Feature engineering: feature transformation II
Algorithms in practice III
Lab.6 Feature engineering: feature selection
Algorithms in practice IV
Lab.7 Ensemble
Algorithms in practice V
Lab.8 Evaluation
Algorithms in practice VI
Lab.9 Hyperparameter tuning I
Algorithms in practice VII
Lab.10 Hyperparameter tuning II
Algorithms in practice VIII
Lab.11 Tensor Flow
Titolo 09/06/2018 12
Presentazione
Lab. of ML 18-19 Syllabus
Lab.1 Course introduction, SckitLearn I
Lab.2 SckitLearn II
Lab.3 Feature engineering: feature extraction
“In machine
algorithms learning,
in practice I ensemble methods use multiple
Lab.4learning
Feature engineering:
algorithms feature transformation
to obtain betterI predictive
algorithms in practice II
performance than could be obtained from any of the
Lab.5 Feature engineering: feature transformation II
constituent
algorithms in learning
practice III algorithms alone.”
Lab.6 Feature engineering: feature selection
algorithms in practice IV
Lab.7 Ensemble
algorithms in practice V
Lab.8 Evaluation
algorithms in practice VI
Lab.9 Hyperparameter tuning I
algorithms in practice VII
Lab.10 Hyperparameter tuning II
algorithms in practice VIII
Lab.11 Tensor Flow
Titolo 09/06/2018 13
Presentazione
Lab. of ML 18-19 Syllabus
Lab.1 Course introduction, SckitLearn I
Lab.2 SckitLearn II
Lab.3 Feature engineering: feature extraction
Algorithms in practice I
Lab.4 Feature engineering: feature transformation I
Algorithms in practice II
Lab.5 Feature engineering: feature transformation II
Algorithms in practice III
Lab.6 Feature engineering: feature selection
Algorithms in practice IV
Lab.7 Ensemble
Algorithms in practice V
Lab.8 Evaluation
Algorithms in practice VI
Lab.9 Hyperparameter tuning I
Algorithms in practice VII
Lab.10 Hyperparameter tuning II
Algorithms in practice VIII
Lab.11 Tensor Flow
Titolo 09/06/2018 14
Presentazione
Lab. of ML 18-19 Syllabus
Lab.1 Course introduction, SckitLearn I
Lab.2 SckitLearn II
Lab.3 Feature engineering: feature extraction
algorithms in practice I
Lab.4 Feature engineering: feature transformation I
algorithms in practice II
Lab.5 Feature engineering: feature transformation II
algorithms in practice III
Lab.6 Feature engineering: feature selection
algorithms in practice IV
Lab.7 Ensemble
algorithms in practice V
Lab.8 Evaluation
algorithms in practice VI
Lab.9 Hyperparameter tuning I
algorithms in practice VII
Lab.10 Hyperparameter tuning II
algorithms in practice VIII
Lab.11 Tensor Flow
Titolo 09/06/2018 15
Presentazione
Lab. of ML 18-19 Syllabus
Lab.1 Course introduction, SckitLearn I
Lab.2 SckitLearn II
Lab.3 Feature engineering: feature extraction
Algorithms in practice I
Lab.4 Feature engineering: feature transformation I
Algorithms in practice II
Lab.5 Feature engineering: feature transformation II
Algorithms in practice III
Lab.6 Feature engineering: feature selection
Algorithms in practice IV
Lab.7 Ensemble
Algorithms in practice V
Lab.8 Evaluation
Algorithms in practice VI
Lab.9 Hyperparameter tuning I
Algorithms in practice VII
Lab.10 Hyperparameter tuning II
Algorithms in practice VIII
Lab.11 Tensor Flow
Titolo 09/06/2018 16
Presentazione
Lab. of ML 18-19 Syllabus
Lab.1 Course introduction, SckitLearn I
Lab.2 SckitLearn II
Lab.3 Feature engineering: feature extraction
algorithms in practice I
“In machine learning, hyperparameter
Lab.4 Feature engineering: feature transformation I
optimization or tuning is the problem of
algorithms in practice II
choosing a set of optimal hyperparameters
Lab.5 Feature engineering: feature transformation II
algorithms in practice III
for a learning algorithm..”
Lab.6 Feature engineering: feature selection
algorithms in practice IV
Lab.7 Ensemble
algorithms in practice V
Lab.8 Evaluation
algorithms in practice VI
Lab.9 Hyperparameter tuning I
algorithms in practice VII
Lab.10 Hyperparameter tuning II
algorithms in practice VIII
Lab.11 Tensor Flow
Titolo 09/06/2018 17
Presentazione
Lab. of ML 18-19 Syllabus
Lab.1 Course introduction, SckitLearn I
Lab.2 SckitLearn II
Lab.3 Feature engineering: feature extraction
Algorithms in practice I
Lab.4 Feature engineering: feature transformation I
Algorithms in practice II
Lab.5 Feature engineering: feature transformation II
Algorithms in practice III
Lab.6 Feature engineering: feature selection
Algorithms in practice IV
Lab.7 Ensemble
Algorithms in practice V
Lab.8 Evaluation
Algorithms in practice VI
Lab.9 Hyperparameter tuning I
Algorithms in practice VII
Lab.10 Hyperparameter tuning II
Algorithms in practice VIII
Lab.11 Tensor Flow
Titolo 09/06/2018 18
Presentazione
Lab. of ML 18-19 Syllabus
Lab.1 Course introduction, SckitLearn I
Lab.2 SckitLearn II
Lab.3 Feature engineering: feature extraction
algorithms in practice I
Lab.4 Feature engineering: feature transformation I
algorithms in practice II
Lab.5 Feature engineering: feature transformation II
algorithms in practice III
is an Feature
Lab.6 open source software
engineering: library for high performance
feature selection
algorithms in practice IV
numerical computation. Its flexible architecture allows easy
Lab.7 Ensemble
deployment
algorithmsofincomputation
practice V across a variety of platforms
(CPUs,
Lab.8 GPUs, TPUs), and from desktops to clusters of
Evaluation
serversalgorithms in practice
to mobile and VIedge devices.
Lab.9 Hyperparameter tuning I
algorithms in practice VII
Lab.10 Hyperparameter tuning II
algorithms in practice VIII
Lab.11 Tensor Flow
Titolo 09/06/2018 19
Presentazione
Lab. of ML 18-19 Syllabus
Lab.1 Course introduction, SckitLearn I
Lab.2 SckitLearn II
Lab.3 Feature engineering: feature extraction
Algorithms in practice I
Lab.4 Feature engineering: feature transformation I
Algorithms in practice II
Lab.5 Feature engineering: feature transformation II
Algorithms in practice III
Lab.6 Feature engineering: feature selection
Algorithms in practice IV
Lab.7 Ensemble
Algorithms in practice V
Lab.8 Evaluation
Algorithms in practice VI
Lab.9 Hyperparameter tuning I
Algorithms in practice VII
Lab.10 Hyperparameter tuning II
Algorithms in practice VIII
Lab.11 Tensor Flow
Titolo 09/06/2018 20
Presentazione
Lab.1 - sckit-learn I
1. Anaconda Installation
2. Anaconda Prompt
3. Anaconda Navigator
4. Jupyter Notebook
5. “Hello, World!”
Titolo 09/06/2018 21
Presentazione
Lab.1 - sckit-learn I
1) download and install Anaconda
https://www.anaconda.com/download/
Titolo 09/06/2018 22
Presentazione
Lab.1 - sckit-learn I
2) “Anaconda Prompt” opens a shell having a
proper python environment
Titolo 09/06/2018 23
Presentazione
Lab.1 - sckit-learn I
2) “Anaconda Prompt” opens a shell having a
proper python environment
Titolo 09/06/2018 24
Presentazione
Lab.1 - sckit-learn I
3) “Anaconda Navigator” is a docker panel to open
specific applications.
Titolo 09/06/2018 25
Presentazione
Lab.1 - sckit-learn I
4) “Jupyter notebook” is one of these components
Titolo 09/06/2018 26
Presentazione
Lab.1 - sckit-learn I
4) “Jupyter notebook” is essentially a Web application
with advanced features to run python scripts.
Titolo 09/06/2018 27
Presentazione
Lab.1 - sckit-learn I
Titolo 09/06/2018 28
Presentazione
Lab.1 - sckit-learn I
Titolo 09/06/2018 29
Presentazione
Lab.1 - sckit-learn I
Text Type
Code Type
Titolo 09/06/2018 30
Presentazione
Lab.1 - sckit-learn I
Command Mode
Edit Mode
Titolo 09/06/2018 31
Presentazione
Lab.1 - sckit-learn I
Titolo 09/06/2018 32
Presentazione
Lab.1 - sckit-learn I
Titolo 09/06/2018 33
Presentazione
Lab.1 - sckit-learn I
Titolo 09/06/2018 34
Presentazione
Lab.1 - sckit-learn I
Titolo 09/06/2018 35
Presentazione
Lab.1 - sckit-learn I
Titolo 09/06/2018 36
Presentazione
Lab.1 - sckit-learn I
Titolo 09/06/2018 37
Presentazione
Lab.1 - sckit-learn I
Titolo 09/06/2018 38
Presentazione
Lab.1 - sckit-learn I
Titolo 09/06/2018 39
Presentazione
Lab.1 - sckit-learn I
Titolo 09/06/2018 40
Presentazione