[solved] – Question 741
Change this into vb code
function update(class,train) {
‘OUTPUT: changes to the globals.
‘ INPUT: a “train”ing example
‘ containing attribute/
‘ value pairs in some
‘ “class”
I++ ‘ update number of instances
if (++N[class]==1) ‘ update counts for each class
then C++
fi()
for <attr,value> in train
do if (value != “?”)
Expert Answer
OR

