Closed mailology closed 3 years ago
I have changed logic of sigma update by returning the desired values and re-assigning sigma at call sites. The relevant functions are
sigma
build_sigma
updated_sigma
swap_sigma
The updated code is checked on Python using MNIST-1k dataset. All algorithms give expected results including the sigma values in the log files.
I have changed logic of
sigma
update by returning the desired values and re-assigningsigma
at call sites. The relevant functions arebuild_sigma
: a row vectorupdated_sigma
is created to store the sigma values and returned at the end;swap_sigma
: a matrixupdated_sigma
is created to store the sigma values and returned at the end.The updated code is checked on Python using MNIST-1k dataset. All algorithms give expected results including the sigma values in the log files.