n Classify what types of customers buy what products n What makes a pattern interesting? n easily understood

Size: px
Start display at page:

Download "n Classify what types of customers buy what products n What makes a pattern interesting? n easily understood"

Transcription

1 Data Mining/Knowledge Discovery/ Intelligent Data Analysis Task: discovering interesting patterns or structures in large amounts of data. Multidisciplinary: machine learning, statistics and databases Algorithms: construct particular types of models or patterns, rely on a built-in bias to simpler or more explanatory models, are designed to be efficient, require interestingness or evaluation criteria to separate pattern from noise. Applications Marketing Market basket associations between product sales, e.g., beer and diapers Classify what types of customers buy what products Auto Insurance Fraud Detect people who stage accidents to collect on insurance Money Laundering Since 1993, the US Treasury's Financial Crimes Enforcement Network agency has used a data-mining application to detect suspicious money transactions Spam filtering, flu or earthquake detection, ad tailoring, social trends, recommendations, uncovering secrets Key Issue: Feedback Supervised: ground truth or correct answer is provided by a teacher Reinforcement: program receives some evaluation, but is not told the correct answer Unsupervised: correct answer must be inferred, no hints Key Issue: Interestingness What makes a pattern interesting? easily understood valid on new data within some certainty useful novel Measures statistical significance or frequency recall vs. precision (how well are data characterized?) model specific 1

2 Assessing Performance: Separating Training and Testing The set of examples is divided into two sets: training and testing. Varying the size of randomly selected training/testing sets produces a learning curve. 3 rd set for validation: used to optimize parameters or select model prior to testing Assessing Performance: Cross-Validation addresses overfitting when model matches data too closely to permit generalizations. K-fold Cross-validation (aka Leave-One-Out ) 1. Shuffle items in the problem set. 2. Divide set into k equal sized parts (aka folds ) 3. Do i=1 to k times: 1. Call the ith set the test set and put aside. 2. Train the system on the other k-1 sets; test on the ith set and record performance 3. Reset 4. Calculate average performance for the k tests Assessing Performance: Stratification Cross validation random folds assume the data includes all of the classes. But for rare classes, can get unlucky. Stratification is when folds are selected so that each class is represented in both training and testing Assessing Performance: Bootstrap Sampling with replacement Good for small datasets bootstrap (approximate % of instances that make it into the training set) 1. Collect n samples from dataset of size n with replacement which becomes the training set 2. Instances not sampled become the testing set 2

3 Data Mining Models Classifiers Supervised: training data includes known class 1R, Decision Trees, Naïve Bayes Unsupervised: training data do not have correct answer Clusters Patterns in Logs: Association rules Sequence detection Classification: Generalizing from Examples Given a collection of examples (input and classification pairs), return a function that approximates the true classification. Typically, data are vectors of feature values (e.g., Vector model of terms in Information Retrieval). Linear Spline Alternate Classification Models Bias is any preference for one hypothesis over another beyond mere consistency of examples. Hard part is determining what makes a good classification representation. Ockham s razor: the most likely hypothesis is the simplest one that is consistent with the observations. Supervised I: Nearest-Neighbors Select a classification for a new point based on the labels for the k nearest neighbors For discrete, take majority vote. For continuous, average, do linear or weighted regression. Issues: How to pick k? How to compute distances? 3

4 Nearest-Neighbors Example Making Nearest Neighbor Efficient Obvious method: linear scan of data Efficient data structures kd-trees: binary tree that recursively constructs hyperplane partitions. It stores points in k dimensional space where k is number of attributes. Ball trees: defines k-dimensional hyperspheres, arranged in a tree Making Nearest Neighbor Efficient: example kd-trees Supervised II: 1R (7,4) horizontal a2 (3,8) (6,7) Rule on one attribute Most frequent class for each value of the attribute (4,2) vertical (6,7) vertical (7,4) Choose attribute with the lowest error rate: % of instances that don t belong to most frequent class for the value (2,2) (3,8) (2,2) (4,2) Adapted from Witten et al. a1 4

5 Example Data # Hair Height Weight Lotion Sunburn? 1 blonde average light no yes 2 blonde tall average yes no 3 brown short average yes no 4 blonde short average no yes 5 red average heavy no yes 6 brown tall heavy no no 7 brown average heavy no yes 8 blonde short light yes no 1R on example data Attribute Rules Errors Total Errors Hair Blonde è yes 2/4 3/8 Brown è no 1/3 Red è yes 0/1 Height Short è no 1/3 1/8 Average è yes 0/3 Tall è no 0/2 Weight Light è yes 1/2 3/8 Average è no 1/3 Heavy è yes 1/3 Lotion Yes è no 0/3 1/8 No è yes 1/5 1R Extension Hyperpipes Procedure: Construct one rule per class: conjunction of tests for subset of values on each attribute Prediction is the class returned by the most rules Simple form of voting/ensemble Supervised III: Decision Trees Models a discrete valued function Represent concepts as a series of decisions (answers to tests) Internal nodes are tests with branches to different answers Leaf nodes are the classification for the data element 5

6 Decision Trees, basic idea Example Decision Tree: Mushroom Classification Y if X > 5 then yellow else if Y > 3 then yellow else if X > 2 then blue else yellow Yellow? Large? Spotted? 3 poisonous edible Big spots? poisonous 2 5 X Figure/example taken from by Piatetsky & Parker edible poisonous Lopsided Binary Tree for Classifying Cards Using Information Theory to Choose What to Ask When yes Ace? yes 7? no 8? 9? Card Target? Α yes 7 yes 8 no 9 yes Can we characterize how much it is worth to get an answer to a question? Given a probability distribution, the information required to predict an event is the distribution s entropy One bit of information is enough to answer a yes or no question General case: Entropy is Information n I(P(v 1 ),...,P(v n )) = P(v i )log 2 P(v i ) i=1 yes no Boolean case: I(P(t),P( f )) = P(t)log 2 P(t) P( f )log 2 P( f ) 6

7 Relate this to Coin Tossing Consider information in tossing a fair coin. ' 1 1 $ I%, " = log log2 & 2 2 # = 1bit Consider an unfair coin, heads 1 in 100 tosses. ' 1 99 $ I%, " = log2 log2 =.08 bit & # Efficiently Splitting the Cases Assume world is divided into two classes: P (positive) and N (negative). Assumptions for test are: 1. Any correct decision tree will classify objects in the same proportion as their representation in the example set. An object will belong to P with probability p/p+n and N with probability n/n+p. 2. A decision tree returns P or N with expected information needed given by: I(p,n) = p p + n log p 2 p + n n p + n log n 2 p + n Information content of knowing whether xεp or xεn. Information Gain If attribute A with values {A1,A2, Av} is the root, it will partition the examples into {C1,C2, Cv} where Ci contains examples that have value Ai of A. The expected information required for tree with A as root is: v p Remainder(A) = i + n i I(p p + n i,n i ) i=1 The information gained by branching on A is: gain(a) = I (p,n) Remainder(A) Example: Training Set # Outlook Temperature Humidity Windy Class 1 sunny hot high false N 2 sunny hot high true N 3 overcast hot high false P 4 rain mild high false P 5 rain cool normal false P 6 rain cool normal true N 7 overcast cool normal true P 8 sunny mild high false N 9 sunny cool normal false P 10 rain mild normal false P 11 sunny mild normal true P 12 overcast mild high true P 13 overcast hot normal false P 14 rain mild high true N 7

8 Example Trees Example: Information outlook humidity sunny {N,N,N,P,P} overcast {P,P,P,P} rain {P,P,P,N,N} High {N,N,N,N,P,P,P} Normal {P,P,P,P,P,P,N} Temperature windy Hot {N,N,P,P} Mild {P,P,P,P,N,N} Cool {P,P,P,N} False {P,P,P,P,P,P,N,N} True {P,P,P,N,N,N} I(p,n) = 9 14 log log = 0.94bits Attribute outlook is {sunny, overcast,rainy} sunny p 1 = 2 n 1 = 3 I(p 1,n 1 ) = overcast p 2 = 4 n 2 = 0 I( p 2,n 2 ) = 0.0 rainy p 3 = 3 n 3 = 2 I (p 3,n 3 ) = Example (cont.) Remainder(outlook) = 5 14 I( p 1,n 1 ) I( p 2,n 2 ) I( p 3,n 3 ) = 0.69bits gain(outlook) = Remainder(outlook) = 0.246bits Example (cont.) Continued analysis yields: gain(outlook) = gain(temperature) = gain(humidity) = gain(windy) =

9 Purity Measure Necessary properties: When node is pure, measure should be 0 When impurity is maximal (i.e., all classes equally likely), measure should be maximal Measure should obey multistage property. Decisions can be made in several stages. ID3: Using Information Gain Given as inputs a set of attributes A, an overall set S and a target concept T: 1. If every element of S is in T, then return yes ; If no element is in T, return no. 2. Otherwise, let a be the most discriminating element (highest gain) of A. Return a tree whose left branch includes all attributes remaining except a, all members of S also in a, and the target; the right branch includes everything not satisfying a. 3. Recurse building the tree incrementally. C4.5: Extension to ID3 Accommodates Missing attribute values In building a tree by considering only records with the values In using a tree by estimating probability distribution for different values from observed cases Continuous values Generates partitions according to observed values and considers values up to each partition value as attributes Supervised IV: Statistical Modeling Assumptions about attributes Equally important Statistically independent Knowing the value of one attribute says nothing about the value of another if the class is known In practice, the assumptions do not hold, but can still derive fairly accurate models! 9

10 Bayes s rule Weather example revisited Probability of event H given evidence E : Pr[ E H ]Pr[ H ] Pr[ H E] = Pr[ E] A priori probability of H : Pr[H ] Probability of event before evidence is seen A posteriori probability of H : Pr[ H E] Probability of event after evidence is seen Outlook Temp Humidity Windy Class sunny hot high false N sunny hot high true N overcast hot high false P rain mild high false P rain cool normal false P rain cool normal true N overcast cool normal true P sunny mild high false N sunny cool normal false P rain mild normal false P sunny mild normal true P overcast mild high true P overcast hot normal false P rain mild high true N A Priori probability Pr[P]=9/14=0.64 Pr[N]=5/14=0.36 A Posteriori probability for Outlook Pr[P sunny]=2/5=0.40 Pr[P overcast]=4/4=1.0 Pr[P rain]=3/5=0.60 Naïve Bayes Classifier Weather example revisited Based on Bayes Rule: p(c F 1,F 2,...,F n ) = p(c)p(f 1,F 2,...,F n C) p(f 1,F 2,...,F n ) Simplify by assuming independence, i.e., p(f i C,F j ) = p(f i C) Produces: p(c F 1,F 2,...,F n ) = p(c) p(f i C) n i=1 Outlook Temp Humidity Windy Class sunny hot high false N sunny hot high true N overcast hot high false P rain mild high false P rain cool normal false P rain cool normal true N overcast cool normal true P sunny mild high false N sunny cool normal false P rain mild normal false P sunny mild normal true P overcast mild high true P overcast hot normal false P rain mild high true N Sunny Cool High True?? Pr[P E]=Pr[Outlook=sunny P] x Pr[Temp=cool P] x Pr[Humidity=high P] x Pr[Windy=true P] x Pr[P]/Pr[E] 2 = Pr[E] = Pr[E] 10

11 Zero Frequency Problem An attribute value does not occur with every class value, e.g., Outlook=overcast and class N. Pr[Outlook=overcast N]=0 Pr[N Outlook=overcast]=0 Remedy: add 1 to the count for every attribute value-class combination No 0 probabilities Stabilizes estimates Classifier from NBC Model Typically, select classification based on MAP decision rule: Maximum A Posteriori rule. classify( f 1, f 2,...f n ) = argmax c P(C = c) p(f i = f i C = c) n i=1 Unsupervised I: Cluster or Outlier Analysis group together similar data, usually when class labels are unknown detect anomalous data example: connection features that do not match normal access or classify types (assume members share some characteristics) example: connection features of a smurf network attack attack normal unknown Clustering in General A cluster is a cone in n-dimensional space: members are found within ε of an average vector. Different techniques for determining the cluster vector and ε. Hard clustering techniques assign a class label to each cluster; members of clusters are mutually exclusive. Fuzzy clustering techniques assign a fractional degree of membership to each label for each x. 11

12 Clustering Decisions Proximity Measures Pattern Representation feature selection (which to use, what type of values) number of categories/clusters Pattern proximity distance measure on pairs of patterns Grouping characteristics of clusters (e.g., fuzzy, hierarchical) Clustering algorithms embody different assumptions about these decisions and the form of clusters. Generally, use Euclidean distance or mean squared distance. May need to normalize or use metrics less sensitive to magnitude differences (e.g., Manhattan distance aka L1 norm or Mahalanobis distance) May have domain specific distance measure, e.g., cosine between vectors for information retrieval. Categories of Clustering Techniques Partitional: Incrementally construct partitions based on some criterion (e.g., distance from data to cluster vector). Hierarchical: Create a hierarchical decomposition of the set of data (or objects) using some criterion. Model-based: A model is hypothesized for each of the clusters Find the best fit of that model to each other. E.g., Bayesian classification (AutoClass), Cobweb. Partitional Algorithms Results in set of unrelated clusters. Issues: how many clusters is enough? usually set by user how to search space of possible partitions? incremental, batch, exhaustive what is appropriate clustering criterion? global optimal heuristic: distance to centroid (k-means), distance to some median point (k-mediods) 12

