Question: The following model was trained to predict whether a fruit is a pear (0) or apple (1). The training samples contain information about the diameter
The following model was trained to predict whether a fruit is a pear (0) or apple (1). The training samples contain information about the diameter and the two axes ratio for each sample.
h(x) = 1/1 + e^-^Tx
The model parameters vectors are = [-0.5, 1, 1]
Classify the following sample as pear (0) or apple (1): x=[0.5, -2]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
