SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Was ist angesagt?

Reinforcement Learning
Reinforcement LearningReinforcement Learning
Reinforcement LearningSalem-Kabbani
 
Multi-Agent Reinforcement Learning
Multi-Agent Reinforcement LearningMulti-Agent Reinforcement Learning
Multi-Agent Reinforcement LearningSeolhokim
 
An introduction to reinforcement learning
An introduction to reinforcement learningAn introduction to reinforcement learning
An introduction to reinforcement learningSubrat Panda, PhD
 
Deep sarsa, Deep Q-learning, DQN
Deep sarsa, Deep Q-learning, DQNDeep sarsa, Deep Q-learning, DQN
Deep sarsa, Deep Q-learning, DQNEuijin Jeong
 
"An Introduction to Machine Learning and How to Teach Machines to See," a Pre...
"An Introduction to Machine Learning and How to Teach Machines to See," a Pre..."An Introduction to Machine Learning and How to Teach Machines to See," a Pre...
"An Introduction to Machine Learning and How to Teach Machines to See," a Pre...Edge AI and Vision Alliance
 
Supervised Machine Learning
Supervised Machine LearningSupervised Machine Learning
Supervised Machine LearningAnkit Rai
 
Reinforcement Learning : A Beginners Tutorial
Reinforcement Learning : A Beginners TutorialReinforcement Learning : A Beginners Tutorial
Reinforcement Learning : A Beginners TutorialOmar Enayet
 
Reinforcement learning 7313
Reinforcement learning 7313Reinforcement learning 7313
Reinforcement learning 7313Slideshare
 
Using SHAP to Understand Black Box Models
Using SHAP to Understand Black Box ModelsUsing SHAP to Understand Black Box Models
Using SHAP to Understand Black Box ModelsJonathan Bechtel
 
Reinforcement Learning
Reinforcement LearningReinforcement Learning
Reinforcement LearningDongHyun Kwak
 
Automatic Machine Learning, AutoML
Automatic Machine Learning, AutoMLAutomatic Machine Learning, AutoML
Automatic Machine Learning, AutoMLHimadri Mishra
 
introduction to machine learning
introduction to machine learningintroduction to machine learning
introduction to machine learningJohnson Ubah
 
Neural Networks for Pattern Recognition
Neural Networks for Pattern RecognitionNeural Networks for Pattern Recognition
Neural Networks for Pattern RecognitionVipra Singh
 
Reinforcement Learning Q-Learning
Reinforcement Learning   Q-Learning Reinforcement Learning   Q-Learning
Reinforcement Learning Q-Learning Melaku Eneayehu
 
Artificial Intelligence: What Is Reinforcement Learning?
Artificial Intelligence: What Is Reinforcement Learning?Artificial Intelligence: What Is Reinforcement Learning?
Artificial Intelligence: What Is Reinforcement Learning?Bernard Marr
 

Was ist angesagt? (20)

Reinforcement Learning
Reinforcement LearningReinforcement Learning
Reinforcement Learning
 
Multi-Agent Reinforcement Learning
Multi-Agent Reinforcement LearningMulti-Agent Reinforcement Learning
Multi-Agent Reinforcement Learning
 
An introduction to reinforcement learning
An introduction to reinforcement learningAn introduction to reinforcement learning
An introduction to reinforcement learning
 
Deep sarsa, Deep Q-learning, DQN
Deep sarsa, Deep Q-learning, DQNDeep sarsa, Deep Q-learning, DQN
Deep sarsa, Deep Q-learning, DQN
 
"An Introduction to Machine Learning and How to Teach Machines to See," a Pre...
"An Introduction to Machine Learning and How to Teach Machines to See," a Pre..."An Introduction to Machine Learning and How to Teach Machines to See," a Pre...
"An Introduction to Machine Learning and How to Teach Machines to See," a Pre...
 
Supervised Machine Learning
Supervised Machine LearningSupervised Machine Learning
Supervised Machine Learning
 
Reinforcement Learning : A Beginners Tutorial
Reinforcement Learning : A Beginners TutorialReinforcement Learning : A Beginners Tutorial
Reinforcement Learning : A Beginners Tutorial
 
Reinforcement learning 7313
Reinforcement learning 7313Reinforcement learning 7313
Reinforcement learning 7313
 
Using SHAP to Understand Black Box Models
Using SHAP to Understand Black Box ModelsUsing SHAP to Understand Black Box Models
Using SHAP to Understand Black Box Models
 
Reinforcement Learning
Reinforcement LearningReinforcement Learning
Reinforcement Learning
 
Automatic Machine Learning, AutoML
Automatic Machine Learning, AutoMLAutomatic Machine Learning, AutoML
Automatic Machine Learning, AutoML
 
Text Classification
Text ClassificationText Classification
Text Classification
 
introduction to machine learning
introduction to machine learningintroduction to machine learning
introduction to machine learning
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 
Neural Networks for Pattern Recognition
Neural Networks for Pattern RecognitionNeural Networks for Pattern Recognition
Neural Networks for Pattern Recognition
 
ML Basics
ML BasicsML Basics
ML Basics
 
Reinforcement Learning Q-Learning
Reinforcement Learning   Q-Learning Reinforcement Learning   Q-Learning
Reinforcement Learning Q-Learning
 
Meta-Learning Presentation
Meta-Learning PresentationMeta-Learning Presentation
Meta-Learning Presentation
 
Artificial Intelligence: What Is Reinforcement Learning?
Artificial Intelligence: What Is Reinforcement Learning?Artificial Intelligence: What Is Reinforcement Learning?
Artificial Intelligence: What Is Reinforcement Learning?
 
Naive Bayes
Naive BayesNaive Bayes
Naive Bayes
 

Ähnlich wie 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
 

Ähnlich wie 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
 

Kürzlich hochgeladen

Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSAishani27
 
Data-Analysis for Chicago Crime Data 2023
Data-Analysis for Chicago Crime Data  2023Data-Analysis for Chicago Crime Data  2023
Data-Analysis for Chicago Crime Data 2023ymrp368
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
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
 
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxBPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxMohammedJunaid861692
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Delhi Call girls
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxolyaivanovalion
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionfulawalesam
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingNeil Barnes
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxolyaivanovalion
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxolyaivanovalion
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxolyaivanovalion
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...Suhani Kapoor
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxolyaivanovalion
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz1
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiSuhani Kapoor
 

Kürzlich hochgeladen (20)

Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICS
 
Data-Analysis for Chicago Crime Data 2023
Data-Analysis for Chicago Crime Data  2023Data-Analysis for Chicago Crime Data  2023
Data-Analysis for Chicago Crime Data 2023
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
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
 
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxBPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interaction
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data Storytelling
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptx
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFx
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptx
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
 

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