Exercises 695 Clas
Exercises 695 Clas
Exercises 695 Clas
6
-0.4
3
0.1
0.2
-0.1
-0.2
0.1
0.1
0
0.2
0.5
0.2
0.3
hidden
neurons
0.6
-0.1
4
-0.2
output
neurons
0.6
-0.4
input
neurons
Let the learning rate be 0.1 and the weights be as indicated in the figure above. Do the forward
propagation of the signals in the network using T1 as input, then perform the back propagation of the
error. Show the changes of the weights.
Exercise 3.
Why is the Nave Bayesian classification called nave?
Exercise 5. Applying Nave Bayes to data with numerical attributes and using the Laplace
correction (to be done at your own time, not in class)
Given the training data in the table below (Tennis data with some numerical attributes), predict the
class of the following new example using Nave Bayes classification:
outlook=overcast, temperature=60, humidity=62, windy=false.
Tip. You can use Excel or Matlab for the calculations of logarithm, mean and standard deviation. The
following Matlab functions can be used: log2 logarithm with base 2, mean mean value, std
standard deviation. Type help <function name> (e.g. help mean) for help on how to use the
functions and examples.
Exercise 6. Using Weka (to be done at your own time, not in class)
Load iris data (iris.arff). Choose 10-fold cross validation. Run the Nave Bayes and Multi-layer
percepton (trained with the backpropagation algorithm) classifiers and compare their performance.
Which classifier produced the most accurate classification? Which one learns faster?
w * (a , b )
i =1
either age, income, student or credit_rating. Weights are all 1 except for income it is 2.