nystrom-ncut 0.3.6__py3-none-any.whl → 0.3.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/sampling_utils.py +7 -0
- {nystrom_ncut-0.3.6.dist-info → nystrom_ncut-0.3.7.dist-info}/METADATA +3 -2
- {nystrom_ncut-0.3.6.dist-info → nystrom_ncut-0.3.7.dist-info}/RECORD +6 -6
- {nystrom_ncut-0.3.6.dist-info → nystrom_ncut-0.3.7.dist-info}/WHEEL +1 -1
- {nystrom_ncut-0.3.6.dist-info → nystrom_ncut-0.3.7.dist-info/licenses}/LICENSE +0 -0
- {nystrom_ncut-0.3.6.dist-info → nystrom_ncut-0.3.7.dist-info}/top_level.txt +0 -0
nystrom_ncut/sampling_utils.py
CHANGED
@@ -186,6 +186,13 @@ class OnlineTransformerSubsampleFit(TorchTransformerMixin, OnlineTorchTransforme
|
|
186
186
|
V.scatter_(-2, indices[..., None].expand([-1] * indices.ndim + [V_sampled.shape[-1]]), _V)
|
187
187
|
else:
|
188
188
|
V = V_sampled
|
189
|
+
# from .visualize_utils import extrapolate_knn
|
190
|
+
# V = extrapolate_knn(
|
191
|
+
# anchor_features=self.base_transformer.anchor_features,
|
192
|
+
# anchor_output=V_sampled,
|
193
|
+
# extrapolation_features=features,
|
194
|
+
# affinity_type="rbf",
|
195
|
+
# )
|
189
196
|
return V
|
190
197
|
|
191
198
|
def update(self, features: torch.Tensor) -> torch.Tensor:
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: nystrom_ncut
|
3
|
-
Version: 0.3.
|
3
|
+
Version: 0.3.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/
|
@@ -11,6 +11,7 @@ Classifier: Operating System :: OS Independent
|
|
11
11
|
Requires-Python: >=3
|
12
12
|
Description-Content-Type: text/markdown
|
13
13
|
License-File: LICENSE
|
14
|
+
Dynamic: license-file
|
14
15
|
|
15
16
|
|
16
17
|
|
@@ -3,7 +3,7 @@ nystrom_ncut/__init__.py,sha256=4qNyWD5s1Uvd9OpfiMV4mF-3yFCi_K2QVRJIcAOXh70,587
|
|
3
3
|
nystrom_ncut/common.py,sha256=eie19AHTMk6AGTxNnYq1UcFkHJVimeywAUYryXwaiHk,2428
|
4
4
|
nystrom_ncut/distance_utils.py,sha256=zMI651RlIbd6ygvIxRp6jY5Ilfu7j9WQ5FD4I1wmmeo,4198
|
5
5
|
nystrom_ncut/global_settings.py,sha256=TckHuF8geWM2ofd99jBupHD3TQdeEB583_3pdIVRU34,24
|
6
|
-
nystrom_ncut/sampling_utils.py,sha256=
|
6
|
+
nystrom_ncut/sampling_utils.py,sha256=QzafhT9BbYLzAM1OR7OEmKEpYcq-DDHOPHUS-u2jidg,9452
|
7
7
|
nystrom_ncut/visualize_utils.py,sha256=A1qmL8eNZjtvOOlyl9KIeObnpPVUGZVsCB9QBRV7n9I,22762
|
8
8
|
nystrom_ncut/kernel/__init__.py,sha256=pvJ3tFukmlNZqw8VUB_iKPY9gbchUAlNkmnRCZcp0uU,44
|
9
9
|
nystrom_ncut/kernel/kernel_ncut.py,sha256=QoQ-wRBZmdL9WcuzaHr2A3aPN-iuFL3UIUKpqFmX1_k,5809
|
@@ -14,8 +14,8 @@ nystrom_ncut/nystrom/nystrom_utils.py,sha256=5cMoF8UFgi_N-nEzbSQqVGhuep_eOn-FzEr
|
|
14
14
|
nystrom_ncut/transformer/__init__.py,sha256=2FJEG9CXavfDDdDk1i9OOGkd8uSOHMkP8LBH49nnPnM,138
|
15
15
|
nystrom_ncut/transformer/axis_align.py,sha256=j3LlAPrp8O_jQAlwZz-gu3D7n_wICEJranye-YK5wvA,4880
|
16
16
|
nystrom_ncut/transformer/transformer_mixin.py,sha256=9wYdWknnJP7jijz70lRAyDn_kpC9aWwYN7Pbt5Mf6gQ,2012
|
17
|
-
nystrom_ncut-0.3.
|
18
|
-
nystrom_ncut-0.3.
|
19
|
-
nystrom_ncut-0.3.
|
20
|
-
nystrom_ncut-0.3.
|
21
|
-
nystrom_ncut-0.3.
|
17
|
+
nystrom_ncut-0.3.7.dist-info/licenses/LICENSE,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
|
18
|
+
nystrom_ncut-0.3.7.dist-info/METADATA,sha256=AdVSvMDyC6qB1NeXrpdEjHXtt0iK5k7U024XA5QYmWo,6080
|
19
|
+
nystrom_ncut-0.3.7.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
20
|
+
nystrom_ncut-0.3.7.dist-info/top_level.txt,sha256=gM8IWWHYysIRTCvCTcdS4RShOyl9pxpylgSwPUZR2XM,22
|
21
|
+
nystrom_ncut-0.3.7.dist-info/RECORD,,
|
File without changes
|
File without changes
|