60 likes | 177 Vues
This guide explores the principles of object-oriented learning classifiers using Java. It discusses the assumption that users have an object-oriented (OO) representation and emphasizes classifiers as methods to classify objects based on features without needing to imply learning. The document also highlights how to learn classifiers that mimic an oracle by leveraging other classifiers and data with learning algorithms, producing discrete distributions. Additionally, it delves into decision inference in classifiers, ensuring coherent outputs based on constraints defined in first-order logic.
E N D
Learning Based Java The Basics MIAS DSSI
phrase1 word1 word2 word3 Assumptions • The user has an OO representation • Only objects need to be classified
Classifiers • Any method that classifies an object … … and returns features • Does not imply learning discrete POSLabel(POSLabeledWord w) <- { return w.label; }
Learning Classifiers • Learn to mimic an oracle • Using other classifiers as features • From data • With a learning algorithm • Can produce a discrete distribution
John threwtheballtoMary . Inference • Making classifiers’ decisions coherent • Example: Shallow Parsing • Maximize E[correct decisions] Chunks cannot overlap
Constraints • Written in First Order Logic • In terms of learning classifiers and Java objects forall (Phrase p in sentence) exists (Word w in p.allWords()) MyLearner(w) :: “yes!”