The following is the same data from assignment 11:
We want to use this data to learn the value of more_info as a function of the values of the other variables.
Example bought edu first visited more_info e1 false true false false true e2 true false true false false e3 false false true true true e4 false false true false false e5 false false false true false e6 true false false true true e7 true false false false true e8 false true true true false e9 false true true false false e10 true true true false true e11 true true false true true e12 false false false false true
In this assignment we will consider neural network learning for this data. We have a Java applet and a CILog program that can be used to answer this assignment.
After 200 iterations with a learning rate of 0.5 the parameter values are:
Parameter Parent Value w0 1.58 w4 bought 3.96 w3 edu 3.52 w2 first -7.42 w1 visited -3.40
When first is true, the value of the linear expression is negative unless bought and edu are true and visited is false.
When first is false, the value of the linear expression is positive unless bought and edu are false and visited is true.
This can be written as the decision tree:
So the boolean expression is:
(first &bought &edu ¬ visited) or
(not first &bought) or
(not first &edu) or
(not first ¬ visited).
No. e3 is misclassified. The neural network classifies it as false.
The following
bought edu first visited more_info true true true true false true true false false true true false true true false false true false true true
run the applet....
After 200 iterations with learning rate of 0.5, we can have the following table:
bought edu first visited more_info true true true true false true true true false true true true false true true true true false false true true
false true true false true false true false false true false false true true true false false false true false
true true true false false true true false false false true false true true false true false false true false
false true true false false false true false false false false false true false false false false false true
This represents the same Boolean function as part (a).
Again e3 is misclassified.
There is local minimum at 1.7 or 1.8 (with 42 iterations), another at 2.7 (with 33 iterations) and another at 3.0 (with 34 iterations).