2019F-178-Mid
- Mathematics
- 6 pages
- Shared June 2025
Bayes classifiers are probabilistic models based on Bayes' Theorem. They predict class membership by calculating the probability of a sample belonging to a class, assuming feature independence (as in Naive Bayes).
Preview 2 of 6 pages
See the first 2 pages exactly as they appear in the document.
Page 1 Read page 1 as text
CS 178 Midterm Exam Machine Learning and Data Mining: Fall 2019 Monday November 4th, 2019 Your name: Row/Seat Number: Your ID #(e.g., 123456789) UCINetID (e.g.ucinetid@uci.edu) « Please put your name and ID on every page. « Total time is 50 minutes. READ THE EXAM FIRST and organize your time; don't spend too long on any one problem. « Please write clearly and show all your work. o If you need clarification on a problem, please raise your hand and wait for the instructor or TA to come over. You may use one sheet containing handwritten notes for reference, and a (basic) calculator. Tum in your notes and any scratch paper with your exam. Problems 1 Bayes Classifiers, (10 points.) 3 2 Nearest Neighbor Regression, (12 points.) 5 3 Truo/False, (10 points.) 7 4 Support Vector Machines, (10 points.) 9 5 VC Dimensionality, (10 points.) 1 Total, (52 points.)
Page 2 Read page 2 as text
Bayes Classifiers, (10 points.) I 1 2 Consider the table of measured data given at right. We will use the c blo two observed features , , 7, to predict the class y. Each feature b bo can take on one of three values, x; € {a,b,c}. b c|0 Tn the case of a tie, we will prefer to predict class y = 0. a cll (1) Write down the probabilities learned by a naive Bayes classificr:(§ points.) N N h —0- 1 a a 1 ply =0): ply=1): gl c all por =aly=0): on =aly=1): : per =bly=0): pn =bly=1): po =cly=0): pn =cly=1): prz=aly=0): pm=aly=1): Pra =bly=0): zy =bly =1): Pay =cly=0): ory =cly =1): (2) Using your naive Bayes model, what value of y would you predict given (x1 = a, x2 = b)?:(3 points.) (3) Using your naive Bayes model, compute the probabilities: (3 points.) ply=01 =bz2=c): py=11=br=c):
4 more pages in the full document
Unlock it once and it stays in your library, ready to chat with or turn into flashcards.
Unlock the full documentMore Mathematics study materials
See all
Exam GuidesTest Bank for Precalculus, 6th Edition
Mathematics
1051 pages175downloadsFeb 2025
Textbook GuidesSolution Manual For Introduction To Management Science, 11th Edition
Mathematics
437 pages167downloadsFeb 2025
Textbook GuidesSolution Manual For Derivatives Markets, 3rd Edition
Mathematics
358 pages143downloadsFeb 2025
Textbook GuidesSolution Manual for Geometry, 1st Edition
Mathematics
446 pages141downloadsFeb 2025
Textbook GuidesSolution Manual for Beginning Algebra, 7th Edition
Mathematics
479 pages139downloadsFeb 2025
Textbook GuidesSolution Manual for Developmental Mathematics, 1st Edition
Mathematics
1623 pages137downloadsFeb 2025
Textbook GuidesSolution Manual for Elementary and Intermediate Algebra: Graphs and Models, 5th Edition
Mathematics
1278 pages126downloadsFeb 2025
Exam GuidesTest Bank for Calculus: Concepts and Contexts, Enhanced 4th Edition
Mathematics
687 pages122downloadsFeb 2025
Study this document with CramX
Once it is in your library, every tool can work from it.

