SlideShare a Scribd company logo
1 of 10
University of Wisconsin – Madison
                                 Computer Sciences Department



                     CS 760 - Machine Learning
                                               Fall 2001

                                                Exam
                                   7:15-9:15pm, December 13, 2001
                                        Room 1240 CS & Stats

                                            CLOSED BOOK
                              (one sheet of notes and a calculator allowed)


Write your answers on these pages and show your work. If you feel that a question is not fully
specified, state any assumptions you need to make in order to solve the problem. You may use
the backs of these sheets for scratch work.

Write your name on this and all other pages of this exam. Make sure your exam contains
6 problems on 10 pages.


       Name           ________________________________________________________________


       Student ID     ________________________________________________________________


                      Problem                   Score           Max Score


                          1                     ______               24

                          2                     ______               15

                          3                     ______               16

                          4                     ______               14

                          5                     ______                7

                          6                     ______               24


                      TOTAL                     ______              100
Name: _______________________________________


Problem 1 – Learning from Labelled Examples (24 points)

Imagine that you are given the following set of training examples.
Each feature can take on one of three nominal values: a, b, or c.

              F1       F2       F3    Category

               a       c        a        +
               c       a        c        +
               a       a        c        –
               b       c        a        –
               c       c        b        –


a) How would a Naive Bayes system classify the following test example?
   Be sure to show your work.

              F1 = a        F2 = c   F3 = b




b) Describe how a 3-nearest-neighbor algorithm would classify Part a’s test example.




                                              Page 2 of 10
Name: _______________________________________




c) Show the calculations that ID3 would perform to determine the root node of a decision tree
     using the above training examples.




d)   Now consider augmenting the standard ID3 algorithm so that it also considers tests like

                          the value of feature X = the value of feature Y

     for all pairs of features X and Y where X ≠ Y. Show what this variant of ID3 would choose as
     a root node for the training set above.




                                            Page 3 of 10
Name: _______________________________________


Problem 2 – Weight Space and Neural Networks (15 points)

Assume that you wish to train a perceptron on the simple training set below.

                                 F1          Category
                                 1              +
                                 8              +
                                 2              –
                                 4              –

a) Draw the weight space for this task, assuming that the perceptron’s threshold is always set at
   4. Also assume that the perceptron’s output is 1 (i.e., category = +) when the perceptron’s
   weighted sum meets or exceeds its threshold; otherwise its output is 0. (Since the threshold
   is constant, you need not draw its dimension in weight space. Also, do not normalize the
   values of F1)




b) Assuming that we initially set the weight on the link between F1 and the output node to the
   value 5, state the range of final weight settings that could result from applying
   backpropagation training. Be sure to explain your answer. (Do not train the threshold in this
   part; hold it constant at the value of 4. Assume that the step function of Part a is replaced with a very
   steep sigmoidal activation function, so that the activation function is technically differentiable.)




c) Starting from the initial state of Part b and using a learning rate of 0.1, draw the perceptron
   before and after training with (just) the last example in the training set above. For this part,
   you do need to train the threshold.




                                               Page 4 of 10
Name: _______________________________________


Problem 3 – Overfitting Avoidance (16 points)

For each of the following learning methods, briefly describe and motivate one (1) commonly
used technique for overfitting avoidance.

a) Nearest-neighbor learning

       Brief Description (of an overfitting-avoidance technique):




       Motivation (of why it might reduce overfitting):




b) Naïve Bayesian learning

       Brief Description:




       Motivation:




c) Decision-tree induction

       Brief Description:




       Motivation:




d) Neural network training

       Brief Description:




       Motivation:




                                              Page 5 of 10
Name: _______________________________________


Problem 4 – Reinforcement Learning (14 points)

Consider the deterministic reinforcement environment drawn below. The numbers on the arcs
indicate the immediate rewards. Let the discount rate equal 0.9.
                          10                           5
               star                       a                         b
               t                                 -10

                                 -10
                                                                     -10
                                                             c

                                                             5

                                                                   end       0




a)   What is the best route for going from start to end? Why?




b)   Represent the Q table by placing Q values on the arcs on the environment's state-action
     graph; initialize all of the Q values to 2 except initialize all of the arcs directly involving
     node a to have a Q value of -1. For Step 1, do exploitation. Show on the graph below the
     full Q table after Step 1. Specify the action chosen and display the calculations involved in
     altering the Q table.




               star                       a                         b
               t


                                                             c



                                                                   end




                                              Page 6 of 10
Name: _______________________________________


c)   Assume that after Step 1, the RL agent is magically transported back to the state start. Show
     the resulting Q table after the learner takes its second step from the starting state. Step 2
     should be exploration. Be sure to again state the action chosen and display your calculations.




              star                       a                        b
              t


                                                            c



                                                                 end




