Performs the NMF V ~ WH using random initial values for W and H.
Namespace:
CenterSpace.NMath.StatsAssembly: NMathStats (in NMathStats.dll) Version: 3.4.0.0
Syntax
| C# |
|---|
public bool Factor( DoubleMatrix v, int k ) |
| Visual Basic (Declaration) |
|---|
Public Function Factor ( _ v As DoubleMatrix, _ k As Integer _ ) As Boolean |
| Visual C++ |
|---|
public: bool Factor( DoubleMatrix^ v, int k ) |
Parameters
- v
- Type: CenterSpace.NMath.Core..::.DoubleMatrix
Matrix to factor.
- k
- Type: System..::.Int32
The rank of the factorization which is the number of columns in H.
Return Value
True if the algorithm converged.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentException | Thrown if k >= the number of columns in V. |