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:
@@ -37,9 +37,7 @@ def collect_dataset() -> tuple[np.ndarray, np.ndarray]:
3737 return np .array (data .data ), np .array (data .target )
3838
3939
40- def compute_pairwise_affinities (
41- data_x : np .ndarray , sigma : float = 1.0
42- ) -> np .ndarray :
40+ def compute_pairwise_affinities (data_x : np .ndarray , sigma : float = 1.0 ) -> np .ndarray :
4341 """
4442 Compute high-dimensional affinities (P matrix) using Gaussian kernel.
4543
You can’t perform that action at this time.
0 commit comments