13 K Means Number of clusters is set by user to be k. Non-deterministic Clustering criterion is squared error: e( S, L) j = K n j= 1 i= 1 c where S is data set, L is a clustering, K is number of clusters, x is ith instance in jth cluster and c is centroid of jth cluster. x j i j 2 k-means Clustering Algorithm 1. Randomly select k samples as cluster centroids. 2. Assign each pattern to the closest cluster centroid. 3. Recompute centroids. 4. If convergence criterion (e.g., minimal decrease in error or no change in cluster composition) is not met, return to 2. Example:K-Means Solutions k-means Sensitivity to Initialization A C B D E K=3, red started w/a, D, F; yellow w/a, B, D F G 13

14 Evaluation Metrics How to measure cluster quality? Members of each cluster should share some relevant properties. high intra-class similarity low inter-class similarity Another metric for cluster quality: Entropy E = p log( p ) E j CS = m i j= 1 j ij n * E n j where pij is probability that a member of cluster j belongs to class i, nj is size of cluster j, m is number of clusters, n is number of instances and CS is a clustering solution. ij Associations frequently co-occurring features example market basket problem: Amazon: customers who bought Tom Clancy novels also bought Robert Ludlum apocryphal: people who buy diapers are also likely to buy beer (but not the converse) A1 Am B1 Bn where A & B are attribute value pairs i j What makes good association rules? Terminology Interestingness metrics support confidence attributes of interest rules with a specific structure Comparing rule sets completeness: generate all interesting rules efficiency: generate only rules that are interesting Each DB transaction is a set of items (called an itemset). A k-itemset is an itemset containing sets of cardinality k. An association rule is A=>B, such that A and B are sets of items with empty set as their intersection and including items that co-occur in transactions. 14

15 Terminology (cont.) Association Rule Mining A rule has support s, where s is % of transactions that contain both A and B: P(A B). (Purple/Yellow) A rule has confidence c, where c is % of transactions containing A that also contain B: P(B A). (Purple/Red) A Rules with support and confidence exceeding a threshold are called strong. A frequent itemset is the set of itemsets whose minimum support exceeds a threshold. B Process 1) Find all frequent itemsets based on minimum support 2) Identify strong association rules from the frequent itemsets Rule Representations types of values: Boolean, quantitative (binned) # of dimensions/predicates levels of abstraction/type hierarchy Apriori Algorithm for Finding Single- Dimensional Boolean Itemsets Apriori property: all nonempty subsets of a frequent itemset must also be frequent. Generate k-itemsets by joining large k-1-itemsets and deleting any that is not large. Assume items in lexicographic order Notation: k-itemset itemset of size k Lk Ck k-itemsets with minsup candidate k-itemsets Apriori Algorithm L 1 = {large 1 itemsets} count item frequency for(k = 2;L k 1 {};k + +)do begin Ck = apriori gen( Lk 1); new candidates transactions t D do begin C = subset( C, t); t k candidates in transaction candidates c Ct do c. count + +; determine support end Lk = { c Ck c. count minsup} create new set end Answer = L ; k k 15

16 Apriori-gen: join Apriori gen( Lk 1) insert into Ck select p. item1, p. item2,..., p. item from Lk 1 p; L q where p. item k 2, p. item k 1 1 = q. item1,..., p. itemk 2 = q. itemk 2, p. itemk 1 < q. itemk 1; L2={{a b},{a c},{a g},{b c},{b f},{c e},{c f},{e f}} p={a b}, q={a c}, add {a b c} to C3 p={a b}, q={a g}, add {a b g} to C3 p={a c}, q={a g}, add {a c g} to C3 p={b c}, q={b f}, add {b c f} to C3 p={c e}, q={c f}, add {c e f} to C3 k 1 join Apriori-gen: prune Apriori gen( Lk 1) join itemsets c C do k prune ( k 1) subsets s of c do if (s L ) then delete c from C ; k-1 k L2={{a b},{a c},{a g},{b c},{b f},{c e},{c f},{e f}} C3={{a b c},{a b g},{a c g},{b c f},{c e f}} {a b c} => {{a b},{a c},{b c}} TRUE {a b g} => {{a b},{a g},{b g}} FALSE Apriori Algorithm L1 = {large 1 itemsets} for( k = 2; L {}; k + + }do begin k 1 Ck = apriori gen( Lk 1); transactions t D do begin C = subset( C, t); t k candidates c Ct do c. count + +; end Lk = { c Ck c. count minsup} end Answer = L ; k k count item frequency new candidates candidates in transactions determine support create new set Apriori: Subset Find all transactions associated with candidate itemsets. Candidate itemsets are stored in hash-tree Leaves contain a list of itemsets. Interior nodes contain a hash table depth corresponds to position of item of itemset Find all candidates contained in transaction t: if at leaf, check itemsets against t if interior for ith item, hash on items after i in t and recurse 16

17 Apriori Example D=((c e f),(b c e f),(b d),(b f g),(a c e),(a b),(a b c),(a c g),(c e f),(a d g),(c f),(a b c e f),(a f g),(c e f g),(a b c g),(a),(a g),(c e)) minsup=4 L1={{a 10},{b 6},{c 11},{e 7},{f 8},{g 7}} no d C2={{a b},{a c},{a e},{a f},{a g},{b c},{b e},{b f},{b g},{c e},{c f}, {c g},{e f},{e g},{f g}} after join&prune L2={{a b 4},{a c 5},{a g 5},{b c 4},{c e 7},{c f 6},{e f 5}} after support C3={{a b c},{c e f}} after join&prune L3={{c e f 5}} after support Generating Association Rules from Supported Itemsets Rules take form A=>B where A & B are subsets of items that co-occur. Rules have support above minsup threshold and confidence above minconf thresold. support_count(a B) confidence(a B) = P(B A) = support_count(a) support_count(a B) = transactions containing itemsets A B support_count(a) = transactions containing itemsets A Apriori Problems Generating candidate itemsets: n frequent 1-itemsets generates (n(n-1))/2 candidate 2-itemsets generate itemsets for each length Multipass over data for frequencies Generating Association Rules from Supported Itemsets (cont.) Generate all rules such that: for each frequent itemset i of cardinality > 1, generate all non-empty subsets. for every non-empty subset s, if confidence(s=>(i-s))>minconf, create rule s=>(i-s) Can use cached itemset frequencies for confidence calculation. 17

18 Association Rule Example (cont.) Frequent itemsets: {{c e f 5},{a b 4},{a c 5},{a g 5}, {b c 4},{c e 7},{c f 6},{e f 5}} 1. Non-empty subsets of {c e f}:{c e},{c f},{e f},{c}, {e},{f} 2. confidence({c e}=>{f})=5/7= confidence({c f}=>{e})=5/6= confidence({e f}=>{c})=5/5= confidence({c}=>{e f})=5/11= confidence({e}=>{c f})=5/7= confidence({f}=>{c e})=5/8=.62 Interestingness Revisited P( A B) Correlation/Lift P( A) P( B) P(A^B)=P(B)*P(A), if A and B are independent events A and B negatively correlated, if the value is less than 1; otherwise A and B positively correlated X Y Z Itemset Support Interest X,Y 25% 2 X,Z 37.50% 0.9 Y,Z 12.50% 0.57 revised from Han&Kamber notes at Other Methods for Association Mining Improving Apriori efficiency: Partitioning Sampling Multi-level or generalized association Multi-Dimensional association Quantitative association rule mining Constraint-based or query-based association Correlation analysis 18

