Skip to content

Commit 1cb8968

Browse files
committed
Collapse C++ overload quick links
1 parent 16bb8f0 commit 1cb8968

23 files changed

Lines changed: 332 additions & 314 deletions

fern/pages/cpp_api/cpp-api-cluster-agglomerative.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ std::optional<raft::device_vector_view<float, int64_t>> core_dists);
143143
144144
_Source: `cpp/include/cuvs/cluster/agglomerative.hpp:188`_
145145
146-
### linkage_graph_params::build_linkage
146+
**Additional overload:** `linkage_graph_params::build_linkage`
147147
148148
Given a dataset, builds the KNN graph, connects graph components and builds a linkage
149149

fern/pages/cpp_api/cpp-api-cluster-kmeans.md

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ TODO: Evaluate replacing the extent type with int64_t. Reference issue: https://
113113

114114
_Source: `cpp/include/cuvs/cluster/kmeans.hpp:217`_
115115

116-
### cuvs::cluster::kmeans::fit
116+
**Additional overload:** `cuvs::cluster::kmeans::fit`
117117

118118
Find clusters with k-means algorithm using batched processing of host data.
119119

@@ -145,7 +145,7 @@ raft::host_scalar_view<int64_t> n_iter);
145145
146146
_Source: `cpp/include/cuvs/cluster/kmeans.hpp:228`_
147147
148-
### cuvs::cluster::kmeans::fit
148+
**Additional overload:** `cuvs::cluster::kmeans::fit`
149149
150150
Find clusters with k-means algorithm.
151151
@@ -179,7 +179,7 @@ Initial centroids are chosen with k-means++ algorithm. Empty clusters are reinit
179179

180180
_Source: `cpp/include/cuvs/cluster/kmeans.hpp:278`_
181181

182-
### cuvs::cluster::kmeans::fit
182+
**Additional overload:** `cuvs::cluster::kmeans::fit`
183183

184184
Find clusters with k-means algorithm.
185185

@@ -213,7 +213,7 @@ Initial centroids are chosen with k-means++ algorithm. Empty clusters are reinit
213213
214214
_Source: `cpp/include/cuvs/cluster/kmeans.hpp:329`_
215215
216-
### cuvs::cluster::kmeans::fit
216+
**Additional overload:** `cuvs::cluster::kmeans::fit`
217217
218218
Find clusters with k-means algorithm.
219219
@@ -247,7 +247,7 @@ Initial centroids are chosen with k-means++ algorithm. Empty clusters are reinit
247247

248248
_Source: `cpp/include/cuvs/cluster/kmeans.hpp:379`_
249249

250-
### cuvs::cluster::kmeans::fit
250+
**Additional overload:** `cuvs::cluster::kmeans::fit`
251251

252252
Find clusters with k-means algorithm.
253253

@@ -281,7 +281,7 @@ Initial centroids are chosen with k-means++ algorithm. Empty clusters are reinit
281281
282282
_Source: `cpp/include/cuvs/cluster/kmeans.hpp:430`_
283283
284-
### cuvs::cluster::kmeans::fit
284+
**Additional overload:** `cuvs::cluster::kmeans::fit`
285285
286286
Find clusters with k-means algorithm.
287287
@@ -315,7 +315,7 @@ Initial centroids are chosen with k-means++ algorithm. Empty clusters are reinit
315315

316316
_Source: `cpp/include/cuvs/cluster/kmeans.hpp:480`_
317317

318-
### cuvs::cluster::kmeans::fit
318+
**Additional overload:** `cuvs::cluster::kmeans::fit`
319319

320320
Find balanced clusters with k-means algorithm.
321321

@@ -343,7 +343,7 @@ std::optional<raft::host_scalar_view<float>> inertia = std::nullopt);
343343
344344
_Source: `cpp/include/cuvs/cluster/kmeans.hpp:520`_
345345
346-
### cuvs::cluster::kmeans::fit
346+
**Additional overload:** `cuvs::cluster::kmeans::fit`
347347
348348
Find balanced clusters with k-means algorithm.
349349
@@ -371,7 +371,7 @@ std::optional<raft::host_scalar_view<float>> inertia = std::nullopt);
371371

