























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!
























Well-posed Learning Problem A computer program is said to learn from (E)xperience E with respect to some (T)ask T and some (P)erformance measure P, if its performance on T, as measured by P, improves with experience E. Machine Learning Field of study that gives computers the ability to learn without being explicitly programmed. Machine Learning broad definition Field of study that gives computers the ability to learn without being explicitly programmed. Abstract Essence of ML Representation + Evaluation + Optimisation Machine Learning Learning from experience. It's also called supervised learning, were experience E is the supervision. Pattern Recognition Finding patterns without experience. It's also called unsupervised learning. Unsupervised Learing
The curse of dimensionality refers to how certain learning algorithms may perform poorly in high-dimensional data. First, it's very easy to overfit the the training data, since we can have a lot of assumptions that describe the target label (in case of supervised learning). In other words we can easily express the target using the dimensions that we have. Second,we may need to increase the number of training data exponentially, to overcome the curse of dimensionality and that may not be feasible. Third, in ML learning algorithms that depends on the distance, like k-means for clustering or k nearest neighbors, everything can become far from each others and it's difficult to interpret the distance between the data points. EXTREME Dimensionality Case In an extreme, degenerate case, if D > n, each example can be uniquely described by a set of feature values. Hidden layer(s) can
Variations include:
Where C0 is the unregularized cost Cost function - ℓ1 norm Dropout A very different approach to avoiding over-fitting is to use an approach called dropout. Here, the output of a randomly chosen subset of the neurons are temporarily set to zero during the training of a given mini-batch. This makes it so that the neurons cannot overly adapt to the output from prior layers as these are not always present. It has enjoyed wide-spread adoption and massive empirical evidence as to its usefulness. Cost function - Euclidean distance Distance measure between a pair of samples p and q in an n-dimensional feature space Cost function - Manhattan or City block distance Calculate the distance between real vectors using the sum of their absolute difference. Also called City Block Distance Basic Decision Tree Decision trees apply a series of linear decisions, that often depend on only a single variable at a time. Such trees partition the input space into cuboid regions, gradually refining the level of detail of a decision until a leaf node has been reached, which provides the final predicted label. Tree components Root node, branch, node, leaf node. Branching Factor Branching factor of node at level L is equal to the number of branches it has to nodes at level L + 1 CART Classification And Regression Trees Six general questions to decide on decision tree algorithm:
Stopping Criteria Reaching a node with a pure sample is always possible but usually not desirable as it usually causes over-fitting. Three common ways to decide when to stop splitting decision tree
Multivariate Trees Instead of monothetic decisions at each node, we can learn polythetic decisions. This can be done using many linear classifiers, but keep it simple! Missing Attributes It is common to have examples in your dataset with missing attributes/variables. One way of training a tree in the presence of missing attributes is removing all data points with any missing attributes. A better method is to only remove data points that miss a required attribute when considering the test for a given node for a given attribute. This is a great benefit of trees (and in general of combined models,) ID Interactive dichotomizer version 3 Used for nominal, unordered, input data only. Every split has branching factor , where is the number of values a variable can take (e.g. bins of discretized variable) has as many levels as input variables C4.
Sensitivity ROC Curve Receiver Operator Characteristic (ROC) curves plot TP vs FP rates Hypothesis Quality
Convergence is guaranteed but not necessarily optimal - local minima likely to occur