|
Algorithm 2 Homeostatic Unsupervised Learning of Kernels:
|
-
1:
Initialize the point nonlinear gain functions to similar cumulative distribution functions,
-
2:
Initialize N atoms to random points on the M-unit sphere,
-
3:
forT epochs do:
-
4:
draw a new batch from the database of natural images,
-
5:
for each data point
do:
-
6:
compute the sparse representation vector using sparse coding ,
-
7:
modify atoms: ,
-
8:
normalize atoms: ,
-
9:
update homeostasis functions: .
|