Theano: Summation By Class Label
I have a matrix which represents a distances to the k-nearest neighbour of a set of points, and there is a matrix of class labels of the nearest neighbours. (both N-by-k matrix) Wh
Solution 1:
You might be interesting in having a look to this repo: https://github.com/erogol/KLP_KMEANS/blob/master/klp_kmeans.py
Is a K-Means implementation using theano (func kpl_kmeans
). I believe what you want is the matrix W
used in the function find_bmu
.
Hope you find it useful.
Post a Comment for "Theano: Summation By Class Label"