You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
model = musical.DenovoSig(X,
... min_n_components=1, # Minimum number of signatures to test
... max_n_components=6, # Maximum number of signatures to test
... init='random', # Initialization method
... method='mvnmf', # mvnmf or nmf
... n_replicates=20, # Number of mvnmf/nmf replicates to run per n_components
... ncpu=38, # Number of CPUs to use
... max_iter=100000, # Maximum number of iterations for each mvnmf/nmf run
... bootstrap=True, # Whether or not to bootstrap X for each run
... tol=1e-8, # Tolerance for claiming convergence of mvnmf/nmf
... verbose=1, # Verbosity of output
... normalize_X=False # Whether or not to L1 normalize each sample in X before mvnmf/nmf
... )
model.fit()
Extracting signatures for n_components = 1..................
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/mnt/beegfs/userdata/id12439/APP/anaconda3/lib/python3.7/multiprocessing/pool.py", line 121, in worker
result = (True, func(*args, **kwds))
File "/mnt/beegfs/userdata/id12439/APP/anaconda3/lib/python3.7/multiprocessing/pool.py", line 44, in mapstar
return list(map(*args))
File "/mnt/beegfs/userdata/id12439/APP/anaconda3/lib/python3.7/site-packages/musical/mvnmf.py", line 406, in _job
model.fit()
File "/mnt/beegfs/userdata/id12439/APP/anaconda3/lib/python3.7/site-packages/musical/mvnmf.py", line 305, in fit
H = nnls(self.X, W)
File "/mnt/beegfs/userdata/id12439/APP/anaconda3/lib/python3.7/site-packages/musical/nnls.py", line 11, in nnls
h, _ = sp.optimize.nnls(W, x)
TypeError: _nnls.nnls() missing required argument 'n' (pos 3)
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "", line 1, in
File "/mnt/beegfs/userdata/id12439/APP/anaconda3/lib/python3.7/site-packages/musical/denovo.py", line 869, in fit
self._run_jobs()
File "/mnt/beegfs/userdata/id12439/APP/anaconda3/lib/python3.7/site-packages/musical/denovo.py", line 750, in _run_jobs
model.fit()
File "/mnt/beegfs/userdata/id12439/APP/anaconda3/lib/python3.7/site-packages/musical/mvnmf.py", line 443, in fit
models = workers.map(self._job, list(self.lambda_tilde_grid))
File "/mnt/beegfs/userdata/id12439/APP/anaconda3/lib/python3.7/multiprocessing/pool.py", line 268, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/mnt/beegfs/userdata/id12439/APP/anaconda3/lib/python3.7/multiprocessing/pool.py", line 657, in get
raise self._value
TypeError: _nnls.nnls() missing required argument 'n' (pos 3)
The text was updated successfully, but these errors were encountered:
Type ...
A[C>A]A 60 49 75 129 54 187 223 278 153 184 387 189 ... 106 279 296 163 265 84 101 41 62 62 12 101
A[C>A]C 45 31 57 49 27 94 165 148 98 78 99 86 ... 84 190 198 86 148 59 68 38 44 56 13 37
A[C>A]G 9 4 9 23 15 40 37 38 31 23 49 22 ... 12 17 29 20 31 9 10 2 9 6 4 11
A[C>A]T 32 26 40 86 45 107 150 132 93 97 163 97 ... 61 156 139 81 140 48 53 33 39 36 12 44
C[C>A]A 823 789 60 120 119 145 168 150 92 170 242 93 ... 314 340 271 557 315 86 166 145 120 112 23 79
[5 rows x 107 columns]
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/mnt/beegfs/userdata/id12439/APP/anaconda3/lib/python3.7/multiprocessing/pool.py", line 121, in worker
result = (True, func(*args, **kwds))
File "/mnt/beegfs/userdata/id12439/APP/anaconda3/lib/python3.7/multiprocessing/pool.py", line 44, in mapstar
return list(map(*args))
File "/mnt/beegfs/userdata/id12439/APP/anaconda3/lib/python3.7/site-packages/musical/mvnmf.py", line 406, in _job
model.fit()
File "/mnt/beegfs/userdata/id12439/APP/anaconda3/lib/python3.7/site-packages/musical/mvnmf.py", line 305, in fit
H = nnls(self.X, W)
File "/mnt/beegfs/userdata/id12439/APP/anaconda3/lib/python3.7/site-packages/musical/nnls.py", line 11, in nnls
h, _ = sp.optimize.nnls(W, x)
TypeError: _nnls.nnls() missing required argument 'n' (pos 3)
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "", line 1, in
File "/mnt/beegfs/userdata/id12439/APP/anaconda3/lib/python3.7/site-packages/musical/denovo.py", line 869, in fit
self._run_jobs()
File "/mnt/beegfs/userdata/id12439/APP/anaconda3/lib/python3.7/site-packages/musical/denovo.py", line 750, in _run_jobs
model.fit()
File "/mnt/beegfs/userdata/id12439/APP/anaconda3/lib/python3.7/site-packages/musical/mvnmf.py", line 443, in fit
models = workers.map(self._job, list(self.lambda_tilde_grid))
File "/mnt/beegfs/userdata/id12439/APP/anaconda3/lib/python3.7/multiprocessing/pool.py", line 268, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/mnt/beegfs/userdata/id12439/APP/anaconda3/lib/python3.7/multiprocessing/pool.py", line 657, in get
raise self._value
TypeError: _nnls.nnls() missing required argument 'n' (pos 3)
The text was updated successfully, but these errors were encountered: