SlideShare a Scribd company logo
1 of 45
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
Methods for Meta-Learning in AutoML
Learning how to Learn
1
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
Motivational Example
● Alex starts to learn a Maths course of 10 tests for
the first time in his life. (Problem)
● Alex wants to get a grade A in most of the
course tests. (Target)
● Alex thought that attending all lectures would
easily help him to get grade A like what he
always does in history courses. (Approach 1)
2
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
Motivational Example
● Alex got grade D in his first test. (Result 1)
● Alex decided to switch to reading the reference
book instead of attending all lectures only.
(Approach 2)
● Alex got grade C in his second test. (Result 2)
3
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
Motivational Example
● After that, Alex decided to switch to solving practice
problems instead. (Approach 3)
● Alex got grade B in his third test. (Result 3)
● So, Alex decided to summarize each lesson and
teach it to his colleagues too. (Approach 4)
● Alex got grade A in his fourth test. (Result 4)
4
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
Motivational Example
● Now, the question is how will Alex study for his 5th
test in the course ?
5
Alex has already learnt how to learn.
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
Back to Machine Learning
6
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
Motivation
7
Data
Collection
1. Data
Preprocessing
2. Feature
Extraction
3. Feature
Selection
4.
Algorithm
Selection
Deploym
ent
5.
Parameter
Tuning
Prediction
Real-World
Data Feature Engineering Model Building
Typical Supervised Machine Learning Pipeline
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
8
Model Building
4.
Algorithm
Selection
5.
Parameter
Tuning
Examples:
- Linear Classification: (Simple Linear Classification, Ridge, Lasso, Simple Perceptron, ….)
- Support Vector Machines
- Decision Tree (ID3, C4.5, C5.0, CART, ….)
- Nearest Neighbors
- Gaussian Processes
- Naive Bayes (Gaussian, Bernoulli, Complement, ….)
- Ensembling: (Random Forest, GBM, AdaBoost, ….)
Motivation: Model Building
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
9
Model Building
4.
Algorithm
Selection
5.
Parameter
Tuning
Kernel
Linear RBF Polynomial
Gamma
[2^-15, 2^3]
Degree
2,3,....
C - Penalty
[2^-5, 2^15]
Example: Support Vector Machine
……..
Motivation: Model Building
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
10
Motivation: Dimensionality Reduction
Examples of Feature Extraction:
1. Principal Component Analysis
2. Linear Discriminant Analysis
3. Multiple Discriminant Analysis
4. Independent Component
Analysis
Examples of Multivariate Feature Selection:
1. Relief
2. Correlation Feature Selection
3. Branch and Bound
4. Sequential Forward Selection
5. Plus L - Minus R
Examples of Univariate Feature Selection:
1. Information Gain
2. Fisher Score
3. Correlation with Target
2. Feature
Extraction
3. Feature
Selection
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
11
Motivation: Data PreProcessing
Examples of Data Preprocessors:
1. Scaling
2. Normalization
3. Standardization
4. Binarization
5. Imputation
6. Deletion
7. One-Hot-Encoding
8. Hashing
9. Discretization
1. Data
Preprocessing
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
Solution: Meta-Learning
1. Science of systematically observing how different machine learning
approaches perform on a wide range of learning tasks and then
learning from this experience.
12
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
Solution: Meta-Learning
2. It also allows to replace hand-written rules and algorithms with
novel approaches that are data-driven.
13
1. Science of systematically observing how different machine learning
approaches perform on a wide range of learning tasks and then
learning from this experience.
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
HOW ? Collect MetaData
1. Model Configurations:
- Pipeline Composition: (Normalization → PCA → SVM)
- Hyperparameter Settings: (PCA = 2 components, SVM = gamma: 1e-9, C = 1e2)
- Network Architectures: (2 Hidden Layers, 100 Neurons per layer)
2. Resulting Model Evaluations:
- Different Metrics: Accuracy, error rate, F1-Score.
- Training Time.
3. Task Itself (Meta-Features):
- Description of the data
14
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
HOW ? Use Meta-Data
1. Knowledge Transfer.
Use the same model as an initial
point and start to tune it.
2. Guided Search.
If Classifier X is worth than Classifier
Y by 10% then there is no need to
tune classifier X
15
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
HOW ? Use Meta-Data
Remember that Alex starts with the same approach that
succeeds in History courses.
Meta-Learning won’t be effective and may affect performance
badly in case of:
- Tasks with random noise, and unrelated phenomena.
“Tasks that are Never Seen Before”
16
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
Meta-Learning Methodologies:
1. Learning from Task Properties.
2. Learning from Model Evaluations.
3. Learning from Prior Models.
17
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
1-Learning from Task Properties:
● Represent task as a meta-feature vector.
● Studies show that optimal set of meta-features depends on application
type.[2]
● Different studies used various feature selection and extraction techniques
to reduce set of meta-features.[2][3]
18
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
1-Learning from Task Properties:
● What are Task Properties? = Types of Meta-features:
1. Simple
2. Statistical
3. Information Theoretic
4. Complexity
5. LandMarkers
19
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
Meta-Features Types: (Simple)
● Examples:
1. Number of Instances
2. Number of Features
3. Number of Classes
4. Number of Missing Values
5. Number of Outliers
20
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
Meta-Features Types: (Statistical)
● Examples:
1. Skewness of Numerical Features.
2. Kurtosis of Numerical Features.
3. Correlation Covariance between features.
4. Variance in first PCA.
5. Skewness and Kurtosis of first PCA.
6. Class probability distribution.
7. Concentration, Sparsity, Gravity of Features
(Measurements of independence and
dispersion of values.)
21
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
Meta-Features Types: (Information theoretic)
● Examples:
1. Class Entropy.
2. Mutual Information between feature and
Class.
3. Equivalent number of features (2/1)
4. Noise to Signal ratio.
22
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
Meta-Features Types: (Task Complexity)
● Examples:
1. Fisher discriminant (Measure separability
between classes).
23
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
Meta-Features Types: (Landmarkers)
● Examples:
1. LandMarker 1NN.
2. LandMarker Decision Tree.
3. LandMarker Naive Bayes.
4. LandMarker Linear Discriminant Analysis.
24
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
How to use Meta-Features?
25
● Different Similarity Measurements (Unsupervised) and warm starting optimization of
similar tasks for recommendation of candidate configurations:
Examples:
1. Rank of different configurations.
- Tasks A, B are twin tasks.
- SVM and KNN are the best for Task A.
- Then, SVM and KNN are the best for Task B.
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
How to use Meta-Features?
26
● Different Similarity Measurements (Unsupervised) and warm starting optimization of
similar tasks for recommendation of candidate configurations:
Examples:
2. Collaborative Filtering
Use results of few configurations on Task A to
predicts results of all other configurations based on
configurations results on a similar Task B
Knowledge Base Needs almost full
configurations results to be updated.
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
1-Learning from Task Properties:
27
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
How to use Meta-Features?
28
● Learning High Level Meta-Features
Low Level Features High Level Features
NEEDS BIG KNOWLEDGE BASE
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
How to use Meta-Features?
29
● Meta-Models (Supervised): Learn the complex relationship between
meta-features and useful configurations in this large space.
Example:
- Ranking of Top N Promising Configurations:
Literature suggests Boosting, and Bagging Models [4][5].
+
Approximate Ranking Tree Forests [6] (Auto Meta-Feature Selection
based on some initial results).
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
How to use Meta-Features?
30
● Pipeline Synthesis:
1. Meta-Model to predict which preprocessor with improve
performance of a specific classifier in that particular task. [7] [8]
2. Reinforcement Learning to construct pipeline by addition, deletion,
replacement of pipeline blocks. [9] (Alpha D3M - Evolutionary
Approach)
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
How to use Meta-Features?
31
● Tune or Not to Tune:
Meta Models to predict:
1. How much improvement we can expect from tuning this particular
classifier on that particular task [10].
2. How much improvement VS additional time investment? [11].
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
2-Learning from Model Evaluations:
● Using Current configuration evaluations as a prior to suggesting the
coming candidate outperforming configuration in an iterative way.
32
Example:
1. Evaluate Px on Task 1
2. Suggest new Ps
3. Select most candidate outperforming P
4. Set Px = P
5. GO TO 1
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
How it is used?
● Task Independent Recommendation:
1. Discretize the search space into a set of configurations.
2. Apply over many datasets.
3. Aggregate single task rankings into a global ranking.
● Example: Scikit Learn Cheat Sheet Algorithm.
33
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
34
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
How it is used?
● Search Space Design:
1. Learn hyperparameter default values (Best configuration over all
tasks).
2. Learn different hyperparameters importance:
- Measure variance of algorithm performance by keeping all
hyperparameters fixed and change only one.
35
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
How it is used?
● Learning Curves: (Example: 1. Apply SVM Over 100 Training Datasets)
36
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
How it is used?
● Learning Curves: (Example: 2. Apply SVM Over New Dataset)
37
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
How it is used?
● Learning Curves: (Example: 3. Measure Similarity between training curves
and testing curve)
38
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
How it is used?
● Configuration Transfer:
- Surrogate Models: usually suitable with Gaussian Processes Bayesian Optimization like the
SMAC algorithm.
- We can define task similarity based on Learning Distribution Similarity between tasks too.
39
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
How it is used?
● Configuration Transfer:
- Surrogate Models: usually suitable with Gaussian Processes like the SMAC algorithm.
We can define task similarity based of accuracy of predictions for
40
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
How it is used?
● Configuration Transfer:
- Multi-armed bandits:
1. Start with small data portion and apply multiple
configurations on these small portions.
2. Drop lowest performing configurations and increase
portion size for other configurations.
41
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
How it is used?
● Configuration Transfer:
- Multi-armed bandits:
42
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
3-Learning from Prior Models:
● Take already trained Models (Model HUB) to use for similar tasks.
● Suitable for few classifiers (Eg: Kernel Classifiers - Bayesian Networks)
BUT very good with Neural Networks. WHY?
Both Structure and Network Parameters can be a good initialization
for the target model.
43
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
References:
[1] Hutter Frank and Kotthoff Lars and Vanschoren Joaquin - Automated Machine Learning: Methods, Systems,
Challenges - (2019), Springer
[2] Bilalli, B., Abell´o, A., Aluja-Banet, T.: On the predictive power of metafeatures in OpenML. International Journal of
Applied Mathematics and Computer Science 27(4), 697 – 712 (2017)
[3] Todorovski, L., Brazdil, P., Soares, C.: Report on the experiments with feature selection in meta-level learning.
PKDD 2000 Workshop on Data mining, Decision support, Meta-learning and ILP pp. 27–39 (2000)
[4] Pinto, F., Cerqueira, V., Soares, C., Mendes-Moreira, J.: autoBagging: Learning to rank bagging workflows with
metalearning. arXiv 1706.09367 (2017)
[5] Lorena, A.C., Maciel, A.I., de Miranda, P.B.C., Costa, I.G., Prudˆencio, R.B.C.: Data complexity meta-features for
regression problems. Machine Learning 107(1), 209–246 (2018)
[6] Sun, Q., Pfahringer, B.: Pairwise meta-rules for better meta-learning based algorithm ranking. Machine Learning
93(1), 141–161 (2013)
[7] Bilalli, B., Abell´o, A., Aluja-Banet, T., Wrembel, R.: Intelligent assistance for data pre-processing. Computer
Standards & Interf. 57, 101 – 109 (2018)
[8] Schoenfeld, B., Giraud-Carrier, C., Poggeman, M., Christensen, J., Seppi, K.: Feature selection for high-dimensional
data: A fast correlation-based filter solution. In: AutoML Workshop at ICML (2018)
[9] Drori, I., Krishnamurthy, Y., Rampin, R., de Paula Lourenco, R., Ono, J.P., Cho, K., Silva, C., Freire, J.: AlphaD3M:
Machine learning pipeline synthesis. In: AutoML Workshop at ICML (2018)
[10] Ridd, P., Giraud-Carrier, C.: Using metalearning to predict when parameter optimization is likely to improve
classification accuracy. In: ECAI Workshop on Meta-learning and Algorithm Selection. pp. 18–23 (2014)
[11] Sanders, S., Giraud-Carrier, C.: Informing the use of hyperparameter optimization through metalearning. In: Proc.
ICDM. pp. 1051–1056 (2017) 44
Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee
45

More Related Content

What's hot

[124]자율주행과 기계학습
[124]자율주행과 기계학습[124]자율주행과 기계학습
[124]자율주행과 기계학습NAVER D2
 
35787646 system-software-lab-manual
35787646 system-software-lab-manual35787646 system-software-lab-manual
35787646 system-software-lab-manualNaveen Kumar
 
Introduction to Multi-armed Bandits
Introduction to Multi-armed BanditsIntroduction to Multi-armed Bandits
Introduction to Multi-armed BanditsYan Xu
 
강화학습 기초부터 DQN까지 (Reinforcement Learning from Basics to DQN)
강화학습 기초부터 DQN까지 (Reinforcement Learning from Basics to DQN)강화학습 기초부터 DQN까지 (Reinforcement Learning from Basics to DQN)
강화학습 기초부터 DQN까지 (Reinforcement Learning from Basics to DQN)Curt Park
 
Robotics: Future Career
Robotics: Future CareerRobotics: Future Career
Robotics: Future CareerRedwan Ferdous
 
Kinematic analysis of aerodynamics model
Kinematic analysis of aerodynamics modelKinematic analysis of aerodynamics model
Kinematic analysis of aerodynamics modelpavan chauda
 
Simultaneous Localization, Mapping and Self-body Shape Estimation by a Mobile...
Simultaneous Localization, Mapping and Self-body Shape Estimation by a Mobile...Simultaneous Localization, Mapping and Self-body Shape Estimation by a Mobile...
Simultaneous Localization, Mapping and Self-body Shape Estimation by a Mobile...Akira Taniguchi
 
Maze solving robot
Maze solving robotMaze solving robot
Maze solving robotKevin Mathew
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine LearningJames Ward
 
Insurance Fraud Claims Detection
Insurance Fraud Claims Detection Insurance Fraud Claims Detection
Insurance Fraud Claims Detection ArulKumar416536
 
Predict price of car from Vehicles Dataset
Predict price of car from Vehicles DatasetPredict price of car from Vehicles Dataset
Predict price of car from Vehicles DatasetSumit Saini
 
House price ppt 18 bcs6588_md. tauhid alam
House price ppt  18 bcs6588_md. tauhid alamHouse price ppt  18 bcs6588_md. tauhid alam
House price ppt 18 bcs6588_md. tauhid alamArmanMalik66
 
Automated Machine Learning (Auto ML)
Automated Machine Learning (Auto ML)Automated Machine Learning (Auto ML)
Automated Machine Learning (Auto ML)Hayim Makabee
 
Genetic Algorithm for optimization on IRIS Dataset REPORT pdf
Genetic Algorithm for optimization on IRIS Dataset REPORT pdfGenetic Algorithm for optimization on IRIS Dataset REPORT pdf
Genetic Algorithm for optimization on IRIS Dataset REPORT pdfSunil Rajput
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine LearningCloudxLab
 
Swarm Robotics Motivation to Inspiration
Swarm Robotics Motivation to InspirationSwarm Robotics Motivation to Inspiration
Swarm Robotics Motivation to InspirationMadhura Rambhajani
 

What's hot (20)

[124]자율주행과 기계학습
[124]자율주행과 기계학습[124]자율주행과 기계학습
[124]자율주행과 기계학습
 
35787646 system-software-lab-manual
35787646 system-software-lab-manual35787646 system-software-lab-manual
35787646 system-software-lab-manual
 
Introduction to Multi-armed Bandits
Introduction to Multi-armed BanditsIntroduction to Multi-armed Bandits
Introduction to Multi-armed Bandits
 
ML Basics
ML BasicsML Basics
ML Basics
 
강화학습 기초부터 DQN까지 (Reinforcement Learning from Basics to DQN)
강화학습 기초부터 DQN까지 (Reinforcement Learning from Basics to DQN)강화학습 기초부터 DQN까지 (Reinforcement Learning from Basics to DQN)
강화학습 기초부터 DQN까지 (Reinforcement Learning from Basics to DQN)
 
Fir 05 dynamics
Fir 05 dynamicsFir 05 dynamics
Fir 05 dynamics
 
Robotics: Future Career
Robotics: Future CareerRobotics: Future Career
Robotics: Future Career
 
Kinematic analysis of aerodynamics model
Kinematic analysis of aerodynamics modelKinematic analysis of aerodynamics model
Kinematic analysis of aerodynamics model
 
Simultaneous Localization, Mapping and Self-body Shape Estimation by a Mobile...
Simultaneous Localization, Mapping and Self-body Shape Estimation by a Mobile...Simultaneous Localization, Mapping and Self-body Shape Estimation by a Mobile...
Simultaneous Localization, Mapping and Self-body Shape Estimation by a Mobile...
 
Maze solving robot
Maze solving robotMaze solving robot
Maze solving robot
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
Insurance Fraud Claims Detection
Insurance Fraud Claims Detection Insurance Fraud Claims Detection
Insurance Fraud Claims Detection
 
Predict price of car from Vehicles Dataset
Predict price of car from Vehicles DatasetPredict price of car from Vehicles Dataset
Predict price of car from Vehicles Dataset
 
House price ppt 18 bcs6588_md. tauhid alam
House price ppt  18 bcs6588_md. tauhid alamHouse price ppt  18 bcs6588_md. tauhid alam
House price ppt 18 bcs6588_md. tauhid alam
 
Robotics Navigation
Robotics NavigationRobotics Navigation
Robotics Navigation
 
Artificial Intelligence = ML + DL with Tensor Flow
Artificial Intelligence = ML + DL with Tensor FlowArtificial Intelligence = ML + DL with Tensor Flow
Artificial Intelligence = ML + DL with Tensor Flow
 
Automated Machine Learning (Auto ML)
Automated Machine Learning (Auto ML)Automated Machine Learning (Auto ML)
Automated Machine Learning (Auto ML)
 
Genetic Algorithm for optimization on IRIS Dataset REPORT pdf
Genetic Algorithm for optimization on IRIS Dataset REPORT pdfGenetic Algorithm for optimization on IRIS Dataset REPORT pdf
Genetic Algorithm for optimization on IRIS Dataset REPORT pdf
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
Swarm Robotics Motivation to Inspiration
Swarm Robotics Motivation to InspirationSwarm Robotics Motivation to Inspiration
Swarm Robotics Motivation to Inspiration
 

Similar to Methods for meta learning in AutoML

Data science seminar - University of Tartu - SmartML
Data science seminar - University of Tartu - SmartMLData science seminar - University of Tartu - SmartML
Data science seminar - University of Tartu - SmartMLMohamed Maher
 
Automated Machine Learning and SmartML
Automated Machine Learning and SmartMLAutomated Machine Learning and SmartML
Automated Machine Learning and SmartMLMohamed Maher
 
Scheme g third semester (co,cm,cd,if, cw)
Scheme   g third semester (co,cm,cd,if, cw)Scheme   g third semester (co,cm,cd,if, cw)
Scheme g third semester (co,cm,cd,if, cw)anita bodke
 
M.sc cs annual_2019-20
M.sc cs annual_2019-20M.sc cs annual_2019-20
M.sc cs annual_2019-20Pankaj Dadhich
 
A SIMPLE PROCESS TO SPEED UP MACHINE LEARNING METHODS: APPLICATION TO HIDDEN ...
A SIMPLE PROCESS TO SPEED UP MACHINE LEARNING METHODS: APPLICATION TO HIDDEN ...A SIMPLE PROCESS TO SPEED UP MACHINE LEARNING METHODS: APPLICATION TO HIDDEN ...
A SIMPLE PROCESS TO SPEED UP MACHINE LEARNING METHODS: APPLICATION TO HIDDEN ...cscpconf
 
Te computer syllabus 2015 course 3-4-17 3-5-17
Te computer syllabus 2015 course 3-4-17 3-5-17Te computer syllabus 2015 course 3-4-17 3-5-17
Te computer syllabus 2015 course 3-4-17 3-5-17VishalButkar2
 
Te computer-syllabus-2015-course-3-4-17
Te computer-syllabus-2015-course-3-4-17Te computer-syllabus-2015-course-3-4-17
Te computer-syllabus-2015-course-3-4-17abc19789
 
Se be information technology rev 2016
Se   be information technology rev 2016Se   be information technology rev 2016
Se be information technology rev 2016SANJEEVKUMARSRIVASTA7
 
Se be information technology rev 2016
Se   be information technology rev 2016Se   be information technology rev 2016
Se be information technology rev 2016SANJEEVKUMARSRIVASTA7
 
[update] Introductory Parts of the Book "Dive into Deep Learning"
[update] Introductory Parts of the Book "Dive into Deep Learning"[update] Introductory Parts of the Book "Dive into Deep Learning"
[update] Introductory Parts of the Book "Dive into Deep Learning"Young-Min kang
 
Big Data & Text Analytics - Lesson Schedule
Big Data & Text Analytics - Lesson ScheduleBig Data & Text Analytics - Lesson Schedule
Big Data & Text Analytics - Lesson ScheduleMichael Lew
 
META-LEARNING.pptx
META-LEARNING.pptxMETA-LEARNING.pptx
META-LEARNING.pptxAyanaRukasar
 
4.74 s.e. computer engineering (1)
4.74 s.e. computer engineering (1)4.74 s.e. computer engineering (1)
4.74 s.e. computer engineering (1)Aditya66086
 
CS8082_MachineLearnigTechniques _Unit-1.ppt
CS8082_MachineLearnigTechniques _Unit-1.pptCS8082_MachineLearnigTechniques _Unit-1.ppt
CS8082_MachineLearnigTechniques _Unit-1.pptpushpait
 
Validation of ATL Transformation to Generate a Reliable MVC2 Web Models
Validation of ATL Transformation to Generate a Reliable MVC2 Web ModelsValidation of ATL Transformation to Generate a Reliable MVC2 Web Models
Validation of ATL Transformation to Generate a Reliable MVC2 Web ModelsIJEACS
 
course outline
course outlinecourse outline
course outlinebutest
 
Fundamentals of computers and information technology
Fundamentals of computers and information technologyFundamentals of computers and information technology
Fundamentals of computers and information technologyDammar Singh Saud
 
Orientation slides : M1 CCS (Cloud Computing and Services) : Univ de Rennes 1
Orientation slides : M1 CCS (Cloud Computing and Services) : Univ de Rennes 1Orientation slides : M1 CCS (Cloud Computing and Services) : Univ de Rennes 1
Orientation slides : M1 CCS (Cloud Computing and Services) : Univ de Rennes 1Muhammad Chaudry
 

Similar to Methods for meta learning in AutoML (20)

Data science seminar - University of Tartu - SmartML
Data science seminar - University of Tartu - SmartMLData science seminar - University of Tartu - SmartML
Data science seminar - University of Tartu - SmartML
 
Automated Machine Learning and SmartML
Automated Machine Learning and SmartMLAutomated Machine Learning and SmartML
Automated Machine Learning and SmartML
 
Scheme g third semester (co,cm,cd,if, cw)
Scheme   g third semester (co,cm,cd,if, cw)Scheme   g third semester (co,cm,cd,if, cw)
Scheme g third semester (co,cm,cd,if, cw)
 
M.sc cs annual_2019-20
M.sc cs annual_2019-20M.sc cs annual_2019-20
M.sc cs annual_2019-20
 
A SIMPLE PROCESS TO SPEED UP MACHINE LEARNING METHODS: APPLICATION TO HIDDEN ...
A SIMPLE PROCESS TO SPEED UP MACHINE LEARNING METHODS: APPLICATION TO HIDDEN ...A SIMPLE PROCESS TO SPEED UP MACHINE LEARNING METHODS: APPLICATION TO HIDDEN ...
A SIMPLE PROCESS TO SPEED UP MACHINE LEARNING METHODS: APPLICATION TO HIDDEN ...
 
Te computer syllabus 2015 course 3-4-17 3-5-17
Te computer syllabus 2015 course 3-4-17 3-5-17Te computer syllabus 2015 course 3-4-17 3-5-17
Te computer syllabus 2015 course 3-4-17 3-5-17
 
06522405
0652240506522405
06522405
 
Te computer-syllabus-2015-course-3-4-17
Te computer-syllabus-2015-course-3-4-17Te computer-syllabus-2015-course-3-4-17
Te computer-syllabus-2015-course-3-4-17
 
Se be information technology rev 2016
Se   be information technology rev 2016Se   be information technology rev 2016
Se be information technology rev 2016
 
Se be information technology rev 2016
Se   be information technology rev 2016Se   be information technology rev 2016
Se be information technology rev 2016
 
[update] Introductory Parts of the Book "Dive into Deep Learning"
[update] Introductory Parts of the Book "Dive into Deep Learning"[update] Introductory Parts of the Book "Dive into Deep Learning"
[update] Introductory Parts of the Book "Dive into Deep Learning"
 
Big Data & Text Analytics - Lesson Schedule
Big Data & Text Analytics - Lesson ScheduleBig Data & Text Analytics - Lesson Schedule
Big Data & Text Analytics - Lesson Schedule
 
META-LEARNING.pptx
META-LEARNING.pptxMETA-LEARNING.pptx
META-LEARNING.pptx
 
4.74 s.e. computer engineering (1)
4.74 s.e. computer engineering (1)4.74 s.e. computer engineering (1)
4.74 s.e. computer engineering (1)
 
CS8082_MachineLearnigTechniques _Unit-1.ppt
CS8082_MachineLearnigTechniques _Unit-1.pptCS8082_MachineLearnigTechniques _Unit-1.ppt
CS8082_MachineLearnigTechniques _Unit-1.ppt
 
Numerical Methods
Numerical MethodsNumerical Methods
Numerical Methods
 
Validation of ATL Transformation to Generate a Reliable MVC2 Web Models
Validation of ATL Transformation to Generate a Reliable MVC2 Web ModelsValidation of ATL Transformation to Generate a Reliable MVC2 Web Models
Validation of ATL Transformation to Generate a Reliable MVC2 Web Models
 
course outline
course outlinecourse outline
course outline
 
Fundamentals of computers and information technology
Fundamentals of computers and information technologyFundamentals of computers and information technology
Fundamentals of computers and information technology
 
Orientation slides : M1 CCS (Cloud Computing and Services) : Univ de Rennes 1
Orientation slides : M1 CCS (Cloud Computing and Services) : Univ de Rennes 1Orientation slides : M1 CCS (Cloud Computing and Services) : Univ de Rennes 1
Orientation slides : M1 CCS (Cloud Computing and Services) : Univ de Rennes 1
 

Recently uploaded

Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Jack DiGiovanna
 
Predicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationPredicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationBoston Institute of Analytics
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfSocial Samosa
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPramod Kumar Srivastava
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingNeil Barnes
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiSuhani Kapoor
 
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...Suhani Kapoor
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubaihf8803863
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Delhi Call girls
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts ServiceSapana Sha
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfLars Albertsson
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfLars Albertsson
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsappssapnasaifi408
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...Florian Roscheck
 

Recently uploaded (20)

Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
 
Predicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationPredicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project Presentation
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data Storytelling
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
 
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts Service
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdf
 
Decoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in ActionDecoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in Action
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
 
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
 

