Skip to content

Commit

Permalink
another minor fix in WCCNTrainer documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
khoury committed Jul 12, 2013
1 parent 7125903 commit 082122f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/trainer/python/wccn.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,17 @@ static char CLASS_DOC[] = \
"\n"\
".. math::\n" \
" \n" \
" W = cholesky([(1/N) S_{w} ]^{-1})\n" \
" W = cholesky([(1/K) S_{w} ]^{-1})\n" \
"\n"\
"where:\n"\
"\n" \
":math:`K`\n" \
" \n" \
" the number of classes\n"\
"\n"\
":math:`S_w`\n" \
"\n" \
" the within-class scatter; it also has dimensions (X.shape[0], X.shape[0]) and is defined as :math:`S_w = \\sum_{k=1}^K \\sum_{n \\in C_k} (x_n-m_k)(x_n-m_k)^T`, with K equal to the number of classes and :math:`C_k` a set representing all samples for class k.\n" \
" the within-class scatter; it also has dimensions (X.shape[0], X.shape[0]) and is defined as :math:`S_w = \\sum_{k=1}^K \\sum_{n \\in C_k} (x_n-m_k)(x_n-m_k)^T`, :math:`C_k` a set representing all samples for class k.\n" \
"\n" \
":math:`m_k`\n" \
" \n" \
Expand Down

0 comments on commit 082122f

Please sign in to comment.