Supervised Learning! Algorithm Implementations! Inferring Rudimentary Rules and Decision Trees!

Supervised Learning! Algorithm Implementations! Inferring Rudimentary Rules and Decision Trees! Supervised Learning! Algorithm Implementations! Inferring Rudimentary Rules and Decision Trees! Summary! Input Knowledge representation! Preparing data for learning! Input: Concept, Instances, Attributes"

More information

Algorithms for Classification: The Basic Methods

Algorithms for Classification: The Basic Methods Algorithms for Classification: The Basic Methods Outline Simplicity first: 1R Naïve Bayes 2 Classification Task: Given a set of pre-classified examples, build a model or classifier to classify new cases.

More information

http://xkcd.com/1570/ Strategy: Top Down Recursive divide-and-conquer fashion First: Select attribute for root node Create branch for each possible attribute value Then: Split

More information

Learning Decision Trees

Learning Decision Trees Learning Decision Trees Machine Learning Spring 2018 1 This lecture: Learning Decision Trees 1. Representation: What are decision trees? 2. Algorithm: Learning decision trees The ID3 algorithm: A greedy

More information

Learning Decision Trees

Learning Decision Trees Learning Decision Trees Machine Learning Fall 2018 Some slides from Tom Mitchell, Dan Roth and others 1 Key issues in machine learning Modeling How to formulate your problem as a machine learning problem?

More information

Slides for Data Mining by I. H. Witten and E. Frank

Slides for Data Mining by I. H. Witten and E. Frank Slides for Data Mining by I. H. Witten and E. Frank 4 Algorithms: The basic methods Simplicity first: 1R Use all attributes: Naïve Bayes Decision trees: ID3 Covering algorithms: decision rules: PRISM Association

More information

Machine Learning Chapter 4. Algorithms

Machine Learning Chapter 4. Algorithms Machine Learning Chapter 4. Algorithms 4 Algorithms: The basic methods Simplicity first: 1R Use all attributes: Naïve Bayes Decision trees: ID3 Covering algorithms: decision rules: PRISM Association rules

More information

CS 6375 Machine Learning

CS 6375 Machine Learning CS 6375 Machine Learning Decision Trees Instructor: Yang Liu 1 Supervised Classifier X 1 X 2. X M Ref class label 2 1 Three variables: Attribute 1: Hair = {blond, dark} Attribute 2: Height = {tall, short}

More information

Unsupervised Learning. k-means Algorithm

Unsupervised Learning. k-means Algorithm Unsupervised Learning Supervised Learning: Learn to predict y from x from examples of (x, y). Performance is measured by error rate. Unsupervised Learning: Learn a representation from exs. of x. Learn

More information

Decision trees. Special Course in Computer and Information Science II. Adam Gyenge Helsinki University of Technology

Decision trees. Special Course in Computer and Information Science II. Adam Gyenge Helsinki University of Technology Decision trees Special Course in Computer and Information Science II Adam Gyenge Helsinki University of Technology 6.2.2008 Introduction Outline: Definition of decision trees ID3 Pruning methods Bibliography:

More information

Decision Tree Learning and Inductive Inference

Decision Tree Learning and Inductive Inference Decision Tree Learning and Inductive Inference 1 Widely used method for inductive inference Inductive Inference Hypothesis: Any hypothesis found to approximate the target function well over a sufficiently

More information

Lecture 3: Decision Trees

Lecture 3: Decision Trees Lecture 3: Decision Trees Cognitive Systems - Machine Learning Part I: Basic Approaches of Concept Learning ID3, Information Gain, Overfitting, Pruning last change November 26, 2014 Ute Schmid (CogSys,

More information

Modern Information Retrieval

Modern Information Retrieval Modern Information Retrieval Chapter 8 Text Classification Introduction A Characterization of Text Classification Unsupervised Algorithms Supervised Algorithms Feature Selection or Dimensionality Reduction

More information

Learning Classification Trees. Sargur Srihari

Learning Classification Trees. Sargur Srihari Learning Classification Trees Sargur srihari@cedar.buffalo.edu 1 Topics in CART CART as an adaptive basis function model Classification and Regression Tree Basics Growing a Tree 2 A Classification Tree

More information

CSE-4412(M) Midterm. There are five major questions, each worth 10 points, for a total of 50 points. Points for each sub-question are as indicated.

CSE-4412(M) Midterm. There are five major questions, each worth 10 points, for a total of 50 points. Points for each sub-question are as indicated. 22 February 2007 CSE-4412(M) Midterm p. 1 of 12 CSE-4412(M) Midterm Sur / Last Name: Given / First Name: Student ID: Instructor: Parke Godfrey Exam Duration: 75 minutes Term: Winter 2007 Answer the following

More information

Information Theory & Decision Trees

Information Theory & Decision Trees Information Theory & Decision Trees Jihoon ang Sogang University Email: yangjh@sogang.ac.kr Decision tree classifiers Decision tree representation for modeling dependencies among input variables using

More information

Data classification (II)

Data classification (II) Lecture 4: Data classification (II) Data Mining - Lecture 4 (2016) 1 Outline Decision trees Choice of the splitting attribute ID3 C4.5 Classification rules Covering algorithms Naïve Bayes Classification

More information

Classification: Decision Trees

Classification: Decision Trees Classification: Decision Trees Outline Top-Down Decision Tree Construction Choosing the Splitting Attribute Information Gain and Gain Ratio 2 DECISION TREE An internal node is a test on an attribute. A

More information

CS6375: Machine Learning Gautam Kunapuli. Decision Trees

CS6375: Machine Learning Gautam Kunapuli. Decision Trees Gautam Kunapuli Example: Restaurant Recommendation Example: Develop a model to recommend restaurants to users depending on their past dining experiences. Here, the features are cost (x ) and the user s

More information

Mining Classification Knowledge

Mining Classification Knowledge Mining Classification Knowledge Remarks on NonSymbolic Methods JERZY STEFANOWSKI Institute of Computing Sciences, Poznań University of Technology SE lecture revision 2013 Outline 1. Bayesian classification

More information

Inteligência Artificial (SI 214) Aula 15 Algoritmo 1R e Classificador Bayesiano

Inteligência Artificial (SI 214) Aula 15 Algoritmo 1R e Classificador Bayesiano Inteligência Artificial (SI 214) Aula 15 Algoritmo 1R e Classificador Bayesiano Prof. Josenildo Silva jcsilva@ifma.edu.br 2015 2012-2015 Josenildo Silva (jcsilva@ifma.edu.br) Este material é derivado dos

More information

Decision Tree Analysis for Classification Problems. Entscheidungsunterstützungssysteme SS 18

Decision Tree Analysis for Classification Problems. Entscheidungsunterstützungssysteme SS 18 Decision Tree Analysis for Classification Problems Entscheidungsunterstützungssysteme SS 18 Supervised segmentation An intuitive way of thinking about extracting patterns from data in a supervised manner

More information

Decision Trees. Each internal node : an attribute Branch: Outcome of the test Leaf node or terminal node: class label.

Decision Trees. Each internal node : an attribute Branch: Outcome of the test Leaf node or terminal node: class label. Decision Trees Supervised approach Used for Classification (Categorical values) or regression (continuous values). The learning of decision trees is from class-labeled training tuples. Flowchart like structure.

More information

Classification: Rule Induction Information Retrieval and Data Mining. Prof. Matteo Matteucci

Classification: Rule Induction Information Retrieval and Data Mining. Prof. Matteo Matteucci Classification: Rule Induction Information Retrieval and Data Mining Prof. Matteo Matteucci What is Rule Induction? The Weather Dataset 3 Outlook Temp Humidity Windy Play Sunny Hot High False No Sunny

More information

Association Rules. Fundamentals

Association Rules. Fundamentals Politecnico di Torino Politecnico di Torino 1 Association rules Objective extraction of frequent correlations or pattern from a transactional database Tickets at a supermarket counter Association rule

More information

Decision Trees. Gavin Brown

Decision Trees. Gavin Brown Decision Trees Gavin Brown Every Learning Method has Limitations Linear model? KNN? SVM? Explain your decisions Sometimes we need interpretable results from our techniques. How do you explain the above

More information

Decision Trees. Tirgul 5

Decision Trees. Tirgul 5 Decision Trees Tirgul 5 Using Decision Trees It could be difficult to decide which pet is right for you. We ll find a nice algorithm to help us decide what to choose without having to think about it. 2

More information

D B M G Data Base and Data Mining Group of Politecnico di Torino

D B M G Data Base and Data Mining Group of Politecnico di Torino Data Base and Data Mining Group of Politecnico di Torino Politecnico di Torino Association rules Objective extraction of frequent correlations or pattern from a transactional database Tickets at a supermarket

More information

Association Rule Mining on Web

Association Rule Mining on Web Association Rule Mining on Web What Is Association Rule Mining? Association rule mining: Finding interesting relationships among items (or objects, events) in a given data set. Example: Basket data analysis

More information

Modern Information Retrieval

Modern Information Retrieval Modern Information Retrieval Chapter 8 Text Classification Introduction A Characterization of Text Classification Unsupervised Algorithms Supervised Algorithms Feature Selection or Dimensionality Reduction

More information

D B M G. Association Rules. Fundamentals. Fundamentals. Elena Baralis, Silvia Chiusano. Politecnico di Torino 1. Definitions.

D B M G. Association Rules. Fundamentals. Fundamentals. Elena Baralis, Silvia Chiusano. Politecnico di Torino 1. Definitions. Definitions Data Base and Data Mining Group of Politecnico di Torino Politecnico di Torino Itemset is a set including one or more items Example: {Beer, Diapers} k-itemset is an itemset that contains k

More information

D B M G. Association Rules. Fundamentals. Fundamentals. Association rules. Association rule mining. Definitions. Rule quality metrics: example

D B M G. Association Rules. Fundamentals. Fundamentals. Association rules. Association rule mining. Definitions. Rule quality metrics: example Association rules Data Base and Data Mining Group of Politecnico di Torino Politecnico di Torino Objective extraction of frequent correlations or pattern from a transactional database Tickets at a supermarket

More information

Lecture 3: Decision Trees

Lecture 3: Decision Trees Lecture 3: Decision Trees Cognitive Systems II - Machine Learning SS 2005 Part I: Basic Approaches of Concept Learning ID3, Information Gain, Overfitting, Pruning Lecture 3: Decision Trees p. Decision

More information

Mining Classification Knowledge

Mining Classification Knowledge Mining Classification Knowledge Remarks on NonSymbolic Methods JERZY STEFANOWSKI Institute of Computing Sciences, Poznań University of Technology COST Doctoral School, Troina 2008 Outline 1. Bayesian classification

More information

CS 380: ARTIFICIAL INTELLIGENCE MACHINE LEARNING. Santiago Ontañón

CS 380: ARTIFICIAL INTELLIGENCE MACHINE LEARNING. Santiago Ontañón CS 380: ARTIFICIAL INTELLIGENCE MACHINE LEARNING Santiago Ontañón so367@drexel.edu Summary so far: Rational Agents Problem Solving Systematic Search: Uninformed Informed Local Search Adversarial Search

More information

Machine Learning & Data Mining

Machine Learning & Data Mining Group M L D Machine Learning M & Data Mining Chapter 7 Decision Trees Xin-Shun Xu @ SDU School of Computer Science and Technology, Shandong University Top 10 Algorithm in DM #1: C4.5 #2: K-Means #3: SVM

More information

Symbolic methods in TC: Decision Trees

Symbolic methods in TC: Decision Trees Symbolic methods in TC: Decision Trees ML for NLP Lecturer: Kevin Koidl Assist. Lecturer Alfredo Maldonado https://www.cs.tcd.ie/kevin.koidl/cs0/ kevin.koidl@scss.tcd.ie, maldonaa@tcd.ie 01-017 A symbolic

More information

CS145: INTRODUCTION TO DATA MINING

CS145: INTRODUCTION TO DATA MINING CS145: INTRODUCTION TO DATA MINING 4: Vector Data: Decision Tree Instructor: Yizhou Sun yzsun@cs.ucla.edu October 10, 2017 Methods to Learn Vector Data Set Data Sequence Data Text Data Classification Clustering

More information

Decision Tree Learning

Decision Tree Learning Decision Tree Learning Berlin Chen Department of Computer Science & Information Engineering National Taiwan Normal University References: 1. Machine Learning, Chapter 3 2. Data Mining: Concepts, Models,

More information

Introduction to ML. Two examples of Learners: Naïve Bayesian Classifiers Decision Trees

Introduction to ML. Two examples of Learners: Naïve Bayesian Classifiers Decision Trees Introduction to ML Two examples of Learners: Naïve Bayesian Classifiers Decision Trees Why Bayesian learning? Probabilistic learning: Calculate explicit probabilities for hypothesis, among the most practical

More information

Chapter 6: Classification

Chapter 6: Classification Chapter 6: Classification 1) Introduction Classification problem, evaluation of classifiers, prediction 2) Bayesian Classifiers Bayes classifier, naive Bayes classifier, applications 3) Linear discriminant

More information

Introduction. Decision Tree Learning. Outline. Decision Tree 9/7/2017. Decision Tree Definition

Introduction. Decision Tree Learning. Outline. Decision Tree 9/7/2017. Decision Tree Definition Introduction Decision Tree Learning Practical methods for inductive inference Approximating discrete-valued functions Robust to noisy data and capable of learning disjunctive expression ID3 earch a completely

More information

