Provides actions for performing nonnegative matrix factorization
Performs factorization of a nonnegative data matrix as the product of two low-rank nonnegative matrices.
If a row includes a subparameter, you can specify the name, caslib, and so on in the subparameter. Otherwise, you can specify the name, caslib, and so on in the parameter.
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametertable |
— |
specifies the settings for an input table. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
— |
specifies the settings for low-rank matrix completion. |
|
|
required parametercasOut |
specifies the output table to be created to contain observationwise statistics. If you do not specify any statistics, then only the factor matrix W is included. |
|
|
required parametercasOut |
specifies the output table to be created to contain the factor matrix H. |
|
|
names |
lists the names of results tables to save as CAS tables on the server. |
changes the attributes of variables used in this action. Currently, attributes specified on the inputs and nominals parameter are ignored.
For more information about specifying the attributes parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Aliases | attribute |
|---|---|
| attr |
specifies a list of results tables to send to the client for display.
For more information about specifying the display parameter, see the common displayTables parameter (Appendix A: Common Parameters).
suppresses analysis if the number of BY groups exceeds the specified value.
| Minimum value | 1 |
|---|
specifies the settings for low-rank matrix completion.
| NONE | suppresses creation of the output table that contains imputation results. |
|---|
The outputX value can be one or more of the following:
copies one or more variables from the input table to the output table.
| Alias | copyVar |
|---|
when set to True, keeps only the rows that contain the imputed values in the output table.
| Default | FALSE |
|---|
specifies the output table to be created to contain the input data matrix, with missing values replaced by the imputed values.
For more information about specifying the output parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
| Alias | outputX |
|---|
when set to True, sets the observed values to missing values in the output table.
| Default | FALSE |
|---|
specifies the numeric variables to be analyzed. If you omit this parameter, all numeric variables that are not specified in other parameters are analyzed.
For more information about specifying the inputs parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Aliases | input |
|---|---|
| vars | |
| var |
when set to True, generates the "Iteration Details" table, which displays the matrix factorization accuracy for each iteration.
| Alias | iterDetail |
|---|---|
| Default | FALSE |
specifies the settings for the matrix factorization method.
| Long form | method={name="APG" | "RANDOM"} |
|---|---|
| Shortcut form | method="APG" | "RANDOM" |
The nmf_method value can be one or more of the following:
specifies the coefficient that is used to control the extrapolation weight.
| Default | 0.9999 |
|---|---|
| Range | (0, 1) |
specifies the maximum number of iterations to perform.
| Default | 500 |
|---|---|
| Range | 1–MACINT |
specifies the size of oversampling. The parameter is used only when random projections is chosen as the matrix factorization method (that is, method='RANDOM').
| Alias | oversamp |
|---|---|
| Default | 10 |
| Minimum value | 0 |
specifies the number of subspace iterations. The parameter is used only when random projections is chosen as the matrix factorization method (that is, method='RANDOM').
| Default | 4 |
|---|---|
| Minimum value | 0 |
specifies the tolerance at which the iteration stops.
| Alias | tol |
|---|---|
| Default | 1E-07 |
| Range | 0–1 |
specifies the number of updates to the W and H matrices at each iteration. If you specify the "impute" parameter, the default value is 1.
| Default | 10 |
|---|---|
| Range | 1–MACINT |
when set to True, suppresses scaling of the numeric variables to be analyzed to between 0 and 1.
| Default | FALSE |
|---|
specifies the output table to be created to contain observationwise statistics. If you do not specify any statistics, then only the factor matrix W is included.
| Alias | outputW |
|---|
The nmf_outputW value can be one or more of the following:
specifies the output table.
For more information about specifying the casOut parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
specifies the source values for each column in the factor matrix W. If the value is an empty string, the string that is specified in the prefix parameter is used to name the output variables.
| Alias | comp |
|---|
copies one or more variables from the input table to the output table.
| Alias | copyVar |
|---|
specifies the output table to be created to contain the factor matrix H.
specifies the output table.
For more information about specifying the casOut parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
lists the names of results tables to save as CAS tables on the server.
For more information about specifying the outputTables parameter, see the common outputTables parameter (Appendix A: Common Parameters).
| Alias | displayOut |
|---|
specifies a prefix for naming the columns in the factor matrix W.
| Default | "Comp" |
|---|
specifies the target rank of the low-dimensional factor matrices to be computed.
| Alias | r |
|---|---|
| Range | 1–MACINT |
specifies the settings for regularization.
| Aliases | reg |
|---|---|
| penalty |
| Long form | regularization={name="L1" | "L2"} |
|---|---|
| Shortcut form | regularization="L1" | "L2" |
The nmf_reg value can be one or more of the following:
specifies the regularization weight of the factor matrix W.
| Default | 1 |
|---|---|
| Minimum value | 0 |
specifies the regularization weight of the factor matrix H.
| Default | 1 |
|---|---|
| Minimum value | 0 |
when set to True, uses the L-curve approach to perform L2-norm regularization.
| Default | FALSE |
|---|
specifies the seed value for pseudorandom number generation.
| Default | 0 |
|---|
specifies the settings for an input table.
For more information about specifying the table parameter, see the common castable (Form 1) parameter (Appendix A: Common Parameters).
Performs factorization of a nonnegative data matrix as the product of two low-rank nonnegative matrices.
If a row includes a subparameter, you can specify the name, caslib, and so on in the subparameter. Otherwise, you can specify the name, caslib, and so on in the parameter.
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametertable |
— |
specifies the settings for an input table. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
— |
specifies the settings for low-rank matrix completion. |
|
|
required parametercasOut |
specifies the output table to be created to contain observationwise statistics. If you do not specify any statistics, then only the factor matrix W is included. |
|
|
required parametercasOut |
specifies the output table to be created to contain the factor matrix H. |
|
|
names |
lists the names of results tables to save as CAS tables on the server. |
changes the attributes of variables used in this action. Currently, attributes specified on the inputs and nominals parameter are ignored.
For more information about specifying the attributes parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Aliases | attribute |
|---|---|
| attr |
specifies a list of results tables to send to the client for display.
For more information about specifying the display parameter, see the common displayTables parameter (Appendix A: Common Parameters).
suppresses analysis if the number of BY groups exceeds the specified value.
| Minimum value | 1 |
|---|
specifies the settings for low-rank matrix completion.
| NONE | suppresses creation of the output table that contains imputation results. |
|---|
The outputX value can be one or more of the following:
copies one or more variables from the input table to the output table.
| Alias | copyVar |
|---|
when set to True, keeps only the rows that contain the imputed values in the output table.
| Default | false |
|---|
specifies the output table to be created to contain the input data matrix, with missing values replaced by the imputed values.
For more information about specifying the output parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
| Alias | outputX |
|---|
when set to True, sets the observed values to missing values in the output table.
| Default | false |
|---|
specifies the numeric variables to be analyzed. If you omit this parameter, all numeric variables that are not specified in other parameters are analyzed.
For more information about specifying the inputs parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Aliases | input |
|---|---|
| vars | |
| var |
when set to True, generates the "Iteration Details" table, which displays the matrix factorization accuracy for each iteration.
| Alias | iterDetail |
|---|---|
| Default | false |
specifies the settings for the matrix factorization method.
| Long form | method={name="APG" | "RANDOM"} |
|---|---|
| Shortcut form | method="APG" | "RANDOM" |
The nmf_method value can be one or more of the following:
specifies the coefficient that is used to control the extrapolation weight.
| Default | 0.9999 |
|---|---|
| Range | (0, 1) |
specifies the maximum number of iterations to perform.
| Default | 500 |
|---|---|
| Range | 1–MACINT |
specifies the size of oversampling. The parameter is used only when random projections is chosen as the matrix factorization method (that is, method='RANDOM').
| Alias | oversamp |
|---|---|
| Default | 10 |
| Minimum value | 0 |
specifies the number of subspace iterations. The parameter is used only when random projections is chosen as the matrix factorization method (that is, method='RANDOM').
| Default | 4 |
|---|---|
| Minimum value | 0 |
specifies the tolerance at which the iteration stops.
| Alias | tol |
|---|---|
| Default | 1E-07 |
| Range | 0–1 |
specifies the number of updates to the W and H matrices at each iteration. If you specify the "impute" parameter, the default value is 1.
| Default | 10 |
|---|---|
| Range | 1–MACINT |
when set to True, suppresses scaling of the numeric variables to be analyzed to between 0 and 1.
| Default | false |
|---|
specifies the output table to be created to contain observationwise statistics. If you do not specify any statistics, then only the factor matrix W is included.
| Alias | outputW |
|---|
The nmf_outputW value can be one or more of the following:
specifies the output table.
For more information about specifying the casOut parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
specifies the source values for each column in the factor matrix W. If the value is an empty string, the string that is specified in the prefix parameter is used to name the output variables.
| Alias | comp |
|---|
copies one or more variables from the input table to the output table.
| Alias | copyVar |
|---|
specifies the output table to be created to contain the factor matrix H.
specifies the output table.
For more information about specifying the casOut parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
lists the names of results tables to save as CAS tables on the server.
For more information about specifying the outputTables parameter, see the common outputTables parameter (Appendix A: Common Parameters).
| Alias | displayOut |
|---|
specifies a prefix for naming the columns in the factor matrix W.
| Default | "Comp" |
|---|
specifies the target rank of the low-dimensional factor matrices to be computed.
| Alias | r |
|---|---|
| Range | 1–MACINT |
specifies the settings for regularization.
| Aliases | reg |
|---|---|
| penalty |
| Long form | regularization={name="L1" | "L2"} |
|---|---|
| Shortcut form | regularization="L1" | "L2" |
The nmf_reg value can be one or more of the following:
specifies the regularization weight of the factor matrix W.
| Default | 1 |
|---|---|
| Minimum value | 0 |
specifies the regularization weight of the factor matrix H.
| Default | 1 |
|---|---|
| Minimum value | 0 |
when set to True, uses the L-curve approach to perform L2-norm regularization.
| Default | false |
|---|
specifies the seed value for pseudorandom number generation.
| Default | 0 |
|---|
specifies the settings for an input table.
For more information about specifying the table parameter, see the common castable (Form 1) parameter (Appendix A: Common Parameters).
Performs factorization of a nonnegative data matrix as the product of two low-rank nonnegative matrices.
If a row includes a subparameter, you can specify the name, caslib, and so on in the subparameter. Otherwise, you can specify the name, caslib, and so on in the parameter.
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametertable |
— |
specifies the settings for an input table. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
— |
specifies the settings for low-rank matrix completion. |
|
|
required parametercasOut |
specifies the output table to be created to contain observationwise statistics. If you do not specify any statistics, then only the factor matrix W is included. |
|
|
required parametercasOut |
specifies the output table to be created to contain the factor matrix H. |
|
|
names |
lists the names of results tables to save as CAS tables on the server. |
changes the attributes of variables used in this action. Currently, attributes specified on the inputs and nominals parameter are ignored.
For more information about specifying the attributes parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Aliases | attribute |
|---|---|
| attr |
specifies a list of results tables to send to the client for display.
For more information about specifying the display parameter, see the common displayTables parameter (Appendix A: Common Parameters).
suppresses analysis if the number of BY groups exceeds the specified value.
| Minimum value | 1 |
|---|
specifies the settings for low-rank matrix completion.
| NONE | suppresses creation of the output table that contains imputation results. |
|---|
The outputX value can be one or more of the following:
copies one or more variables from the input table to the output table.
| Alias | copyVar |
|---|
when set to True, keeps only the rows that contain the imputed values in the output table.
| Default | False |
|---|
specifies the output table to be created to contain the input data matrix, with missing values replaced by the imputed values.
For more information about specifying the output parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
| Alias | outputX |
|---|
when set to True, sets the observed values to missing values in the output table.
| Default | False |
|---|
specifies the numeric variables to be analyzed. If you omit this parameter, all numeric variables that are not specified in other parameters are analyzed.
For more information about specifying the inputs parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Aliases | input |
|---|---|
| vars | |
| var |
when set to True, generates the "Iteration Details" table, which displays the matrix factorization accuracy for each iteration.
| Alias | iterDetail |
|---|---|
| Default | False |
specifies the settings for the matrix factorization method.
| Long form | method={"name":"APG" | "RANDOM"} |
|---|---|
| Shortcut form | method="APG" | "RANDOM" |
The nmf_method value can be one or more of the following:
specifies the coefficient that is used to control the extrapolation weight.
| Default | 0.9999 |
|---|---|
| Range | (0, 1) |
specifies the maximum number of iterations to perform.
| Default | 500 |
|---|---|
| Range | 1–MACINT |
specifies the size of oversampling. The parameter is used only when random projections is chosen as the matrix factorization method (that is, method='RANDOM').
| Alias | oversamp |
|---|---|
| Default | 10 |
| Minimum value | 0 |
specifies the number of subspace iterations. The parameter is used only when random projections is chosen as the matrix factorization method (that is, method='RANDOM').
| Default | 4 |
|---|---|
| Minimum value | 0 |
specifies the tolerance at which the iteration stops.
| Alias | tol |
|---|---|
| Default | 1E-07 |
| Range | 0–1 |
specifies the number of updates to the W and H matrices at each iteration. If you specify the "impute" parameter, the default value is 1.
| Default | 10 |
|---|---|
| Range | 1–MACINT |
when set to True, suppresses scaling of the numeric variables to be analyzed to between 0 and 1.
| Default | False |
|---|
specifies the output table to be created to contain observationwise statistics. If you do not specify any statistics, then only the factor matrix W is included.
| Alias | outputW |
|---|
The nmf_outputW value can be one or more of the following:
specifies the output table.
For more information about specifying the casOut parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
specifies the source values for each column in the factor matrix W. If the value is an empty string, the string that is specified in the prefix parameter is used to name the output variables.
| Alias | comp |
|---|
copies one or more variables from the input table to the output table.
| Alias | copyVar |
|---|
specifies the output table to be created to contain the factor matrix H.
specifies the output table.
For more information about specifying the casOut parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
lists the names of results tables to save as CAS tables on the server.
For more information about specifying the outputTables parameter, see the common outputTables parameter (Appendix A: Common Parameters).
| Alias | displayOut |
|---|
specifies a prefix for naming the columns in the factor matrix W.
| Default | "Comp" |
|---|
specifies the target rank of the low-dimensional factor matrices to be computed.
| Alias | r |
|---|---|
| Range | 1–MACINT |
specifies the settings for regularization.
| Aliases | reg |
|---|---|
| penalty |
| Long form | regularization={"name":"L1" | "L2"} |
|---|---|
| Shortcut form | regularization="L1" | "L2" |
The nmf_reg value can be one or more of the following:
specifies the regularization weight of the factor matrix W.
| Default | 1 |
|---|---|
| Minimum value | 0 |
specifies the regularization weight of the factor matrix H.
| Default | 1 |
|---|---|
| Minimum value | 0 |
when set to True, uses the L-curve approach to perform L2-norm regularization.
| Default | False |
|---|
specifies the seed value for pseudorandom number generation.
| Default | 0 |
|---|
specifies the settings for an input table.
For more information about specifying the table parameter, see the common castable (Form 1) parameter (Appendix A: Common Parameters).
Performs factorization of a nonnegative data matrix as the product of two low-rank nonnegative matrices.
If a row includes a subparameter, you can specify the name, caslib, and so on in the subparameter. Otherwise, you can specify the name, caslib, and so on in the parameter.
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametertable |
— |
specifies the settings for an input table. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
— |
specifies the settings for low-rank matrix completion. |
|
|
required parametercasOut |
specifies the output table to be created to contain observationwise statistics. If you do not specify any statistics, then only the factor matrix W is included. |
|
|
required parametercasOut |
specifies the output table to be created to contain the factor matrix H. |
|
|
names |
lists the names of results tables to save as CAS tables on the server. |
changes the attributes of variables used in this action. Currently, attributes specified on the inputs and nominals parameter are ignored.
For more information about specifying the attributes parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Aliases | attribute |
|---|---|
| attr |
specifies a list of results tables to send to the client for display.
For more information about specifying the display parameter, see the common displayTables parameter (Appendix A: Common Parameters).
suppresses analysis if the number of BY groups exceeds the specified value.
| Minimum value | 1 |
|---|
specifies the settings for low-rank matrix completion.
| NONE | suppresses creation of the output table that contains imputation results. |
|---|
The outputX value can be one or more of the following:
copies one or more variables from the input table to the output table.
| Alias | copyVar |
|---|
when set to True, keeps only the rows that contain the imputed values in the output table.
| Default | FALSE |
|---|
specifies the output table to be created to contain the input data matrix, with missing values replaced by the imputed values.
For more information about specifying the output parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
| Alias | outputX |
|---|
when set to True, sets the observed values to missing values in the output table.
| Default | FALSE |
|---|
specifies the numeric variables to be analyzed. If you omit this parameter, all numeric variables that are not specified in other parameters are analyzed.
For more information about specifying the inputs parameter, see the common casinvardesc parameter (Appendix A: Common Parameters).
| Aliases | input |
|---|---|
| vars | |
| var |
when set to True, generates the "Iteration Details" table, which displays the matrix factorization accuracy for each iteration.
| Alias | iterDetail |
|---|---|
| Default | FALSE |
specifies the settings for the matrix factorization method.
| Long form | method=list(name="APG" | "RANDOM") |
|---|---|
| Shortcut form | method="APG" | "RANDOM" |
The nmf_method value can be one or more of the following:
specifies the coefficient that is used to control the extrapolation weight.
| Default | 0.9999 |
|---|---|
| Range | (0, 1) |
specifies the maximum number of iterations to perform.
| Default | 500 |
|---|---|
| Range | 1–MACINT |
specifies the size of oversampling. The parameter is used only when random projections is chosen as the matrix factorization method (that is, method='RANDOM').
| Alias | oversamp |
|---|---|
| Default | 10 |
| Minimum value | 0 |
specifies the number of subspace iterations. The parameter is used only when random projections is chosen as the matrix factorization method (that is, method='RANDOM').
| Default | 4 |
|---|---|
| Minimum value | 0 |
specifies the tolerance at which the iteration stops.
| Alias | tol |
|---|---|
| Default | 1E-07 |
| Range | 0–1 |
specifies the number of updates to the W and H matrices at each iteration. If you specify the "impute" parameter, the default value is 1.
| Default | 10 |
|---|---|
| Range | 1–MACINT |
when set to True, suppresses scaling of the numeric variables to be analyzed to between 0 and 1.
| Default | FALSE |
|---|
specifies the output table to be created to contain observationwise statistics. If you do not specify any statistics, then only the factor matrix W is included.
| Alias | outputW |
|---|
The nmf_outputW value can be one or more of the following:
specifies the output table.
For more information about specifying the casOut parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
specifies the source values for each column in the factor matrix W. If the value is an empty string, the string that is specified in the prefix parameter is used to name the output variables.
| Alias | comp |
|---|
copies one or more variables from the input table to the output table.
| Alias | copyVar |
|---|
specifies the output table to be created to contain the factor matrix H.
specifies the output table.
For more information about specifying the casOut parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
lists the names of results tables to save as CAS tables on the server.
For more information about specifying the outputTables parameter, see the common outputTables parameter (Appendix A: Common Parameters).
| Alias | displayOut |
|---|
specifies a prefix for naming the columns in the factor matrix W.
| Default | "Comp" |
|---|
specifies the target rank of the low-dimensional factor matrices to be computed.
| Alias | r |
|---|---|
| Range | 1–MACINT |
specifies the settings for regularization.
| Aliases | reg |
|---|---|
| penalty |
| Long form | regularization=list(name="L1" | "L2") |
|---|---|
| Shortcut form | regularization="L1" | "L2" |
The nmf_reg value can be one or more of the following:
specifies the regularization weight of the factor matrix W.
| Default | 1 |
|---|---|
| Minimum value | 0 |
specifies the regularization weight of the factor matrix H.
| Default | 1 |
|---|---|
| Minimum value | 0 |
when set to True, uses the L-curve approach to perform L2-norm regularization.
| Default | FALSE |
|---|
specifies the seed value for pseudorandom number generation.
| Default | 0 |
|---|
specifies the settings for an input table.
For more information about specifying the table parameter, see the common castable (Form 1) parameter (Appendix A: Common Parameters).