Methods for meta learning in AutoML

  • 1. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee Methods for Meta-Learning in AutoML Learning how to Learn 1
  • 2. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee Motivational Example ● Alex starts to learn a Maths course of 10 tests for the first time in his life. (Problem) ● Alex wants to get a grade A in most of the course tests. (Target) ● Alex thought that attending all lectures would easily help him to get grade A like what he always does in history courses. (Approach 1) 2
  • 3. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee Motivational Example ● Alex got grade D in his first test. (Result 1) ● Alex decided to switch to reading the reference book instead of attending all lectures only. (Approach 2) ● Alex got grade C in his second test. (Result 2) 3
  • 4. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee Motivational Example ● After that, Alex decided to switch to solving practice problems instead. (Approach 3) ● Alex got grade B in his third test. (Result 3) ● So, Alex decided to summarize each lesson and teach it to his colleagues too. (Approach 4) ● Alex got grade A in his fourth test. (Result 4) 4
  • 5. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee Motivational Example ● Now, the question is how will Alex study for his 5th test in the course ? 5 Alex has already learnt how to learn.
  • 6. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee Back to Machine Learning 6
  • 7. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee Motivation 7 Data Collection 1. Data Preprocessing 2. Feature Extraction 3. Feature Selection 4. Algorithm Selection Deploym ent 5. Parameter Tuning Prediction Real-World Data Feature Engineering Model Building Typical Supervised Machine Learning Pipeline
  • 8. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee 8 Model Building 4. Algorithm Selection 5. Parameter Tuning Examples: - Linear Classification: (Simple Linear Classification, Ridge, Lasso, Simple Perceptron, ….) - Support Vector Machines - Decision Tree (ID3, C4.5, C5.0, CART, ….) - Nearest Neighbors - Gaussian Processes - Naive Bayes (Gaussian, Bernoulli, Complement, ….) - Ensembling: (Random Forest, GBM, AdaBoost, ….) Motivation: Model Building
  • 9. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee 9 Model Building 4. Algorithm Selection 5. Parameter Tuning Kernel Linear RBF Polynomial Gamma [2^-15, 2^3] Degree 2,3,.... C - Penalty [2^-5, 2^15] Example: Support Vector Machine …….. Motivation: Model Building
  • 10. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee 10 Motivation: Dimensionality Reduction Examples of Feature Extraction: 1. Principal Component Analysis 2. Linear Discriminant Analysis 3. Multiple Discriminant Analysis 4. Independent Component Analysis Examples of Multivariate Feature Selection: 1. Relief 2. Correlation Feature Selection 3. Branch and Bound 4. Sequential Forward Selection 5. Plus L - Minus R Examples of Univariate Feature Selection: 1. Information Gain 2. Fisher Score 3. Correlation with Target 2. Feature Extraction 3. Feature Selection
  • 11. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee 11 Motivation: Data PreProcessing Examples of Data Preprocessors: 1. Scaling 2. Normalization 3. Standardization 4. Binarization 5. Imputation 6. Deletion 7. One-Hot-Encoding 8. Hashing 9. Discretization 1. Data Preprocessing
  • 12. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee Solution: Meta-Learning 1. Science of systematically observing how different machine learning approaches perform on a wide range of learning tasks and then learning from this experience. 12
  • 13. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee Solution: Meta-Learning 2. It also allows to replace hand-written rules and algorithms with novel approaches that are data-driven. 13 1. Science of systematically observing how different machine learning approaches perform on a wide range of learning tasks and then learning from this experience.
  • 14. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee HOW ? Collect MetaData 1. Model Configurations: - Pipeline Composition: (Normalization → PCA → SVM) - Hyperparameter Settings: (PCA = 2 components, SVM = gamma: 1e-9, C = 1e2) - Network Architectures: (2 Hidden Layers, 100 Neurons per layer) 2. Resulting Model Evaluations: - Different Metrics: Accuracy, error rate, F1-Score. - Training Time. 3. Task Itself (Meta-Features): - Description of the data 14
  • 15. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee HOW ? Use Meta-Data 1. Knowledge Transfer. Use the same model as an initial point and start to tune it. 2. Guided Search. If Classifier X is worth than Classifier Y by 10% then there is no need to tune classifier X 15
  • 16. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee HOW ? Use Meta-Data Remember that Alex starts with the same approach that succeeds in History courses. Meta-Learning won’t be effective and may affect performance badly in case of: - Tasks with random noise, and unrelated phenomena. “Tasks that are Never Seen Before” 16
  • 17. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee Meta-Learning Methodologies: 1. Learning from Task Properties. 2. Learning from Model Evaluations. 3. Learning from Prior Models. 17
  • 18. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee 1-Learning from Task Properties: ● Represent task as a meta-feature vector. ● Studies show that optimal set of meta-features depends on application type.[2] ● Different studies used various feature selection and extraction techniques to reduce set of meta-features.[2][3] 18
  • 19. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee 1-Learning from Task Properties: ● What are Task Properties? = Types of Meta-features: 1. Simple 2. Statistical 3. Information Theoretic 4. Complexity 5. LandMarkers 19
  • 20. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee Meta-Features Types: (Simple) ● Examples: 1. Number of Instances 2. Number of Features 3. Number of Classes 4. Number of Missing Values 5. Number of Outliers 20
  • 21. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee Meta-Features Types: (Statistical) ● Examples: 1. Skewness of Numerical Features. 2. Kurtosis of Numerical Features. 3. Correlation Covariance between features. 4. Variance in first PCA. 5. Skewness and Kurtosis of first PCA. 6. Class probability distribution. 7. Concentration, Sparsity, Gravity of Features (Measurements of independence and dispersion of values.) 21
  • 22. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee Meta-Features Types: (Information theoretic) ● Examples: 1. Class Entropy. 2. Mutual Information between feature and Class. 3. Equivalent number of features (2/1) 4. Noise to Signal ratio. 22
  • 23. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee Meta-Features Types: (Task Complexity) ● Examples: 1. Fisher discriminant (Measure separability between classes). 23
  • 24. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee Meta-Features Types: (Landmarkers) ● Examples: 1. LandMarker 1NN. 2. LandMarker Decision Tree. 3. LandMarker Naive Bayes. 4. LandMarker Linear Discriminant Analysis. 24
  • 25. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee How to use Meta-Features? 25 ● Different Similarity Measurements (Unsupervised) and warm starting optimization of similar tasks for recommendation of candidate configurations: Examples: 1. Rank of different configurations. - Tasks A, B are twin tasks. - SVM and KNN are the best for Task A. - Then, SVM and KNN are the best for Task B.
  • 26. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee How to use Meta-Features? 26 ● Different Similarity Measurements (Unsupervised) and warm starting optimization of similar tasks for recommendation of candidate configurations: Examples: 2. Collaborative Filtering Use results of few configurations on Task A to predicts results of all other configurations based on configurations results on a similar Task B Knowledge Base Needs almost full configurations results to be updated.
  • 27. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee 1-Learning from Task Properties: 27
  • 28. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee How to use Meta-Features? 28 ● Learning High Level Meta-Features Low Level Features High Level Features NEEDS BIG KNOWLEDGE BASE
  • 29. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee How to use Meta-Features? 29 ● Meta-Models (Supervised): Learn the complex relationship between meta-features and useful configurations in this large space. Example: - Ranking of Top N Promising Configurations: Literature suggests Boosting, and Bagging Models [4][5]. + Approximate Ranking Tree Forests [6] (Auto Meta-Feature Selection based on some initial results).
  • 30. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee How to use Meta-Features? 30 ● Pipeline Synthesis: 1. Meta-Model to predict which preprocessor with improve performance of a specific classifier in that particular task. [7] [8] 2. Reinforcement Learning to construct pipeline by addition, deletion, replacement of pipeline blocks. [9] (Alpha D3M - Evolutionary Approach)
  • 31. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee How to use Meta-Features? 31 ● Tune or Not to Tune: Meta Models to predict: 1. How much improvement we can expect from tuning this particular classifier on that particular task [10]. 2. How much improvement VS additional time investment? [11].
  • 32. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee 2-Learning from Model Evaluations: ● Using Current configuration evaluations as a prior to suggesting the coming candidate outperforming configuration in an iterative way. 32 Example: 1. Evaluate Px on Task 1 2. Suggest new Ps 3. Select most candidate outperforming P 4. Set Px = P 5. GO TO 1
  • 33. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee How it is used? ● Task Independent Recommendation: 1. Discretize the search space into a set of configurations. 2. Apply over many datasets. 3. Aggregate single task rankings into a global ranking. ● Example: Scikit Learn Cheat Sheet Algorithm. 33
  • 34. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee 34
  • 35. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee How it is used? ● Search Space Design: 1. Learn hyperparameter default values (Best configuration over all tasks). 2. Learn different hyperparameters importance: - Measure variance of algorithm performance by keeping all hyperparameters fixed and change only one. 35
  • 36. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee How it is used? ● Learning Curves: (Example: 1. Apply SVM Over 100 Training Datasets) 36
  • 37. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee How it is used? ● Learning Curves: (Example: 2. Apply SVM Over New Dataset) 37
  • 38. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee How it is used? ● Learning Curves: (Example: 3. Measure Similarity between training curves and testing curve) 38
  • 39. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee How it is used? ● Configuration Transfer: - Surrogate Models: usually suitable with Gaussian Processes Bayesian Optimization like the SMAC algorithm. - We can define task similarity based on Learning Distribution Similarity between tasks too. 39
  • 40. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee How it is used? ● Configuration Transfer: - Surrogate Models: usually suitable with Gaussian Processes like the SMAC algorithm. We can define task similarity based of accuracy of predictions for 40
  • 41. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee How it is used? ● Configuration Transfer: - Multi-armed bandits: 1. Start with small data portion and apply multiple configurations on these small portions. 2. Drop lowest performing configurations and increase portion size for other configurations. 41
  • 42. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee How it is used? ● Configuration Transfer: - Multi-armed bandits: 42
  • 43. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee 3-Learning from Prior Models: ● Take already trained Models (Model HUB) to use for similar tasks. ● Suitable for few classifiers (Eg: Kernel Classifiers - Bayesian Networks) BUT very good with Neural Networks. WHY? Both Structure and Network Parameters can be a good initialization for the target model. 43
  • 44. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee References: [1] Hutter Frank and Kotthoff Lars and Vanschoren Joaquin - Automated Machine Learning: Methods, Systems, Challenges - (2019), Springer [2] Bilalli, B., Abell´o, A., Aluja-Banet, T.: On the predictive power of metafeatures in OpenML. International Journal of Applied Mathematics and Computer Science 27(4), 697 – 712 (2017) [3] Todorovski, L., Brazdil, P., Soares, C.: Report on the experiments with feature selection in meta-level learning. PKDD 2000 Workshop on Data mining, Decision support, Meta-learning and ILP pp. 27–39 (2000) [4] Pinto, F., Cerqueira, V., Soares, C., Mendes-Moreira, J.: autoBagging: Learning to rank bagging workflows with metalearning. arXiv 1706.09367 (2017) [5] Lorena, A.C., Maciel, A.I., de Miranda, P.B.C., Costa, I.G., Prudˆencio, R.B.C.: Data complexity meta-features for regression problems. Machine Learning 107(1), 209–246 (2018) [6] Sun, Q., Pfahringer, B.: Pairwise meta-rules for better meta-learning based algorithm ranking. Machine Learning 93(1), 141–161 (2013) [7] Bilalli, B., Abell´o, A., Aluja-Banet, T., Wrembel, R.: Intelligent assistance for data pre-processing. Computer Standards & Interf. 57, 101 – 109 (2018) [8] Schoenfeld, B., Giraud-Carrier, C., Poggeman, M., Christensen, J., Seppi, K.: Feature selection for high-dimensional data: A fast correlation-based filter solution. In: AutoML Workshop at ICML (2018) [9] Drori, I., Krishnamurthy, Y., Rampin, R., de Paula Lourenco, R., Ono, J.P., Cho, K., Silva, C., Freire, J.: AlphaD3M: Machine learning pipeline synthesis. In: AutoML Workshop at ICML (2018) [10] Ridd, P., Giraud-Carrier, C.: Using metalearning to predict when parameter optimization is likely to improve classification accuracy. In: ECAI Workshop on Meta-learning and Algorithm Selection. pp. 18–23 (2014) [11] Sanders, S., Giraud-Carrier, C.: Informing the use of hyperparameter optimization through metalearning. In: Proc. ICDM. pp. 1051–1056 (2017) 44
  • 45. Mohamed Maher - University of Tartu - 2019 - mohamed.abdelrahman@ut.ee 45