Compute the following using the formulations from Information Theory discussed in class (AIMA, Section 18.3).
Compute the information gain provided by the “Hungry?“ question from the restaurant domain. Use this restaurant data (AIMA, Figure 18.3). Would this question be better than either of the questions discussed in class (i.e., “Patrons?”, “Type?”?
Record your answers in lab06_1.txt
(or you can use MD
format).
Work in teams of two (or perhaps three) for this one. Select an ML-compatible problem and work through these Google Crash Course exercises. If you already answered these questions when you worked this unit’s guide, go through them with your partner(s).
Do the Try It Yourself exercises from the Problem Framing course.
Record your answers to the ten exercises in lab06_2.txt
.
Each partner should record their own answers and submit them separately,
but feel free to share your answers. Please indicate all partners’
names in your submission.
Do the following using this class example as a guide.
Do the following things using NumPy:
boston_housing
)
and do the following:
Save your code in lab06_3.py
, including all partner’s
names in the file.
We will grade your work according to the following criteria:
See the policies page for lab due-dates and times.