Decision Trees.

Decision Trees. . Machine Learning Decision Trees Prof. Dr. Martin Riedmiller AG Maschinelles Lernen und Natürlichsprachliche Systeme Institut für Informatik Technische Fakultät Albert-Ludwigs-Universität Freiburg riedmiller@informatik.uni-freiburg.de

More information

DECISION TREE LEARNING. [read Chapter 3] [recommended exercises 3.1, 3.4]

DECISION TREE LEARNING. [read Chapter 3] [recommended exercises 3.1, 3.4] 1 DECISION TREE LEARNING [read Chapter 3] [recommended exercises 3.1, 3.4] Decision tree representation ID3 learning algorithm Entropy, Information gain Overfitting Decision Tree 2 Representation: Tree-structured

More information

Bayesian Classification. Bayesian Classification: Why?

Bayesian Classification. Bayesian Classification: Why? Bayesian Classification http://css.engineering.uiowa.edu/~comp/ Bayesian Classification: Why? Probabilistic learning: Computation of explicit probabilities for hypothesis, among the most practical approaches

More information

Jeffrey D. Ullman Stanford University

Jeffrey D. Ullman Stanford University Jeffrey D. Ullman Stanford University 3 We are given a set of training examples, consisting of input-output pairs (x,y), where: 1. x is an item of the type we want to evaluate. 2. y is the value of some

More information

Classification and Regression Trees

Classification and Regression Trees Classification and Regression Trees Ryan P Adams So far, we have primarily examined linear classifiers and regressors, and considered several different ways to train them When we ve found the linearity

More information

Machine Learning. Yuh-Jye Lee. March 1, Lab of Data Science and Machine Intelligence Dept. of Applied Math. at NCTU

Machine Learning. Yuh-Jye Lee. March 1, Lab of Data Science and Machine Intelligence Dept. of Applied Math. at NCTU Machine Learning Yuh-Jye Lee Lab of Data Science and Machine Intelligence Dept. of Applied Math. at NCTU March 1, 2017 1 / 13 Bayes Rule Bayes Rule Assume that {B 1, B 2,..., B k } is a partition of S

More information

Decision Trees Entropy, Information Gain, Gain Ratio

Decision Trees Entropy, Information Gain, Gain Ratio Changelog: 14 Oct, 30 Oct Decision Trees Entropy, Information Gain, Gain Ratio Lecture 3: Part 2 Outline Entropy Information gain Gain ratio Marina Santini Acknowledgements Slides borrowed and adapted

More information

Decision Tree Learning

Decision Tree Learning Topics Decision Tree Learning Sattiraju Prabhakar CS898O: DTL Wichita State University What are decision trees? How do we use them? New Learning Task ID3 Algorithm Weka Demo C4.5 Algorithm Weka Demo Implementation

More information

Dan Roth 461C, 3401 Walnut

Dan Roth   461C, 3401 Walnut CIS 519/419 Applied Machine Learning www.seas.upenn.edu/~cis519 Dan Roth danroth@seas.upenn.edu http://www.cis.upenn.edu/~danroth/ 461C, 3401 Walnut Slides were created by Dan Roth (for CIS519/419 at Penn

More information

Inductive Learning. Chapter 18. Why Learn?

Inductive Learning. Chapter 18. Why Learn? Inductive Learning Chapter 18 Material adopted from Yun Peng, Chuck Dyer, Gregory Piatetsky-Shapiro & Gary Parker Why Learn? Understand and improve efficiency of human learning Use to improve methods for

More information

Machine Learning Recitation 8 Oct 21, Oznur Tastan

Machine Learning Recitation 8 Oct 21, Oznur Tastan Machine Learning 10601 Recitation 8 Oct 21, 2009 Oznur Tastan Outline Tree representation Brief information theory Learning decision trees Bagging Random forests Decision trees Non linear classifier Easy

More information

Induction on Decision Trees

Induction on Decision Trees Séance «IDT» de l'ue «apprentissage automatique» Bruno Bouzy bruno.bouzy@parisdescartes.fr www.mi.parisdescartes.fr/~bouzy Outline Induction task ID3 Entropy (disorder) minimization Noise Unknown attribute

More information

Data Mining Classification: Basic Concepts, Decision Trees, and Model Evaluation

Data Mining Classification: Basic Concepts, Decision Trees, and Model Evaluation Data Mining Classification: Basic Concepts, Decision Trees, and Model Evaluation Lecture Notes for Chapter 4 Part I Introduction to Data Mining by Tan, Steinbach, Kumar Adapted by Qiang Yang (2010) Tan,Steinbach,

More information

Question of the Day. Machine Learning 2D1431. Decision Tree for PlayTennis. Outline. Lecture 4: Decision Tree Learning

Question of the Day. Machine Learning 2D1431. Decision Tree for PlayTennis. Outline. Lecture 4: Decision Tree Learning Question of the Day Machine Learning 2D1431 How can you make the following equation true by drawing only one straight line? 5 + 5 + 5 = 550 Lecture 4: Decision Tree Learning Outline Decision Tree for PlayTennis

More information

Decision Trees. Data Science: Jordan Boyd-Graber University of Maryland MARCH 11, Data Science: Jordan Boyd-Graber UMD Decision Trees 1 / 1

Decision Trees. Data Science: Jordan Boyd-Graber University of Maryland MARCH 11, Data Science: Jordan Boyd-Graber UMD Decision Trees 1 / 1 Decision Trees Data Science: Jordan Boyd-Graber University of Maryland MARCH 11, 2018 Data Science: Jordan Boyd-Graber UMD Decision Trees 1 / 1 Roadmap Classification: machines labeling data for us Last

More information

Data Mining and Machine Learning (Machine Learning: Symbolische Ansätze)

Data Mining and Machine Learning (Machine Learning: Symbolische Ansätze) Data Mining and Machine Learning (Machine Learning: Symbolische Ansätze) Learning Individual Rules and Subgroup Discovery Introduction Batch Learning Terminology Coverage Spaces Descriptive vs. Predictive

More information

UVA CS 4501: Machine Learning

UVA CS 4501: Machine Learning UVA CS 4501: Machine Learning Lecture 21: Decision Tree / Random Forest / Ensemble Dr. Yanjun Qi University of Virginia Department of Computer Science Where are we? è Five major sections of this course

More information

M chi h n i e n L e L arni n n i g Decision Trees Mac a h c i h n i e n e L e L a e r a ni n ng

M chi h n i e n L e L arni n n i g Decision Trees Mac a h c i h n i e n e L e L a e r a ni n ng 1 Decision Trees 2 Instances Describable by Attribute-Value Pairs Target Function Is Discrete Valued Disjunctive Hypothesis May Be Required Possibly Noisy Training Data Examples Equipment or medical diagnosis

More information

The Naïve Bayes Classifier. Machine Learning Fall 2017