d)   Explain one (1) major advantage and one (1) major disadvantage of using a Q network
     instead of a Q table in reinforcement learning.


        advantage:




        disadvantage:




                                             Page 7 of 10
Name: _______________________________________


Problem 5 – Inductive Logic Programming (7 points)

Assume that we tell FOIL that P(a) and P(b) are positive instances of P(?X) and that P(c) and
P(d) are negative instances (where ?X is a variable, while a, b, c, and d are constants).

We also give the following background knowledge to FOIL:

       Q(a)     ¬Q(b)      Q(c)     ¬Q(d)

       R(a)     ¬R(b)      R(c)      R(d)

(where “¬” means “not”).

Show the calculations that FOIL would go through in order to choose its first rule for P(?X).




                                            Page 8 of 10
Name: _______________________________________




Problem 6 – Short Discussion Questions (24 points)

a) Why might it make sense to learn a "world model" when learning from reinforcements?




b) What is the major advantage that FOIL has over ID3? Explain your answer.




c) Would you expect ensemble methods to work better for decision-tree induction or for Naïve
   Bayes classifiers? Why?




d) Assume that we want to empirically compare the accuracies of two learning algorithms on a
   given dataset,what experimental methodology should we use?




                                         Page 9 of 10
Name: _______________________________________


e) Assuming one has linearly separable data,what is the key difference between standard
   perceptron training and Support Vector Machines?




f) Briefly explain one (1) connection between the Minimal Description Length principle and
   Support Vector Machines.




g)   What role does the VC Dimension play in machine learning?




h)   Why does one need both tuning and testing sets in machine learning?




                                         Have a good vacation!




                                           Page 10 of 10

More Related Content

What's hot

Csec maths paper2_2010-2016
Csec maths paper2_2010-2016Csec maths paper2_2010-2016
Csec maths paper2_2010-2016Carl Davis
 
F4 04 Mathematical Reasoning
F4 04 Mathematical  ReasoningF4 04 Mathematical  Reasoning
F4 04 Mathematical Reasoningguestcc333c
 
River Valley Emath Paper1_printed
River Valley Emath Paper1_printedRiver Valley Emath Paper1_printed
River Valley Emath Paper1_printedFelicia Shirui
 
Discrete mathematics (1)
Discrete mathematics (1)Discrete mathematics (1)
Discrete mathematics (1)Krishnan Ram
 
F4 06 Statistics Iii
F4 06 Statistics IiiF4 06 Statistics Iii
F4 06 Statistics Iiiguestcc333c
 
Mid term examination -2011 class vi
Mid term examination -2011 class viMid term examination -2011 class vi
Mid term examination -2011 class viAsad Shafat
 
Mid term examination -2011 class vii
Mid term examination -2011 class viiMid term examination -2011 class vii
Mid term examination -2011 class viiAsad Shafat
 
Mid term paper of Maths class VI 2011 Fazaia Inter college
Mid term  paper of Maths class  VI 2011 Fazaia Inter collegeMid term  paper of Maths class  VI 2011 Fazaia Inter college
Mid term paper of Maths class VI 2011 Fazaia Inter collegeAsad Shafat
 
Final examination 2011 class vi
Final examination 2011 class viFinal examination 2011 class vi
Final examination 2011 class viAsad Shafat
 
956 Sukatan Pelajaran Matematik Lanjutan STPM (Baharu)
956 Sukatan Pelajaran Matematik Lanjutan STPM (Baharu)956 Sukatan Pelajaran Matematik Lanjutan STPM (Baharu)
956 Sukatan Pelajaran Matematik Lanjutan STPM (Baharu)RAMLAH BINTI A. RANI
 

What's hot (18)

cxc.Mathsexam1
cxc.Mathsexam1cxc.Mathsexam1
cxc.Mathsexam1
 
January 2009
January 2009January 2009
January 2009
 
June 2006
June 2006June 2006
June 2006
 
Csec maths paper2_2010-2016
Csec maths paper2_2010-2016Csec maths paper2_2010-2016
Csec maths paper2_2010-2016
 
F4 04 Mathematical Reasoning
F4 04 Mathematical  ReasoningF4 04 Mathematical  Reasoning
F4 04 Mathematical Reasoning
 
River Valley Emath Paper1_printed
River Valley Emath Paper1_printedRiver Valley Emath Paper1_printed
River Valley Emath Paper1_printed
 
June 2008
June 2008June 2008
June 2008
 
June 2005
June 2005June 2005
June 2005
 
January 2012
January 2012January 2012
January 2012
 
January 2011
January 2011January 2011
January 2011
 
