BookSlides 11 The Art of Machine Learning For Predictive Data Analytics
BookSlides 11 The Art of Machine Learning For Predictive Data Analytics
BookSlides 11 The Art of Machine Learning For Predictive Data Analytics
Different Perspectives on
Prediction Models
Different Perspectives on Prediction Models Choosing a Machine Learning Approach Your Next Steps
X
H(t, D) = − (P(t = l) × log2 (P(t = l))) (1)
l∈levels(t)
v
u m
uX
dist(q, d) = t (q[i] − d[i])2 (2)
i=1
P(q|t = l)P(t = l)
P(t = l|q) = (3)
P(q)
n
1X
L2 (Mw , D) = (ti − Mw (di ))2 (4)
2
i=1
Different Perspectives on Prediction Models Choosing a Machine Learning Approach Your Next Steps
0.5
1.0
P(t=l1|d) P(t=l2|d)
P(d|t=l1) P(d|t=l2)
0.4
0.8
Class Conditional Density
Class Posteriors
0.3
0.6
0.2
0.4
0.1
0.2
0.0
0.0
0 2 4 6 8 10 0 2 4 6 8 10
d d
(a) (b)
Figure: (a) The class conditional densities for two classes (’l1’,’l2’)
with a single descriptive feature d. (b) The class posterior
probabilities plotted for each class for different values of d.
P(t = ’l1’|d) is not affected by the multimodal structure of the
corresponding class conditional density P(d|t = ’l1’). Based on
Figure 1.27 from (Bishop, 2006).
Different Perspectives on Prediction Models Choosing a Machine Learning Approach Your Next Steps
1
While the individual models in an ensemble could be non-parametric (for
example when decision trees are used) the ensemble model itself is
considered parametric.
Different Perspectives on Prediction Models Choosing a Machine Learning Approach Your Next Steps
F2
‘good’ F2 ‘good’
‘good’
F1 F1 F1
F1
F2
Different Perspectives on Prediction Models Choosing a Machine Learning Approach Your Next Steps
Project Requirements
Accuracy
Prediction speed
Capacity for retraining
Interpretability
Different Perspectives on Prediction Models Choosing a Machine Learning Approach Your Next Steps
Data Considerations
continuous target → error based models
categorical target → information and probability models
continuous descriptive features → (+cat. target) similarity
based models / (+cont. target) error based models
categorical descriptive features → information and
probability models
lots of descriptive features (curse of dimensionality) →
feature selection
Different Perspectives on Prediction Models Choosing a Machine Learning Approach Your Next Steps