Skip to content

Commit 9e285e6

Browse files
committed
update docstring
1 parent 0c86857 commit 9e285e6

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

cpp/include/raft/linalg/detail/pca.cuh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ void truncCompExpVars(raft::resources const& handle,
8686
/**
8787
* @brief perform fit operation for the pca. Generates eigenvectors, explained vars, singular vals,
8888
* etc.
89-
* @param[in] handle: cuml handle object
89+
* @param[in] handle: raft::resources
9090
* @param[in] input: the data is fitted to PCA. Size n_rows x n_cols. The size of the data is
9191
* indicated in prms.
9292
* @param[out] components: the principal components of the input data. Size n_cols * n_components.
@@ -158,7 +158,7 @@ void pcaFit(raft::resources const& handle,
158158

159159
/**
160160
* @brief performs transform operation for the pca. Transforms the data to eigenspace.
161-
* @param[in] handle: the internal cuml handle object
161+
* @param[in] handle: raft::resources
162162
* @param[in] input: the data is transformed. Size n_rows x n_components.
163163
* @param[in] components: principal components of the input data. Size n_cols * n_components.
164164
* @param[out] trans_input: the transformed data. Size n_rows * n_components.
@@ -208,7 +208,7 @@ void pcaTransform(raft::resources const& handle,
208208
/**
209209
* @brief performs inverse transform operation for the pca. Transforms the transformed data back to
210210
* original data.
211-
* @param[in] handle: the internal cuml handle object
211+
* @param[in] handle: raft::resources
212212
* @param[in] trans_input: the data is fitted to PCA. Size n_rows x n_components.
213213
* @param[in] components: transpose of the principal components of the input data. Size n_components
214214
* * n_cols.
@@ -259,7 +259,7 @@ void pcaInverseTransform(raft::resources const& handle,
259259
/**
260260
* @brief perform fit and transform operations for the pca. Generates transformed data,
261261
* eigenvectors, explained vars, singular vals, etc.
262-
* @param[in] handle: cuml handle object
262+
* @param[in] handle: raft::resources
263263
* @param[in] input: the data is fitted to PCA. Size n_rows x n_cols. The size of the data is
264264
* indicated in prms.
265265
* @param[out] trans_input: the transformed data. Size n_rows * n_components.

cpp/include/raft/linalg/detail/tsvd.cuh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ void calEig(raft::resources const& handle,
135135
/**
136136
* @defgroup sign flip for PCA and tSVD. This is used to stabilize the sign of column major eigen
137137
* vectors
138-
* @param handle: resource handle
138+
* @param handle: raft::resources
139139
* @param components: components matrix, used to determine the sign of max absolute value
140140
* @param input: input data
141141
* @param n_rows: number of rows of components matrix
@@ -290,7 +290,7 @@ void signFlip(math_t* input,
290290
/**
291291
* @brief perform fit operation for the tsvd. Generates eigenvectors, explained vars, singular vals,
292292
* etc.
293-
* @param[in] handle: the internal cuml handle object
293+
* @param[in] handle: raft::resources
294294
* @param[in] input: the data is fitted to PCA. Size n_rows x n_cols. The size of the data is
295295
* indicated in prms.
296296
* @param[out] components: the principal components of the input data. Size n_cols * n_components.
@@ -371,7 +371,7 @@ void tsvdFit(raft::resources const& handle,
371371

372372
/**
373373
* @brief performs transform operation for the tsvd. Transforms the data to eigenspace.
374-
* @param[in] handle the internal cuml handle object
374+
* @param[in] handle raft::resources
375375
* @param[in] input: the data is transformed. Size n_rows x n_components.
376376
* @param[in] components: principal components of the input data. Size n_cols * n_components.
377377
* @param[out] trans_input: output that is transformed version of input
@@ -411,7 +411,7 @@ void tsvdTransform(raft::resources const& handle,
411411
/**
412412
* @brief performs inverse transform operation for the tsvd. Transforms the transformed data back to
413413
* original data.
414-
* @param[in] handle the internal cuml handle object
414+
* @param[in] handle raft::resources
415415
* @param[in] trans_input: the data is fitted to PCA. Size n_rows x n_components.
416416
* @param[in] components: transpose of the principal components of the input data. Size n_components
417417
* * n_cols.
@@ -453,7 +453,7 @@ void tsvdInverseTransform(raft::resources const& handle,
453453
/**
454454
* @brief performs fit and transform operations for the tsvd. Generates transformed data,
455455
* eigenvectors, explained vars, singular vals, etc.
456-
* @param[in] handle: the internal cuml handle object
456+
* @param[in] handle: raft::resources
457457
* @param[in] input: the data is fitted to PCA. Size n_rows x n_cols. The size of the data is
458458
* indicated in prms.
459459
* @param[out] trans_input: the transformed data. Size n_rows * n_components.

0 commit comments

Comments
 (0)