The Naïve Bayes Classifier. Machine Learning Fall 2017 The Naïve Bayes Classifier Machine Learning Fall 2017 1 Today s lecture The naïve Bayes Classifier Learning the naïve Bayes Classifier Practical concerns 2 Today s lecture The naïve Bayes Classifier Learning

More information

Machine Learning 2nd Edi7on

Machine Learning 2nd Edi7on Lecture Slides for INTRODUCTION TO Machine Learning 2nd Edi7on CHAPTER 9: Decision Trees ETHEM ALPAYDIN The MIT Press, 2010 Edited and expanded for CS 4641 by Chris Simpkins alpaydin@boun.edu.tr h1p://www.cmpe.boun.edu.tr/~ethem/i2ml2e

More information

Decision Trees. Danushka Bollegala

Decision Trees. Danushka Bollegala Decision Trees Danushka Bollegala Rule-based Classifiers In rule-based learning, the idea is to learn a rule from train data in the form IF X THEN Y (or a combination of nested conditions) that explains

More information

Tutorial 6. By:Aashmeet Kalra

Tutorial 6. By:Aashmeet Kalra Tutorial 6 By:Aashmeet Kalra AGENDA Candidate Elimination Algorithm Example Demo of Candidate Elimination Algorithm Decision Trees Example Demo of Decision Trees Concept and Concept Learning A Concept

More information

EECS 349:Machine Learning Bryan Pardo

EECS 349:Machine Learning Bryan Pardo EECS 349:Machine Learning Bryan Pardo Topic 2: Decision Trees (Includes content provided by: Russel & Norvig, D. Downie, P. Domingos) 1 General Learning Task There is a set of possible examples Each example

More information

Decision Trees Part 1. Rao Vemuri University of California, Davis

Decision Trees Part 1. Rao Vemuri University of California, Davis Decision Trees Part 1 Rao Vemuri University of California, Davis Overview What is a Decision Tree Sample Decision Trees How to Construct a Decision Tree Problems with Decision Trees Classification Vs Regression

More information

Decision Tree And Random Forest

Decision Tree And Random Forest Decision Tree And Random Forest Dr. Ammar Mohammed Associate Professor of Computer Science ISSR, Cairo University PhD of CS ( Uni. Koblenz-Landau, Germany) Spring 2019 Contact: mailto: Ammar@cu.edu.eg

More information

Decision Trees. Nicholas Ruozzi University of Texas at Dallas. Based on the slides of Vibhav Gogate and David Sontag

Decision Trees. Nicholas Ruozzi University of Texas at Dallas. Based on the slides of Vibhav Gogate and David Sontag Decision Trees Nicholas Ruozzi University of Texas at Dallas Based on the slides of Vibhav Gogate and David Sontag Supervised Learning Input: labelled training data i.e., data plus desired output Assumption:

More information

the tree till a class assignment is reached

the tree till a class assignment is reached Decision Trees Decision Tree for Playing Tennis Prediction is done by sending the example down Prediction is done by sending the example down the tree till a class assignment is reached Definitions Internal

More information

Inductive Learning. Chapter 18. Material adopted from Yun Peng, Chuck Dyer, Gregory Piatetsky-Shapiro & Gary Parker

Inductive Learning. Chapter 18. Material adopted from Yun Peng, Chuck Dyer, Gregory Piatetsky-Shapiro & Gary Parker Inductive Learning Chapter 18 Material adopted from Yun Peng, Chuck Dyer, Gregory Piatetsky-Shapiro & Gary Parker Chapters 3 and 4 Inductive Learning Framework Induce a conclusion from the examples Raw

More information

Outline. Fast Algorithms for Mining Association Rules. Applications of Data Mining. Data Mining. Association Rule. Discussion

Outline. Fast Algorithms for Mining Association Rules. Applications of Data Mining. Data Mining. Association Rule. Discussion Outline Fast Algorithms for Mining Association Rules Rakesh Agrawal Ramakrishnan Srikant Introduction Algorithm Apriori Algorithm AprioriTid Comparison of Algorithms Conclusion Presenter: Dan Li Discussion:

More information

Decision Trees.

Decision Trees. . Machine Learning Decision Trees Prof. Dr. Martin Riedmiller AG Maschinelles Lernen und Natürlichsprachliche Systeme Institut für Informatik Technische Fakultät Albert-Ludwigs-Universität Freiburg riedmiller@informatik.uni-freiburg.de

More information

Classification and Prediction

Classification and Prediction Classification Classification and Prediction Classification: predict categorical class labels Build a model for a set of classes/concepts Classify loan applications (approve/decline) Prediction: model

More information

Artificial Intelligence Roman Barták

Artificial Intelligence Roman Barták Artificial Intelligence Roman Barták Department of Theoretical Computer Science and Mathematical Logic Introduction We will describe agents that can improve their behavior through diligent study of their

More information

The Solution to Assignment 6