Discrete mathematics (1)
Discrete mathematics (1)Discrete mathematics (1)
Discrete mathematics (1)
 
F4 06 Statistics Iii
F4 06 Statistics IiiF4 06 Statistics Iii
F4 06 Statistics Iii
 
Mid term examination -2011 class vi
Mid term examination -2011 class viMid term examination -2011 class vi
Mid term examination -2011 class vi
 
Mid term examination -2011 class vii
Mid term examination -2011 class viiMid term examination -2011 class vii
Mid term examination -2011 class vii
 
June 2011
June 2011June 2011
June 2011
 
Mid term paper of Maths class VI 2011 Fazaia Inter college
Mid term  paper of Maths class  VI 2011 Fazaia Inter collegeMid term  paper of Maths class  VI 2011 Fazaia Inter college
Mid term paper of Maths class VI 2011 Fazaia Inter college
 
Final examination 2011 class vi
Final examination 2011 class viFinal examination 2011 class vi
Final examination 2011 class vi
 
956 Sukatan Pelajaran Matematik Lanjutan STPM (Baharu)
956 Sukatan Pelajaran Matematik Lanjutan STPM (Baharu)956 Sukatan Pelajaran Matematik Lanjutan STPM (Baharu)
956 Sukatan Pelajaran Matematik Lanjutan STPM (Baharu)
 

Viewers also liked

Document.doc.doc
Document.doc.docDocument.doc.doc
Document.doc.docbutest
 
SCHOOL MISSION AND STRUCTURE
SCHOOL MISSION AND STRUCTURESCHOOL MISSION AND STRUCTURE
SCHOOL MISSION AND STRUCTUREbutest
 
ph-report.doc
ph-report.docph-report.doc
ph-report.docbutest
 
notes as .ppt
notes as .pptnotes as .ppt
notes as .pptbutest
 
Alexander Krizhanovsky Krizhanovsky Hpds
Alexander Krizhanovsky Krizhanovsky HpdsAlexander Krizhanovsky Krizhanovsky Hpds
Alexander Krizhanovsky Krizhanovsky Hpdsguest092df8
 
What s an Event ? How Ontologies and Linguistic Semantics ...
What s an Event ? How Ontologies and Linguistic Semantics ...What s an Event ? How Ontologies and Linguistic Semantics ...
What s an Event ? How Ontologies and Linguistic Semantics ...butest
 
CP2083 Introduction to Artificial Intelligence
CP2083 Introduction to Artificial IntelligenceCP2083 Introduction to Artificial Intelligence
CP2083 Introduction to Artificial Intelligencebutest
 
world history.docx (19K) - Get Online Tutoring
world history.docx (19K) - Get Online Tutoring world history.docx (19K) - Get Online Tutoring
world history.docx (19K) - Get Online Tutoring butest
 
Dragomir R
Dragomir RDragomir R
Dragomir Rbutest
 
Julie Acker, M.S.W., CMHA Lambton Julie Acker holds a Masters ...
Julie Acker, M.S.W., CMHA Lambton Julie Acker holds a Masters ...Julie Acker, M.S.W., CMHA Lambton Julie Acker holds a Masters ...
Julie Acker, M.S.W., CMHA Lambton Julie Acker holds a Masters ...butest
 
Zakelijk Inzetten Van Je IntuïTie 2010 [Compatibiliteitsmodus]
Zakelijk Inzetten Van Je IntuïTie 2010 [Compatibiliteitsmodus]Zakelijk Inzetten Van Je IntuïTie 2010 [Compatibiliteitsmodus]
Zakelijk Inzetten Van Je IntuïTie 2010 [Compatibiliteitsmodus]Marleen_Schrijver
 
source2
source2source2
source2butest
 
"выставка образование и карьера" Дешко Ирина, 2 курс, 10 группа
"выставка образование и карьера" Дешко Ирина, 2 курс, 10 группа"выставка образование и карьера" Дешко Ирина, 2 курс, 10 группа
"выставка образование и карьера" Дешко Ирина, 2 курс, 10 группаguest139854
 
(Download Word File 113K)
(Download Word File 113K)(Download Word File 113K)
(Download Word File 113K)butest
 
mlrev.ppt
mlrev.pptmlrev.ppt
mlrev.pptbutest
 
Product Overview
Product OverviewProduct Overview
Product Overviewbutest
 
день геолога 2010
день геолога 2010день геолога 2010
день геолога 2010guest203e43
 

Viewers also liked (20)

Document.doc.doc
Document.doc.docDocument.doc.doc
Document.doc.doc
 
SCHOOL MISSION AND STRUCTURE
SCHOOL MISSION AND STRUCTURESCHOOL MISSION AND STRUCTURE
SCHOOL MISSION AND STRUCTURE
 
