nystrom-ncut 0.1.6__py3-none-any.whl → 0.1.7__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- nystrom_ncut/visualize_utils.py +2 -3
- {nystrom_ncut-0.1.6.dist-info → nystrom_ncut-0.1.7.dist-info}/METADATA +1 -1
- {nystrom_ncut-0.1.6.dist-info → nystrom_ncut-0.1.7.dist-info}/RECORD +6 -6
- {nystrom_ncut-0.1.6.dist-info → nystrom_ncut-0.1.7.dist-info}/LICENSE +0 -0
- {nystrom_ncut-0.1.6.dist-info → nystrom_ncut-0.1.7.dist-info}/WHEEL +0 -0
- {nystrom_ncut-0.1.6.dist-info → nystrom_ncut-0.1.7.dist-info}/top_level.txt +0 -0
nystrom_ncut/visualize_utils.py
CHANGED
@@ -179,14 +179,13 @@ def _rgb_with_dimensionality_reduction(
|
|
179
179
|
)
|
180
180
|
|
181
181
|
_inp = features[subgraph_indices].numpy(force=True)
|
182
|
-
_subgraph_embed = reduction(
|
182
|
+
_subgraph_embed = torch.tensor(reduction(
|
183
183
|
n_components=reduction_dim,
|
184
184
|
metric=disttype,
|
185
185
|
random_state=seed,
|
186
186
|
**reduction_kwargs
|
187
|
-
).fit_transform(_inp)
|
187
|
+
).fit_transform(_inp), device=features.device, dtype=features.dtype)
|
188
188
|
|
189
|
-
_subgraph_embed = torch.tensor(_subgraph_embed, dtype=torch.float32)
|
190
189
|
rgb = rgb_func(extrapolate_knn(
|
191
190
|
features[subgraph_indices],
|
192
191
|
_subgraph_embed,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: nystrom_ncut
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.7
|
4
4
|
Summary: Normalized Cut and Nyström Approximation
|
5
5
|
Author-email: Huzheng Yang <huze.yann@gmail.com>, Wentinn Liao <wentinn.liao@gmail.com>
|
6
6
|
Project-URL: Documentation, https://github.com/JophiArcana/Nystrom-NCUT/
|
@@ -3,13 +3,13 @@ nystrom_ncut/__init__.py,sha256=HifrTcqX2-hYjBDe6xIThHvuIBYMPBA3EzjR8-qPMUM,512
|
|
3
3
|
nystrom_ncut/common.py,sha256=_PGJoImSk_Fb_5Ri-e_IsFoCcSfbGS8CxYUUHVoNM50,2036
|
4
4
|
nystrom_ncut/distance_utils.py,sha256=p-pYdpRrJsIhzxM_IxUqja7N8okngx52WGXD9pu_Aec,3129
|
5
5
|
nystrom_ncut/sampling_utils.py,sha256=oMmhFcd_N_D15Ht7F0rCGPSgLeitJszAKMD3ICKwHNU,3105
|
6
|
-
nystrom_ncut/visualize_utils.py,sha256=
|
6
|
+
nystrom_ncut/visualize_utils.py,sha256=_J6YjWUsBe0VqW6KXsQx_iPmRCcO-ie0g6t5mD289UI,22957
|
7
7
|
nystrom_ncut/nystrom/__init__.py,sha256=4EpxD3Cmc8Fif4vo8DG-6FpTfCnNanD5zCZxK3WrMwQ,121
|
8
8
|
nystrom_ncut/nystrom/distance_realization.py,sha256=InajllGtRVnLVlZoipZNbHFTGHaTs3zxizKe3kI2Los,5815
|
9
9
|
nystrom_ncut/nystrom/normalized_cut.py,sha256=N-M5wkTo59vpbBfIx8evkSQBxlo4j80qCtuoifxQa_A,7578
|
10
10
|
nystrom_ncut/nystrom/nystrom_utils.py,sha256=UVs1tC7vnVq2mWSTpcrP4C19x9wDJ77ACht0EltOO2E,12698
|
11
|
-
nystrom_ncut-0.1.
|
12
|
-
nystrom_ncut-0.1.
|
13
|
-
nystrom_ncut-0.1.
|
14
|
-
nystrom_ncut-0.1.
|
15
|
-
nystrom_ncut-0.1.
|
11
|
+
nystrom_ncut-0.1.7.dist-info/LICENSE,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
|
12
|
+
nystrom_ncut-0.1.7.dist-info/METADATA,sha256=eb0Q6bwCKC4c5bcuJI_PnIaPW5qFYGSgwbPeuWI7EUk,6058
|
13
|
+
nystrom_ncut-0.1.7.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
14
|
+
nystrom_ncut-0.1.7.dist-info/top_level.txt,sha256=gM8IWWHYysIRTCvCTcdS4RShOyl9pxpylgSwPUZR2XM,22
|
15
|
+
nystrom_ncut-0.1.7.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|