| NMFactFactor(DataFrame, Int32, DoubleMatrix, DoubleMatrix) Method |
Factors the matrix contained in data into the product WH using an
iterative method. The provided W and H are used as starting
points for the iteration.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public virtual void Factor(
DataFrame data,
int k,
DoubleMatrix W,
DoubleMatrix H
)
Public Overridable Sub Factor (
data As DataFrame,
k As Integer,
W As DoubleMatrix,
H As DoubleMatrix
)
public:
virtual void Factor(
DataFrame^ data,
int k,
DoubleMatrix^ W,
DoubleMatrix^ H
)
abstract Factor :
data : DataFrame *
k : int *
W : DoubleMatrix *
H : DoubleMatrix -> unit
override Factor :
data : DataFrame *
k : int *
W : DoubleMatrix *
H : DoubleMatrix -> unit
Parameters
- data DataFrame
- The matrix to be factored.
- k Int32
- The number of columns in W (and rows in >H).
- W DoubleMatrix
- Initial value for W. If the matrix to factored is
m x n then W must be m x k.
- H DoubleMatrix
- Initial value for H. If the matrix to be factored is
m x n then H must be k x n.
See Also