ph-report.doc
ph-report.docph-report.doc
ph-report.doc
 
notes as .ppt
notes as .pptnotes as .ppt
notes as .ppt
 
Alexander Krizhanovsky Krizhanovsky Hpds
Alexander Krizhanovsky Krizhanovsky HpdsAlexander Krizhanovsky Krizhanovsky Hpds
Alexander Krizhanovsky Krizhanovsky Hpds
 
What s an Event ? How Ontologies and Linguistic Semantics ...
What s an Event ? How Ontologies and Linguistic Semantics ...What s an Event ? How Ontologies and Linguistic Semantics ...
What s an Event ? How Ontologies and Linguistic Semantics ...
 
CP2083 Introduction to Artificial Intelligence
CP2083 Introduction to Artificial IntelligenceCP2083 Introduction to Artificial Intelligence
CP2083 Introduction to Artificial Intelligence
 
Rojo
RojoRojo
Rojo
 
world history.docx (19K) - Get Online Tutoring
world history.docx (19K) - Get Online Tutoring world history.docx (19K) - Get Online Tutoring
world history.docx (19K) - Get Online Tutoring
 
Dragomir R
Dragomir RDragomir R
Dragomir R
 
Julie Acker, M.S.W., CMHA Lambton Julie Acker holds a Masters ...
Julie Acker, M.S.W., CMHA Lambton Julie Acker holds a Masters ...Julie Acker, M.S.W., CMHA Lambton Julie Acker holds a Masters ...
Julie Acker, M.S.W., CMHA Lambton Julie Acker holds a Masters ...
 
Zakelijk Inzetten Van Je IntuïTie 2010 [Compatibiliteitsmodus]
Zakelijk Inzetten Van Je IntuïTie 2010 [Compatibiliteitsmodus]Zakelijk Inzetten Van Je IntuïTie 2010 [Compatibiliteitsmodus]
Zakelijk Inzetten Van Je IntuïTie 2010 [Compatibiliteitsmodus]
 
Solis-Double
Solis-DoubleSolis-Double
Solis-Double
 
source2
source2source2
source2
 
"выставка образование и карьера" Дешко Ирина, 2 курс, 10 группа
"выставка образование и карьера" Дешко Ирина, 2 курс, 10 группа"выставка образование и карьера" Дешко Ирина, 2 курс, 10 группа
"выставка образование и карьера" Дешко Ирина, 2 курс, 10 группа
 
Amarillo
AmarilloAmarillo
Amarillo
 
(Download Word File 113K)
(Download Word File 113K)(Download Word File 113K)
(Download Word File 113K)
 
mlrev.ppt
mlrev.pptmlrev.ppt
mlrev.ppt
 
Product Overview
Product OverviewProduct Overview
Product Overview
 
день геолога 2010
день геолога 2010день геолога 2010
день геолога 2010
 

Similar to Problem 1 – First-Order Predicate Calculus (15 points)

Problem 1 – First-Order Predicate Calculus (15 points)
Problem 1 – First-Order Predicate Calculus (15 points)Problem 1 – First-Order Predicate Calculus (15 points)
Problem 1 – First-Order Predicate Calculus (15 points)butest
 
Homework Value of InformationPlease respond to the following.docx
Homework Value of InformationPlease respond to the following.docxHomework Value of InformationPlease respond to the following.docx
Homework Value of InformationPlease respond to the following.docxadampcarr67227
 
Digital electronics k map comparators and their function
Digital electronics k map comparators and their functionDigital electronics k map comparators and their function
Digital electronics k map comparators and their functionkumarankit06875
 
MULTIPLE CHOICE. Record your answer choices. 1.7.2.8.docx
MULTIPLE CHOICE.   Record your answer choices. 1.7.2.8.docxMULTIPLE CHOICE.   Record your answer choices. 1.7.2.8.docx
MULTIPLE CHOICE. Record your answer choices. 1.7.2.8.docxgilpinleeanna
 
College Algebra MATH 107 Spring, 2015, V4.8 Page 1 of .docx
College Algebra   MATH 107   Spring, 2015, V4.8 Page 1 of .docxCollege Algebra   MATH 107   Spring, 2015, V4.8 Page 1 of .docx
College Algebra MATH 107 Spring, 2015, V4.8 Page 1 of .docxmonicafrancis71118
 
K to 12 - Grade 8 Math Learners Module Quarter 2
K to 12 - Grade  8 Math Learners Module Quarter 2K to 12 - Grade  8 Math Learners Module Quarter 2
K to 12 - Grade 8 Math Learners Module Quarter 2Nico Granada
 
Linear programming problems
Linear programming problemsLinear programming problems
Linear programming problemsHanna Elise
 
Mb0048 operations research
Mb0048  operations researchMb0048  operations research
Mb0048 operations researchsmumbahelp
 
Mb0048 operations research
Mb0048  operations researchMb0048  operations research
Mb0048 operations researchsmumbahelp
 
Mathematics Mid Year Form 4 Paper 2 2010
Mathematics Mid Year Form 4 Paper 2 2010Mathematics Mid Year Form 4 Paper 2 2010
Mathematics Mid Year Form 4 Paper 2 2010sue sha
 
This quiz is open book and open notes/tutorialoutlet
This quiz is open book and open notes/tutorialoutletThis quiz is open book and open notes/tutorialoutlet
This quiz is open book and open notes/tutorialoutletBeardmore
 
Exploratory data analysis v1.0
Exploratory data analysis v1.0Exploratory data analysis v1.0
Exploratory data analysis v1.0Vishy Chandra
 
Math 107 Final ExaminationSummer, 20151Math 107 College Algebr.docx
Math 107 Final ExaminationSummer, 20151Math 107 College Algebr.docxMath 107 Final ExaminationSummer, 20151Math 107 College Algebr.docx
Math 107 Final ExaminationSummer, 20151Math 107 College Algebr.docxandreecapon
 

Similar to Problem 1 – First-Order Predicate Calculus (15 points) (20)

Problem 1 – First-Order Predicate Calculus (15 points)
Problem 1 – First-Order Predicate Calculus (15 points)Problem 1 – First-Order Predicate Calculus (15 points)
Problem 1 – First-Order Predicate Calculus (15 points)
 
Midterm
MidtermMidterm
Midterm
 
Homework Value of InformationPlease respond to the following.docx
Homework Value of InformationPlease respond to the following.docxHomework Value of InformationPlease respond to the following.docx
Homework Value of InformationPlease respond to the following.docx
 
Digital electronics k map comparators and their function
Digital electronics k map comparators and their functionDigital electronics k map comparators and their function
Digital electronics k map comparators and their function
 
3rd Semester Computer Science and Engineering (ACU) Question papers
3rd Semester Computer Science and Engineering  (ACU) Question papers3rd Semester Computer Science and Engineering  (ACU) Question papers
3rd Semester Computer Science and Engineering (ACU) Question papers
 
MULTIPLE CHOICE. Record your answer choices. 1.7.2.8.docx
MULTIPLE CHOICE.   Record your answer choices. 1.7.2.8.docxMULTIPLE CHOICE.   Record your answer choices. 1.7.2.8.docx
MULTIPLE CHOICE. Record your answer choices. 1.7.2.8.docx
 
College Algebra MATH 107 Spring, 2015, V4.8 Page 1 of .docx
College Algebra   MATH 107   Spring, 2015, V4.8 Page 1 of .docxCollege Algebra   MATH 107   Spring, 2015, V4.8 Page 1 of .docx
College Algebra MATH 107 Spring, 2015, V4.8 Page 1 of .docx
 
MATH MODULE GRADE 8
MATH MODULE GRADE 8MATH MODULE GRADE 8
MATH MODULE GRADE 8
 
MATH MODULE GRADE 8
MATH MODULE GRADE 8MATH MODULE GRADE 8
MATH MODULE GRADE 8
 
K to 12 - Grade 8 Math Learners Module Quarter 2
K to 12 - Grade  8 Math Learners Module Quarter 2K to 12 - Grade  8 Math Learners Module Quarter 2
K to 12 - Grade 8 Math Learners Module Quarter 2
 
Linear programming problems
Linear programming problemsLinear programming problems
Linear programming problems
 
Mb0048 operations research
Mb0048  operations researchMb0048  operations research
Mb0048 operations research
 
Mb0048 operations research
Mb0048  operations researchMb0048  operations research
Mb0048 operations research
 
Mathematics Mid Year Form 4 Paper 2 2010
Mathematics Mid Year Form 4 Paper 2 2010Mathematics Mid Year Form 4 Paper 2 2010
Mathematics Mid Year Form 4 Paper 2 2010
 
3rd Semester Computer Science and Engineering (ACU) Question papers
3rd Semester Computer Science and Engineering  (ACU) Question papers3rd Semester Computer Science and Engineering  (ACU) Question papers
3rd Semester Computer Science and Engineering (ACU) Question papers
 
This quiz is open book and open notes/tutorialoutlet
This quiz is open book and open notes/tutorialoutletThis quiz is open book and open notes/tutorialoutlet
This quiz is open book and open notes/tutorialoutlet
 
