| NMFClusteringAlgFactor(DoubleMatrix, Int32, DoubleMatrix, DoubleMatrix) Method |
Performs the NMF V ~ WH using the specified initial values for W and H.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public bool Factor(
DoubleMatrix v,
int k,
DoubleMatrix w,
DoubleMatrix h
)
Public Function Factor (
v As DoubleMatrix,
k As Integer,
w As DoubleMatrix,
h As DoubleMatrix
) As Boolean
public:
bool Factor(
DoubleMatrix^ v,
int k,
DoubleMatrix^ w,
DoubleMatrix^ h
)
member Factor :
v : DoubleMatrix *
k : int *
w : DoubleMatrix *
h : DoubleMatrix -> bool
Parameters
- v DoubleMatrix
- Matrix to factor.
- k Int32
- The rank of the factorization which is the number of
columns in H.
- w DoubleMatrix
- Initial value for W.
- h DoubleMatrix
- Initial value for H.
Return Value
BooleanTrue if the algorithm converged.
Exceptions Exception | Condition |
---|
ArgumentException | Thrown if k >= the number of columns
in V, or if V, W, and H do not have compatible sizes. |
See Also