372372
_Source: `cpp/include/cuvs/cluster/kmeans.hpp:557`_
373373

374-
### cuvs::cluster::kmeans::fit
374+
**Additional overload:** `cuvs::cluster::kmeans::fit`
375375

376376
Find balanced clusters with k-means algorithm.
377377

@@ -399,7 +399,7 @@ std::optional<raft::host_scalar_view<float>> inertia = std::nullopt);
399399
400400
_Source: `cpp/include/cuvs/cluster/kmeans.hpp:594`_
401401
402-
### cuvs::cluster::kmeans::fit
402+
**Additional overload:** `cuvs::cluster::kmeans::fit`
403403
404404
Find balanced clusters with k-means algorithm.
405405
@@ -461,7 +461,7 @@ raft::host_scalar_view<float> inertia);
461461
462462
_Source: `cpp/include/cuvs/cluster/kmeans.hpp:686`_
463463
464-
### cuvs::cluster::kmeans::predict
464+
**Additional overload:** `cuvs::cluster::kmeans::predict`
465465
466466
Predict the closest cluster each sample in X belongs to.
467467
@@ -495,7 +495,7 @@ raft::host_scalar_view<float> inertia);
495495

496496
_Source: `cpp/include/cuvs/cluster/kmeans.hpp:753`_
497497

498-
### cuvs::cluster::kmeans::predict
498+
**Additional overload:** `cuvs::cluster::kmeans::predict`
499499

500500
Predict the closest cluster each sample in X belongs to.
501501

@@ -529,7 +529,7 @@ raft::host_scalar_view<double> inertia);
529529
530530
_Source: `cpp/include/cuvs/cluster/kmeans.hpp:811`_
531531
532-
### cuvs::cluster::kmeans::predict
532+
**Additional overload:** `cuvs::cluster::kmeans::predict`
533533
534534
Predict the closest cluster each sample in X belongs to.
535535
@@ -563,7 +563,7 @@ raft::host_scalar_view<double> inertia);
563563

564564
_Source: `cpp/include/cuvs/cluster/kmeans.hpp:869`_
565565

566-
### cuvs::cluster::kmeans::predict
566+
**Additional overload:** `cuvs::cluster::kmeans::predict`
567567

568568
Predict the closest cluster each sample in X belongs to.
569569

@@ -591,7 +591,7 @@ raft::device_vector_view<uint32_t, int64_t> labels);
591591
592592
_Source: `cpp/include/cuvs/cluster/kmeans.hpp:916`_
593593
594-
### cuvs::cluster::kmeans::predict
594+
**Additional overload:** `cuvs::cluster::kmeans::predict`
595595
596596
Predict the closest cluster each sample in X belongs to.
597597
@@ -619,7 +619,7 @@ raft::device_vector_view<int, int64_t> labels);
619619

620620
_Source: `cpp/include/cuvs/cluster/kmeans.hpp:960`_
621621

622-
### cuvs::cluster::kmeans::predict
622+
**Additional overload:** `cuvs::cluster::kmeans::predict`
623623

624624
Predict the closest cluster each sample in X belongs to.
625625

@@ -647,7 +647,7 @@ raft::device_vector_view<int, int64_t> labels);
647647
648648
_Source: `cpp/include/cuvs/cluster/kmeans.hpp:1004`_
649649
650-
### cuvs::cluster::kmeans::predict
650+
**Additional overload:** `cuvs::cluster::kmeans::predict`
651651
652652
Predict the closest cluster each sample in X belongs to.
653653
@@ -675,7 +675,7 @@ raft::device_vector_view<uint32_t, int64_t> labels);
675675

676676
_Source: `cpp/include/cuvs/cluster/kmeans.hpp:1048`_
677677

678-
### cuvs::cluster::kmeans::predict
678+
**Additional overload:** `cuvs::cluster::kmeans::predict`
679679

680680
Predict the closest cluster each sample in X belongs to.
681681

@@ -703,7 +703,7 @@ raft::device_vector_view<uint32_t, int64_t> labels);
703703
704704
_Source: `cpp/include/cuvs/cluster/kmeans.hpp:1092`_
705705
706-
### cuvs::cluster::kmeans::predict
706+
**Additional overload:** `cuvs::cluster::kmeans::predict`
707707
708708
Predict the closest cluster each sample in X belongs to.
709709
@@ -767,7 +767,7 @@ in the input.
767767
768768
_Source: `cpp/include/cuvs/cluster/kmeans.hpp:1188`_
769769
770-
### cuvs::cluster::kmeans::fit_predict
770+
**Additional overload:** `cuvs::cluster::kmeans::fit_predict`
771771
772772
Compute k-means clustering and predicts cluster index for each sample
773773
@@ -803,7 +803,7 @@ in the input.
803803

804804
_Source: `cpp/include/cuvs/cluster/kmeans.hpp:1243`_
805805

806-
### cuvs::cluster::kmeans::fit_predict
806+
**Additional overload:** `cuvs::cluster::kmeans::fit_predict`
807807

808808
Compute k-means clustering and predicts cluster index for each sample
809809

@@ -839,7 +839,7 @@ in the input.
839839
840840
_Source: `cpp/include/cuvs/cluster/kmeans.hpp:1298`_
841841
842-
### cuvs::cluster::kmeans::fit_predict
842+
**Additional overload:** `cuvs::cluster::kmeans::fit_predict`
843843
844844
Compute k-means clustering and predicts cluster index for each sample
845845
@@ -875,7 +875,7 @@ in the input.
875875

876876
_Source: `cpp/include/cuvs/cluster/kmeans.hpp:1353`_
877877

878-
### cuvs::cluster::kmeans::fit_predict
878+
**Additional overload:** `cuvs::cluster::kmeans::fit_predict`
879879

880880
Compute balanced k-means clustering and predicts cluster index for each sample
881881

@@ -905,7 +905,7 @@ in the input.
905905
906906
_Source: `cpp/include/cuvs/cluster/kmeans.hpp:1400`_
907907
908-
### cuvs::cluster::kmeans::fit_predict
908+
**Additional overload:** `cuvs::cluster::kmeans::fit_predict`
909909
910910
Compute balanced k-means clustering and predicts cluster index for each sample
911911
@@ -963,7 +963,7 @@ raft::device_matrix_view<float, int> X_new);
963963
964964
_Source: `cpp/include/cuvs/cluster/kmeans.hpp:1463`_
965965
966-
### cuvs::cluster::kmeans::transform
966+
**Additional overload:** `cuvs::cluster::kmeans::transform`
967967
968968
Transform X to a cluster-distance space.
969969
@@ -1020,7 +1020,7 @@ std::optional<raft::device_vector_view<const float, int>> sample_weight = std::n
10201020
10211021
_Source: `cpp/include/cuvs/cluster/kmeans.hpp:1503`_
10221022
1023-
### cuvs::cluster::kmeans::cluster_cost
1023+
**Additional overload:** `cuvs::cluster::kmeans::cluster_cost`
10241024
10251025
Compute cluster cost
10261026
@@ -1049,7 +1049,7 @@ std::optional<raft::device_vector_view<const double, int>> sample_weight = std::
10491049

10501050
_Source: `cpp/include/cuvs/cluster/kmeans.hpp:1524`_
10511051

1052-
### cuvs::cluster::kmeans::cluster_cost
1052+
**Additional overload:** `cuvs::cluster::kmeans::cluster_cost`
10531053

10541054
Compute (optionally weighted) cluster cost
10551055

@@ -1078,7 +1078,7 @@ std::optional<raft::device_vector_view<const float, int64_t>> sample_weight = st
10781078
10791079
_Source: `cpp/include/cuvs/cluster/kmeans.hpp:1545`_
10801080
1081-
### cuvs::cluster::kmeans::cluster_cost
1081+
**Additional overload:** `cuvs::cluster::kmeans::cluster_cost`
10821082
10831083
Compute (optionally weighted) cluster cost
10841084

fern/pages/cpp_api/cpp-api-cluster-spectral.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ n_clusters-1)
6363

6464
_Source: `cpp/include/cuvs/cluster/spectral.hpp:84`_
6565

66-
### cuvs::cluster::spectral::fit_predict
66+
**Additional overload:** `cuvs::cluster::spectral::fit_predict`
6767

6868
Perform spectral clustering on a connectivity graph
6969

@@ -91,7 +91,7 @@ n_clusters-1)
9191
9292
_Source: `cpp/include/cuvs/cluster/spectral.hpp:122`_
9393
94-
### cuvs::cluster::spectral::fit_predict
94+
**Additional overload:** `cuvs::cluster::spectral::fit_predict`
9595
9696
Perform spectral clustering on a dense dataset
9797

fern/pages/cpp_api/cpp-api-distance-distance.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Note: Only contiguous row- or column-major layouts supported currently. Usage ex
4343
4444
_Source: `cpp/include/cuvs/distance/distance.hpp:161`_
4545
46-
### kernels::pairwise_distance
46+
**Additional overload:** `kernels::pairwise_distance`
4747
4848
Compute pairwise distances for two matrices
4949
@@ -76,7 +76,7 @@ Note: Only contiguous row- or column-major layouts supported currently. Usage ex
7676

7777
_Source: `cpp/include/cuvs/distance/distance.hpp:205`_
7878

79-
### kernels::pairwise_distance
79+
**Additional overload:** `kernels::pairwise_distance`
8080

8181
Compute pairwise distances for two matrices
8282

@@ -109,7 +109,7 @@ Note: Only contiguous row- or column-major layouts supported currently. Usage ex
109109
110110
_Source: `cpp/include/cuvs/distance/distance.hpp:248`_
111111
112-
### kernels::pairwise_distance
112+
**Additional overload:** `kernels::pairwise_distance`
113113
114114
Compute pairwise distances for two matrices
115115
@@ -142,7 +142,7 @@ Note: Only contiguous row- or column-major layouts supported currently. Usage ex
142142

143143
_Source: `cpp/include/cuvs/distance/distance.hpp:292`_
144144

145-
### kernels::pairwise_distance
145+
**Additional overload:** `kernels::pairwise_distance`
146146

147147
Compute pairwise distances for two matrices
148148

@@ -175,7 +175,7 @@ Note: Only contiguous row- or column-major layouts supported currently. Usage ex
175175
176176
_Source: `cpp/include/cuvs/distance/distance.hpp:335`_
177177
178-
### kernels::pairwise_distance
178+
**Additional overload:** `kernels::pairwise_distance`
179179
180180
Compute pairwise distances for two matrices
181181
@@ -208,7 +208,7 @@ Note: Only contiguous row- or column-major layouts supported currently. Usage ex
208208

209209
_Source: `cpp/include/cuvs/distance/distance.hpp:378`_
210210

211-
### kernels::pairwise_distance
211+
**Additional overload:** `kernels::pairwise_distance`
212212

213213
Compute sparse pairwise distances between x and y, using the provided
214214

@@ -240,7 +240,7 @@ input configuration and distance function.
240240
241241
_Source: `cpp/include/cuvs/distance/distance.hpp:419`_
242242
243-
### kernels::pairwise_distance
243+
**Additional overload:** `kernels::pairwise_distance`
244244
245245
Compute sparse pairwise distances between x and y, using the provided
246246

fern/pages/cpp_api/cpp-api-neighbors-all-neighbors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ training vectors) Usage example: compute core_distances. If core_distances is gi
8282

8383
_Source: `cpp/include/cuvs/neighbors/all_neighbors.hpp:126`_
8484

85-
### cuvs::neighbors::all_neighbors::build
85+
**Additional overload:** `cuvs::neighbors::all_neighbors::build`
8686

8787
Builds an approximate all-neighbors knn graph (find nearest neighbors for all the training
8888

0 commit comments

Comments
 (0)