Exploratory data analysis v1.0
Exploratory data analysis v1.0Exploratory data analysis v1.0
Exploratory data analysis v1.0
 
0013 chapter vi
0013 chapter vi0013 chapter vi
0013 chapter vi
 
Math 107 Final ExaminationSummer, 20151Math 107 College Algebr.docx
Math 107 Final ExaminationSummer, 20151Math 107 College Algebr.docxMath 107 Final ExaminationSummer, 20151Math 107 College Algebr.docx
Math 107 Final ExaminationSummer, 20151Math 107 College Algebr.docx
 
3rd Semester Computer Science and Engineering (ACU-2022) Question papers
3rd Semester Computer Science and Engineering  (ACU-2022) Question papers3rd Semester Computer Science and Engineering  (ACU-2022) Question papers
3rd Semester Computer Science and Engineering (ACU-2022) Question papers
 

More from butest

EL MODELO DE NEGOCIO DE YOUTUBE
EL MODELO DE NEGOCIO DE YOUTUBEEL MODELO DE NEGOCIO DE YOUTUBE
EL MODELO DE NEGOCIO DE YOUTUBEbutest
 
1. MPEG I.B.P frame之不同
1. MPEG I.B.P frame之不同1. MPEG I.B.P frame之不同
1. MPEG I.B.P frame之不同butest
 
LESSONS FROM THE MICHAEL JACKSON TRIAL
LESSONS FROM THE MICHAEL JACKSON TRIALLESSONS FROM THE MICHAEL JACKSON TRIAL
LESSONS FROM THE MICHAEL JACKSON TRIALbutest
 
Timeline: The Life of Michael Jackson
Timeline: The Life of Michael JacksonTimeline: The Life of Michael Jackson
Timeline: The Life of Michael Jacksonbutest
 
Popular Reading Last Updated April 1, 2010 Adams, Lorraine The ...
Popular Reading Last Updated April 1, 2010 Adams, Lorraine The ...Popular Reading Last Updated April 1, 2010 Adams, Lorraine The ...
Popular Reading Last Updated April 1, 2010 Adams, Lorraine The ...butest
 
LESSONS FROM THE MICHAEL JACKSON TRIAL
LESSONS FROM THE MICHAEL JACKSON TRIALLESSONS FROM THE MICHAEL JACKSON TRIAL
LESSONS FROM THE MICHAEL JACKSON TRIALbutest
 
Com 380, Summer II
Com 380, Summer IICom 380, Summer II
Com 380, Summer IIbutest
 
The MYnstrel Free Press Volume 2: Economic Struggles, Meet Jazz
The MYnstrel Free Press Volume 2: Economic Struggles, Meet JazzThe MYnstrel Free Press Volume 2: Economic Struggles, Meet Jazz
The MYnstrel Free Press Volume 2: Economic Struggles, Meet Jazzbutest
 
MICHAEL JACKSON.doc
MICHAEL JACKSON.docMICHAEL JACKSON.doc
MICHAEL JACKSON.docbutest
 
Social Networks: Twitter Facebook SL - Slide 1
Social Networks: Twitter Facebook SL - Slide 1Social Networks: Twitter Facebook SL - Slide 1
Social Networks: Twitter Facebook SL - Slide 1butest
 
Facebook
Facebook Facebook
Facebook butest
 
Executive Summary Hare Chevrolet is a General Motors dealership ...
Executive Summary Hare Chevrolet is a General Motors dealership ...Executive Summary Hare Chevrolet is a General Motors dealership ...
Executive Summary Hare Chevrolet is a General Motors dealership ...butest
 
Welcome to the Dougherty County Public Library's Facebook and ...
Welcome to the Dougherty County Public Library's Facebook and ...Welcome to the Dougherty County Public Library's Facebook and ...
Welcome to the Dougherty County Public Library's Facebook and ...butest
 
NEWS ANNOUNCEMENT
NEWS ANNOUNCEMENTNEWS ANNOUNCEMENT
NEWS ANNOUNCEMENTbutest
 
C-2100 Ultra Zoom.doc
C-2100 Ultra Zoom.docC-2100 Ultra Zoom.doc
C-2100 Ultra Zoom.docbutest
 
MAC Printing on ITS Printers.doc.doc
MAC Printing on ITS Printers.doc.docMAC Printing on ITS Printers.doc.doc
MAC Printing on ITS Printers.doc.docbutest
 
Mac OS X Guide.doc
Mac OS X Guide.docMac OS X Guide.doc
Mac OS X Guide.docbutest
 
WEB DESIGN!
WEB DESIGN!WEB DESIGN!
WEB DESIGN!butest
 

More from butest (20)

