- fixed total error calc
This commit is contained in:
+1
-1
@@ -370,7 +370,7 @@ void Rbm::train(arma::mat const &batch, IListener* pListener)
|
||||
} // number of mini batches
|
||||
|
||||
// Update final status
|
||||
status.err_total = rms_error_accu(batch - prob(h_to_v(prob(v_to_h(batch)))));
|
||||
status.err_total = rms_error_accu(batch - toVisibleProbs(toHiddenProbs(batch)));
|
||||
|
||||
if (pListener)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user