예제 #1
0
 def __init__(self, config, X):
     Solver.__init__(self, config, X)
     self.name = 'sparse_hals'
     self.alpha = 10 * config['alpha']
     print('Sparse HALS solver created!')
예제 #2
0
 def __init__(self, config, X):
     Solver.__init__(self, config, X)
     self.name = 'sparse_hoyer'
     self.sparsity = config['sparsity']
     self.mu = config['mu']
     print('SparseHoyer solver created!')
예제 #3
0
파일: mu.py 프로젝트: svandenhaute/nmf
 def __init__(self, config, X):
     Solver.__init__(self, config, X)
     self.name = 'mu'
     print('MU solver created!')
예제 #4
0
 def __init__(self, config, X):
     Solver.__init__(self, config, X)
     self.name = 'sparse_anls_bpp'
     self.alpha = config['alpha'] / 500
     print('SparseANLSBPP solver created!')
예제 #5
0
 def __init__(self, config, X):
     Solver.__init__(self, config, X)
     self.name = 'l0_projection'
     self.l0 = config['project_l0']
     print('SparseL0 solver created!')
     print(self.name)
예제 #6
0
 def __init__(self, config, X):
     Solver.__init__(self, config, X)
     self.name = 'anls_bpp'
     #self.config['iters'] = round(self.config['iters'] / 80000)
     print('ANLSBPP solver created!')