EL MODELO DE NEGOCIO DE YOUTUBE
EL MODELO DE NEGOCIO DE YOUTUBEEL MODELO DE NEGOCIO DE YOUTUBE
EL MODELO DE NEGOCIO DE YOUTUBE
 
1. MPEG I.B.P frame之不同
1. MPEG I.B.P frame之不同1. MPEG I.B.P frame之不同
1. MPEG I.B.P frame之不同
 
LESSONS FROM THE MICHAEL JACKSON TRIAL
LESSONS FROM THE MICHAEL JACKSON TRIALLESSONS FROM THE MICHAEL JACKSON TRIAL
LESSONS FROM THE MICHAEL JACKSON TRIAL
 
Timeline: The Life of Michael Jackson
Timeline: The Life of Michael JacksonTimeline: The Life of Michael Jackson
Timeline: The Life of Michael Jackson
 
Popular Reading Last Updated April 1, 2010 Adams, Lorraine The ...
Popular Reading Last Updated April 1, 2010 Adams, Lorraine The ...Popular Reading Last Updated April 1, 2010 Adams, Lorraine The ...
Popular Reading Last Updated April 1, 2010 Adams, Lorraine The ...
 
LESSONS FROM THE MICHAEL JACKSON TRIAL
LESSONS FROM THE MICHAEL JACKSON TRIALLESSONS FROM THE MICHAEL JACKSON TRIAL
LESSONS FROM THE MICHAEL JACKSON TRIAL
 
Com 380, Summer II
Com 380, Summer IICom 380, Summer II
Com 380, Summer II
 
PPT
PPTPPT
PPT
 
The MYnstrel Free Press Volume 2: Economic Struggles, Meet Jazz
The MYnstrel Free Press Volume 2: Economic Struggles, Meet JazzThe MYnstrel Free Press Volume 2: Economic Struggles, Meet Jazz
The MYnstrel Free Press Volume 2: Economic Struggles, Meet Jazz
 
MICHAEL JACKSON.doc
MICHAEL JACKSON.docMICHAEL JACKSON.doc
MICHAEL JACKSON.doc
 
Social Networks: Twitter Facebook SL - Slide 1
Social Networks: Twitter Facebook SL - Slide 1Social Networks: Twitter Facebook SL - Slide 1
Social Networks: Twitter Facebook SL - Slide 1
 
Facebook
Facebook Facebook
Facebook
 
Executive Summary Hare Chevrolet is a General Motors dealership ...
Executive Summary Hare Chevrolet is a General Motors dealership ...Executive Summary Hare Chevrolet is a General Motors dealership ...
Executive Summary Hare Chevrolet is a General Motors dealership ...
 
Welcome to the Dougherty County Public Library's Facebook and ...
Welcome to the Dougherty County Public Library's Facebook and ...Welcome to the Dougherty County Public Library's Facebook and ...
Welcome to the Dougherty County Public Library's Facebook and ...
 
NEWS ANNOUNCEMENT
NEWS ANNOUNCEMENTNEWS ANNOUNCEMENT
NEWS ANNOUNCEMENT
 
C-2100 Ultra Zoom.doc
C-2100 Ultra Zoom.docC-2100 Ultra Zoom.doc
C-2100 Ultra Zoom.doc
 
MAC Printing on ITS Printers.doc.doc
MAC Printing on ITS Printers.doc.docMAC Printing on ITS Printers.doc.doc
MAC Printing on ITS Printers.doc.doc
 
Mac OS X Guide.doc
Mac OS X Guide.docMac OS X Guide.doc
Mac OS X Guide.doc
 
hier
hierhier
hier
 
WEB DESIGN!
WEB DESIGN!WEB DESIGN!
WEB DESIGN!
 

