MCPcopy Create free account

hub / github.com/danaugrs/go-tsne / functions

Functions21 in github.com/danaugrs/go-tsne

↓ 3 callersFunctionSquaredDistanceMatrix
SquaredDistanceMatrix computes the squared distance matrix for row vectors in X. Returns a matrix where the {i, j}-th element is the squared euclidean
tsne/tsne.go:308
↓ 2 callersFunctionCSVmatrix
(filepath string)
examples/mnist2d/util.go:19
↓ 2 callersFunctionCSVmatrix
(filepath string)
examples/mnist3d/util.go:19
↓ 2 callersMethodEmbedData
EmbedData initializes the pairwise affinity matrix P with the similarity probabilities calculated based on the provided data matrix and runs t-SNE. It
tsne/tsne.go:56
↓ 2 callersMethodscaleSprites
scaleSprites scales all the sprites to match spriteScale.
examples/mnist3d/mnist3d.go:169
↓ 1 callersFunctionDiagonal
Diagonal returns the diagonal elements of the specified matrix as a Vector.
tsne/tsne.go:289
↓ 1 callersMethodEmbedDistances
InitDistances initializes the pairwise affinity matrix P with the similarity probabilities calculated based on the provided (squared) distance matrix
tsne/tsne.go:65
↓ 1 callersFunctionLoadMNIST
()
examples/mnist2d/util.go:14
↓ 1 callersFunctionLoadMNIST
()
examples/mnist3d/util.go:14
↓ 1 callersFunctionRandNormal
Utility functions RandNormal samples from a Gaussian distribution with the specified mean and standard deviation.
tsne/tsne.go:283
↓ 1 callersMethodcostGradient
costGradient computes the Kullback-Leibler divergence between P and the Student-t based joint probability distribution Q. It also computes the gradien
tsne/tsne.go:225
↓ 1 callersMethodcreateDigitSprites
createDigitSprites creates a sprite for each digit in the dataset.
examples/mnist3d/mnist3d.go:201
↓ 1 callersMethodd2p
d2p computes the P matrix based on a (squared) distance matrix D. It performs a binary search to obtain a similarity probability for each pairwise dis
tsne/tsne.go:106
↓ 1 callersMethodinitSolution
initSolution initializes the t-SNE solution.
tsne/tsne.go:81
↓ 1 callersFunctionplotY2D
plotY2D plots the 2D embedding Y and saves an image of the plot with the specified filename.
examples/mnist2d/mnist2d.go:57
↓ 1 callersMethodrun
run performs batch gradient descent to reduce the Kullback-Leibler divergence between P and Q, the high dimensional affinities and the low dimensional
tsne/tsne.go:191
↓ 1 callersMethodupdateSprites
updateSprites updates the position of the sprites based on the specified embedding matrix.
examples/mnist3d/mnist3d.go:177
FunctionNewTSNE
NewTSNE creates and returns a new t-SNE dimensionality reductor with the specified parameters.
tsne/tsne.go:42
FunctionTestSquaredDistanceMatrix
TestSquaredDistanceMatrix verifies that SquaredDistanceMatrix is behaving properly.
tsne/tsne_test.go:12
Functionmain
()
examples/mnist2d/mnist2d.go:21
Functionmain
()
examples/mnist3d/mnist3d.go:43