You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+31-28Lines changed: 31 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,26 +64,31 @@ Here are the new components:
64
64
65
65
## Functions
66
66
67
-
W, H = **gsvdnmf**(X::AbstractMatrix, ncomponents::Pair{Int,Int}; tol_final=1e-4, tol_intermediate=1e-4, kwargs...)
67
+
W, H = **gsvdnmf**(X::AbstractMatrix, ncomponents::Pair{Int,Int};
68
+
tol_final=1e-4,
69
+
tol_intermediate=1e-4,
70
+
kwargs...)
68
71
69
-
This function performs "GSVD-NMF" on 2D data matrix ``X``.
72
+
Perform "GSVD-NMF" on the data matrix `X`.
70
73
71
74
Arguments:
72
75
73
-
``X``: non-nagetive 2D data matrix
76
+
-`X`: non-negative data matrix
74
77
75
-
``ncomponents::Pair{Int,Int}``: in the form of ``n1 => n2``, augments from ``n1`` components to ``n2``components, where ``n1`` is the number of components for initial NMF (under-complete NMF), and ``n2`` is the number of components for final NMF.
78
+
-`ncomponents`: in the form of `n1 => n2`, augments from `n1` components to `n2`components,
79
+
where `n1` is the number of components for initial NMF (under-complete NMF), and `n2` is the number of
80
+
components for final NMF.
76
81
77
-
Alternatively, ``ncomponents`` can be an integer denoting the number of components for final NMF.
78
-
In this case, ``gsvdnmf`` defaults to augment components on initial NMF solution by 1.
82
+
Alternatively, `ncomponents` can be an integer denoting the number of components for final NMF.
83
+
In this case, `gsvdnmf` defaults to augment components on initial NMF solution by 1.
79
84
80
85
Keyword arguments:
81
86
82
-
``tol_final``: The tolerence of final NMF, default:``10^{-4}``
87
+
-`tol_final`: The tolerence of final NMF, default:`10^{-4}`
83
88
84
-
``tol_intermediate``: The tolerence of initial NMF (under-complete NMF), default: $\mathrm{tol\\_final}$
89
+
-`tol_intermediate`: The tolerence of initial NMF (under-complete NMF), default: tol_final
85
90
86
-
Other keyword arguments are passed to ``NMF.nnmf``.
0 commit comments