non_negative_factorization's 'regularize' parameter is lost in the OO interface #12520
Labels
Easy
Well-defined and straightforward way to resolve
Enhancement
good first issue
Easy with clear instructions to resolve
Description
The function 'non_negative_factorization' in decomposition/nmf.py has a nice parameter 'regularization' where the regularization can be specified towards one of the product factors. There is however no way to access this feature when using an NMF object. Could be solved easily by carrying over the parameter to the constructor of the NMF object and creating a field 'self.regularize'.
The text was updated successfully, but these errors were encountered: