File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 55t-SNE is a nonlinear dimensionality reduction algorithm for visualizing
66high-dimensional data in a low-dimensional space (2D or 3D).
77
8- It computes pairwise similarities in both spaces and minimizes the
8+ It computes pairwise similarities in both spaces and minimizes the
99Kullback-Leibler divergence using gradient descent.
1010
1111References:
@@ -39,9 +39,7 @@ def collect_dataset() -> Tuple[ndarray, ndarray]:
3939 return np .array (data .data ), np .array (data .target )
4040
4141
42- def compute_pairwise_affinities (
43- data_x : ndarray , sigma : float = 1.0
44- ) -> ndarray :
42+ def compute_pairwise_affinities (data_x : ndarray , sigma : float = 1.0 ) -> ndarray :
4543 """
4644 Compute high-dimensional affinities (P matrix) using Gaussian kernel.
4745
You can’t perform that action at this time.
0 commit comments