Skip to content

Commit

Permalink
Add integrative_nmf as top-level wrapper for iNMF; reorg nmf and inmf…
Browse files Browse the repository at this point in the history
… models
  • Loading branch information
yihming committed Jun 20, 2021
1 parent 3b58739 commit 6d11406
Show file tree
Hide file tree
Showing 27 changed files with 372 additions and 406 deletions.
26 changes: 13 additions & 13 deletions nmf/__init__.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@

from ._nmf_batch_mu import NMFBatchMU
from ._nmf_batch_hals import NMFBatchHALS
from ._nmf_batch_nnls_bpp import NMFBatchNnlsBpp
from ._nmf_online_mu import NMFOnlineMU
from ._nmf_online_hals import NMFOnlineHALS
from ._nmf_online_nnls_bpp import NMFOnlineNnlsBpp
#from ._nmf_batch_mu import NMFBatchMU
#from ._nmf_batch_hals import NMFBatchHALS
#from ._nmf_batch_nnls_bpp import NMFBatchNnlsBpp
#from ._nmf_online_mu import NMFOnlineMU
#from ._nmf_online_hals import NMFOnlineHALS
#from ._nmf_online_nnls_bpp import NMFOnlineNnlsBpp

from .nmf import run_nmf
from .nmf import run_nmf, integrative_nmf

from ._inmf_batch_mu import INMFBatchMU
from ._inmf_batch_hals import INMFBatchHALS
from ._inmf_batch_nnls_bpp import INMFBatchNnlsBpp
from ._inmf_online_mu import INMFOnlineMU
from ._inmf_online_hals import INMFOnlineHALS
from ._inmf_online_nnls_bpp import INMFOnlineNnlsBpp
#from ._inmf_batch_mu import INMFBatchMU
#from ._inmf_batch_hals import INMFBatchHALS
#from ._inmf_batch_nnls_bpp import INMFBatchNnlsBpp
#from ._inmf_online_mu import INMFOnlineMU
#from ._inmf_online_hals import INMFOnlineHALS
#from ._inmf_online_nnls_bpp import INMFOnlineNnlsBpp

try:
from importlib.metadata import version, PackageNotFoundError
Expand Down
290 changes: 0 additions & 290 deletions nmf/inmf/_inmf_online.py

This file was deleted.

6 changes: 6 additions & 0 deletions nmf/inmf_models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from ._inmf_batch_hals import INMFBatchHALS
from ._inmf_batch_mu import INMFBatchMU
from ._inmf_batch_nnls_bpp import INMFBatchNnlsBpp
from ._inmf_online_hals import INMFOnlineHALS
from ._inmf_online_mu import INMFOnlineMU
from ._inmf_online_nnls_bpp import INMFOnlineNnlsBpp
Loading

0 comments on commit 6d11406

Please sign in to comment.