Skip to content

Commit

Permalink
use "alphas" instead of "X_pc" in docstring for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
rasbt committed Jun 30, 2018
1 parent 767bcf2 commit 55cc4c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions code/ch05/ch05.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1876,8 +1876,8 @@
"\n",
" Returns\n",
" ------------\n",
" X_pc: {NumPy ndarray}, shape = [n_samples, k_features]\n",
" Projected dataset \n",
" alphas: {NumPy ndarray}, shape = [n_samples, k_features]\n",
" Projected dataset \n",
" \n",
" lambdas: list\n",
" Eigenvalues\n",
Expand Down Expand Up @@ -2149,7 +2149,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.4"
"version": "3.6.5"
},
"toc": {
"nav_menu": {},
Expand Down
2 changes: 1 addition & 1 deletion code/ch05/ch05.py
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ def rbf_kernel_pca(X, gamma, n_components):
Returns
------------
X_pc: {NumPy ndarray}, shape = [n_samples, k_features]
alphas: {NumPy ndarray}, shape = [n_samples, k_features]
Projected dataset
lambdas: list
Expand Down

0 comments on commit 55cc4c8

Please sign in to comment.