mlann_mlp:calc_activ_func_deriv returning NaN for large values (Bug #35)


Added by sumeet kumar about 15 years ago. Updated about 15 years ago.


Status:Done Start date:
Priority:High Due date:
Assignee:- % Done:

0%

Category:ml
Target version:-
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

In mlann_mlp the function calc_activ_func_deriv calculates e^ax for calculating gradient. When x is large exp(x) becomes Inf and further calculation involving them becomes NaN as a result the mlp is not getting trained. Even letter_recog sample is giving only 4-5% random accuracy.


History

Updated by Vadim Pisarevsky about 15 years ago

fixed in SVN r2454

  • Status changed from Open to Done
  • (deleted custom field) set to fixed

Also available in: Atom PDF