The Solution to Assignment 6 The Solution to Assignment 6 Problem 1: Use the 2-fold cross-validation to evaluate the Decision Tree Model for trees up to 2 levels deep (that is, the maximum path length from the root to the leaves is

More information

Data Mining Part 4. Prediction

Data Mining Part 4. Prediction Data Mining Part 4. Prediction 4.3. Fall 2009 Instructor: Dr. Masoud Yaghini Outline Introduction Bayes Theorem Naïve References Introduction Bayesian classifiers A statistical classifiers Introduction

More information

Stephen Scott.

Stephen Scott. 1 / 28 ian ian Optimal (Adapted from Ethem Alpaydin and Tom Mitchell) Naïve Nets sscott@cse.unl.edu 2 / 28 ian Optimal Naïve Nets Might have reasons (domain information) to favor some hypotheses/predictions

More information

CHAPTER-17. Decision Tree Induction

CHAPTER-17. Decision Tree Induction CHAPTER-17 Decision Tree Induction 17.1 Introduction 17.2 Attribute selection measure 17.3 Tree Pruning 17.4 Extracting Classification Rules from Decision Trees 17.5 Bayesian Classification 17.6 Bayes

More information

Decision Support. Dr. Johan Hagelbäck.

Decision Support. Dr. Johan Hagelbäck. Decision Support Dr. Johan Hagelbäck johan.hagelback@lnu.se http://aiguy.org Decision Support One of the earliest AI problems was decision support The first solution to this problem was expert systems

More information

SUPERVISED LEARNING: INTRODUCTION TO CLASSIFICATION

SUPERVISED LEARNING: INTRODUCTION TO CLASSIFICATION SUPERVISED LEARNING: INTRODUCTION TO CLASSIFICATION 1 Outline Basic terminology Features Training and validation Model selection Error and loss measures Statistical comparison Evaluation measures 2 Terminology

More information

Text Mining. Dr. Yanjun Li. Associate Professor. Department of Computer and Information Sciences Fordham University

Text Mining. Dr. Yanjun Li. Associate Professor. Department of Computer and Information Sciences Fordham University Text Mining Dr. Yanjun Li Associate Professor Department of Computer and Information Sciences Fordham University Outline Introduction: Data Mining Part One: Text Mining Part Two: Preprocessing Text Data

More information

Classification. Classification. What is classification. Simple methods for classification. Classification by decision tree induction

Classification. Classification. What is classification. Simple methods for classification. Classification by decision tree induction Classification What is classification Classification Simple methods for classification Classification by decision tree induction Classification evaluation Classification in Large Databases Classification

More information

Classification Using Decision Trees

Classification Using Decision Trees Classification Using Decision Trees 1. Introduction Data mining term is mainly used for the specific set of six activities namely Classification, Estimation, Prediction, Affinity grouping or Association

More information

Introduction to Machine Learning CMU-10701

Introduction to Machine Learning CMU-10701 Introduction to Machine Learning CMU-10701 23. Decision Trees Barnabás Póczos Contents Decision Trees: Definition + Motivation Algorithm for Learning Decision Trees Entropy, Mutual Information, Information

More information

Bayesian Learning Features of Bayesian learning methods:

Bayesian Learning Features of Bayesian learning methods: Bayesian Learning Features of Bayesian learning methods: Each observed training example can incrementally decrease or increase the estimated probability that a hypothesis is correct. This provides a more

More information

Bayesian Learning. Artificial Intelligence Programming. 15-0: Learning vs. Deduction

Bayesian Learning. Artificial Intelligence Programming. 15-0: Learning vs. Deduction 15-0: Learning vs. Deduction Artificial Intelligence Programming Bayesian Learning Chris Brooks Department of Computer Science University of San Francisco So far, we ve seen two types of reasoning: Deductive

More information

Data Mining. Dr. Raed Ibraheem Hamed. University of Human Development, College of Science and Technology Department of Computer Science

Data Mining. Dr. Raed Ibraheem Hamed. University of Human Development, College of Science and Technology Department of Computer Science Data Mining Dr. Raed Ibraheem Hamed University of Human Development, College of Science and Technology Department of Computer Science 2016 2017 Road map The Apriori algorithm Step 1: Mining all frequent

More information

Statistical Learning. Philipp Koehn. 10 November 2015

Statistical Learning. Philipp Koehn. 10 November 2015 Statistical Learning Philipp Koehn 10 November 2015 Outline 1 Learning agents Inductive learning Decision tree learning Measuring learning performance Bayesian learning Maximum a posteriori and maximum

More information

Introduction to Machine Learning

Introduction to Machine Learning Introduction to Machine Learning CS4375 --- Fall 2018 Bayesian a Learning Reading: Sections 13.1-13.6, 20.1-20.2, R&N Sections 6.1-6.3, 6.7, 6.9, Mitchell 1 Uncertainty Most real-world problems deal with

More information

Empirical Risk Minimization, Model Selection, and Model Assessment

Empirical Risk Minimization, Model Selection, and Model Assessment Empirical Risk Minimization, Model Selection, and Model Assessment CS6780 Advanced Machine Learning Spring 2015 Thorsten Joachims Cornell University Reading: Murphy 5.7-5.7.2.4, 6.5-6.5.3.1 Dietterich,

More information

Bayesian Learning. Bayesian Learning Criteria

Bayesian Learning. Bayesian Learning Criteria Bayesian Learning In Bayesian learning, we are interested in the probability of a hypothesis h given the dataset D. By Bayes theorem: P (h D) = P (D h)p (h) P (D) Other useful formulas to remember are:

More information

Lecture 9: Bayesian Learning

Lecture 9: Bayesian Learning Lecture 9: Bayesian Learning Cognitive Systems II - Machine Learning Part II: Special Aspects of Concept Learning Bayes Theorem, MAL / ML hypotheses, Brute-force MAP LEARNING, MDL principle, Bayes Optimal

More information

CSE 417T: Introduction to Machine Learning. Final Review. Henry Chai 12/4/18

CSE 417T: Introduction to Machine Learning. Final Review. Henry Chai 12/4/18 CSE 417T: Introduction to Machine Learning Final Review Henry Chai 12/4/18 Overfitting Overfitting is fitting the training data more than is warranted Fitting noise rather than signal 2 Estimating! "#$

More information

Lecture 24: Other (Non-linear) Classifiers: Decision Tree Learning, Boosting, and Support Vector Classification Instructor: Prof. Ganesh Ramakrishnan

Lecture 24: Other (Non-linear) Classifiers: Decision Tree Learning, Boosting, and Support Vector Classification Instructor: Prof. Ganesh Ramakrishnan Lecture 24: Other (Non-linear) Classifiers: Decision Tree Learning, Boosting, and Support Vector Classification Instructor: Prof Ganesh Ramakrishnan October 20, 2016 1 / 25 Decision Trees: Cascade of step

More information

From statistics to data science. BAE 815 (Fall 2017) Dr. Zifei Liu

From statistics to data science. BAE 815 (Fall 2017) Dr. Zifei Liu From statistics to data science BAE 815 (Fall 2017) Dr. Zifei Liu Zifeiliu@ksu.edu Why? How? What? How much? How many? Individual facts (quantities, characters, or symbols) The Data-Information-Knowledge-Wisdom

More information

Introduction to Machine Learning

Introduction to Machine Learning Uncertainty Introduction to Machine Learning CS4375 --- Fall 2018 a Bayesian Learning Reading: Sections 13.1-13.6, 20.1-20.2, R&N Sections 6.1-6.3, 6.7, 6.9, Mitchell Most real-world problems deal with

More information

Frequent Itemsets and Association Rule Mining. Vinay Setty Slides credit:

Frequent Itemsets and Association Rule Mining. Vinay Setty Slides credit: Frequent Itemsets and Association Rule Mining Vinay Setty vinay.j.setty@uis.no Slides credit: http://www.mmds.org/ Association Rule Discovery Supermarket shelf management Market-basket model: Goal: Identify

More information

ML techniques. symbolic techniques different types of representation value attribute representation representation of the first order

ML techniques. symbolic techniques different types of representation value attribute representation representation of the first order MACHINE LEARNING Definition 1: Learning is constructing or modifying representations of what is being experienced [Michalski 1986], p. 10 Definition 2: Learning denotes changes in the system That are adaptive

More information

Stephen Scott.

Stephen Scott. 1 / 35 (Adapted from Ethem Alpaydin and Tom Mitchell) sscott@cse.unl.edu In Homework 1, you are (supposedly) 1 Choosing a data set 2 Extracting a test set of size > 30 3 Building a tree on the training

More information

Jialiang Bao, Joseph Boyd, James Forkey, Shengwen Han, Trevor Hodde, Yumou Wang 10/01/2013

Jialiang Bao, Joseph Boyd, James Forkey, Shengwen Han, Trevor Hodde, Yumou Wang 10/01/2013 Simple Classifiers Jialiang Bao, Joseph Boyd, James Forkey, Shengwen Han, Trevor Hodde, Yumou Wang 1 Overview Pruning 2 Section 3.1: Simplicity First Pruning Always start simple! Accuracy can be misleading.

More information