Description Usage Arguments Value References Examples
Fits a grade of membership model using non-negative matrix factorization using L-0 penalization that can handle large scale input data and is fast and scalable. Also allows for unsupervised and semi-supervised set ups for factors/clusters. X=LF
| 1 2 3 | 
| K | the number of clusters to fit. Must be an integer. | 
| knownF | The number of known factors to be used. Default is missing in which case the unsupervised NMF0 method is used. | 
| lambda1 | The tuning parameter for the L-0 penalty on the loading matrix L | 
| lambda2 | The tuning parameter for the L-2 penalty on the loading matrix L | 
| lambda3 | The tuning parameter for the L-2 penalty on the factor matrix F | 
| tol | The relative tolerance which when met calls for stoppage in the optimization run | 
| maxiter | The maximum number of iterations for which to run the iterative updates in nmf0 | 
| verb | If TRUE, prints the progress of the model fit | 
| init_method | The method for initializing the NMF method. Can be one of two values - random and svd. when init_method=random, the initial updates to L and F are decided randomly | 
| hard_keep | The maximum number of clusters that are representative of each sample. | 
| X | The input data matrix with rows being the features and columns the samples. | 
Outputs the best NMF0 fitted model for cluster K that includes the estimated L and F matrices, and the model likelihood.
Hussein Hazimeh and Rahul Mazumder.2018. Fast Best Subset Selection: Coordinate Descent and Local Combinatorial Optimization Algorithms. arXiv preprint arXiv:1803.01454.
| 1 2 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.