We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a5b528 commit 3803e55Copy full SHA for 3803e55
graphtools/graphs.py
@@ -655,7 +655,7 @@ def build_landmark_op(self):
655
with _logger.log_task("landmark operator"):
656
is_sparse = sparse.issparse(self.kernel)
657
658
- if self.random_landmark:
+ if self.random_landmarking:
659
n_samples = self.data.shape[0]
660
rng = np.random.default_rng(self.random_state)
661
landmark_indices = rng.choice(n_samples, self.n_landmark, replace=False)
0 commit comments