Problem 1 – First-Order Predicate Calculus (15 points)

  • 1. University of Wisconsin – Madison Computer Sciences Department CS 760 - Machine Learning Fall 2001 Exam 7:15-9:15pm, December 13, 2001 Room 1240 CS & Stats CLOSED BOOK (one sheet of notes and a calculator allowed) Write your answers on these pages and show your work. If you feel that a question is not fully specified, state any assumptions you need to make in order to solve the problem. You may use the backs of these sheets for scratch work. Write your name on this and all other pages of this exam. Make sure your exam contains 6 problems on 10 pages. Name ________________________________________________________________ Student ID ________________________________________________________________ Problem Score Max Score 1 ______ 24 2 ______ 15 3 ______ 16 4 ______ 14 5 ______ 7 6 ______ 24 TOTAL ______ 100
  • 2. Name: _______________________________________ Problem 1 – Learning from Labelled Examples (24 points) Imagine that you are given the following set of training examples. Each feature can take on one of three nominal values: a, b, or c. F1 F2 F3 Category a c a + c a c + a a c – b c a – c c b – a) How would a Naive Bayes system classify the following test example? Be sure to show your work. F1 = a F2 = c F3 = b b) Describe how a 3-nearest-neighbor algorithm would classify Part a’s test example. Page 2 of 10
  • 3. Name: _______________________________________ c) Show the calculations that ID3 would perform to determine the root node of a decision tree using the above training examples. d) Now consider augmenting the standard ID3 algorithm so that it also considers tests like the value of feature X = the value of feature Y for all pairs of features X and Y where X ≠ Y. Show what this variant of ID3 would choose as a root node for the training set above. Page 3 of 10
  • 4. Name: _______________________________________ Problem 2 – Weight Space and Neural Networks (15 points) Assume that you wish to train a perceptron on the simple training set below. F1 Category 1 + 8 + 2 – 4 – a) Draw the weight space for this task, assuming that the perceptron’s threshold is always set at 4. Also assume that the perceptron’s output is 1 (i.e., category = +) when the perceptron’s weighted sum meets or exceeds its threshold; otherwise its output is 0. (Since the threshold is constant, you need not draw its dimension in weight space. Also, do not normalize the values of F1) b) Assuming that we initially set the weight on the link between F1 and the output node to the value 5, state the range of final weight settings that could result from applying backpropagation training. Be sure to explain your answer. (Do not train the threshold in this part; hold it constant at the value of 4. Assume that the step function of Part a is replaced with a very steep sigmoidal activation function, so that the activation function is technically differentiable.) c) Starting from the initial state of Part b and using a learning rate of 0.1, draw the perceptron before and after training with (just) the last example in the training set above. For this part, you do need to train the threshold. Page 4 of 10
  • 5. Name: _______________________________________ Problem 3 – Overfitting Avoidance (16 points) For each of the following learning methods, briefly describe and motivate one (1) commonly used technique for overfitting avoidance. a) Nearest-neighbor learning Brief Description (of an overfitting-avoidance technique): Motivation (of why it might reduce overfitting): b) Naïve Bayesian learning Brief Description: Motivation: c) Decision-tree induction Brief Description: Motivation: d) Neural network training Brief Description: Motivation: Page 5 of 10
  • 6. Name: _______________________________________ Problem 4 – Reinforcement Learning (14 points) Consider the deterministic reinforcement environment drawn below. The numbers on the arcs indicate the immediate rewards. Let the discount rate equal 0.9. 10 5 star a b t -10 -10 -10 c 5 end 0 a) What is the best route for going from start to end? Why? b) Represent the Q table by placing Q values on the arcs on the environment's state-action graph; initialize all of the Q values to 2 except initialize all of the arcs directly involving node a to have a Q value of -1. For Step 1, do exploitation. Show on the graph below the full Q table after Step 1. Specify the action chosen and display the calculations involved in altering the Q table. star a b t c end Page 6 of 10
  • 7. Name: _______________________________________ c) Assume that after Step 1, the RL agent is magically transported back to the state start. Show the resulting Q table after the learner takes its second step from the starting state. Step 2 should be exploration. Be sure to again state the action chosen and display your calculations. star a b t c end d) Explain one (1) major advantage and one (1) major disadvantage of using a Q network instead of a Q table in reinforcement learning. advantage: disadvantage: Page 7 of 10
  • 8. Name: _______________________________________ Problem 5 – Inductive Logic Programming (7 points) Assume that we tell FOIL that P(a) and P(b) are positive instances of P(?X) and that P(c) and P(d) are negative instances (where ?X is a variable, while a, b, c, and d are constants). We also give the following background knowledge to FOIL: Q(a) ¬Q(b) Q(c) ¬Q(d) R(a) ¬R(b) R(c) R(d) (where “¬” means “not”). Show the calculations that FOIL would go through in order to choose its first rule for P(?X). Page 8 of 10
  • 9. Name: _______________________________________ Problem 6 – Short Discussion Questions (24 points) a) Why might it make sense to learn a "world model" when learning from reinforcements? b) What is the major advantage that FOIL has over ID3? Explain your answer. c) Would you expect ensemble methods to work better for decision-tree induction or for Naïve Bayes classifiers? Why? d) Assume that we want to empirically compare the accuracies of two learning algorithms on a given dataset,what experimental methodology should we use? Page 9 of 10
  • 10. Name: _______________________________________ e) Assuming one has linearly separable data,what is the key difference between standard perceptron training and Support Vector Machines? f) Briefly explain one (1) connection between the Minimal Description Length principle and Support Vector Machines. g) What role does the VC Dimension play in machine learning? h) Why does one need both tuning and testing sets in machine learning? Have a good vacation! Page 10 of 10