Go
through
each
combo
of
variables
exhaustively
(exhausting?)
All subsets of 4 variables
()
One
way
of
breaking
this
up
Calculate
by
hand
We train a model using four variables, .
We’re interested in getting a subset of the variables to use. The following table shows the mean
squared error and the MSE value computed for the model learned using each possible subset of
variables.
What
subset
of
variables
is
found
for
each
of
the
sets
when
using
best
subset
selection?
What
subset
of
variables
is
returned
using
best
subset
selection?
Group
work:
by
hand
same
example
with
forward
example
We train a model using four variables, .
We’re interested in getting a subset of the variables to use. The following table shows the mean squared error
and the
value computed for the model learned using each possible subset of variables.
What
subset
of
variables
is
found
for
each
of
the
sets
when
using
forward
selection?
What
subset
of
variables
is
returned
using
forward
subset
selection?