SURE-tools 2.1.65__tar.gz → 2.1.67__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of SURE-tools might be problematic. Click here for more details.
- {sure_tools-2.1.65 → sure_tools-2.1.67}/PKG-INFO +1 -1
- {sure_tools-2.1.65 → sure_tools-2.1.67}/SURE/PerturbFlow.py +2 -2
- {sure_tools-2.1.65 → sure_tools-2.1.67}/SURE_tools.egg-info/PKG-INFO +1 -1
- {sure_tools-2.1.65 → sure_tools-2.1.67}/setup.py +1 -1
- {sure_tools-2.1.65 → sure_tools-2.1.67}/LICENSE +0 -0
- {sure_tools-2.1.65 → sure_tools-2.1.67}/README.md +0 -0
- {sure_tools-2.1.65 → sure_tools-2.1.67}/SURE/SURE.py +0 -0
- {sure_tools-2.1.65 → sure_tools-2.1.67}/SURE/__init__.py +0 -0
- {sure_tools-2.1.65 → sure_tools-2.1.67}/SURE/assembly/__init__.py +0 -0
- {sure_tools-2.1.65 → sure_tools-2.1.67}/SURE/assembly/assembly.py +0 -0
- {sure_tools-2.1.65 → sure_tools-2.1.67}/SURE/assembly/atlas.py +0 -0
- {sure_tools-2.1.65 → sure_tools-2.1.67}/SURE/atac/__init__.py +0 -0
- {sure_tools-2.1.65 → sure_tools-2.1.67}/SURE/atac/utils.py +0 -0
- {sure_tools-2.1.65 → sure_tools-2.1.67}/SURE/codebook/__init__.py +0 -0
- {sure_tools-2.1.65 → sure_tools-2.1.67}/SURE/codebook/codebook.py +0 -0
- {sure_tools-2.1.65 → sure_tools-2.1.67}/SURE/flow/__init__.py +0 -0
- {sure_tools-2.1.65 → sure_tools-2.1.67}/SURE/flow/flow_stats.py +0 -0
- {sure_tools-2.1.65 → sure_tools-2.1.67}/SURE/flow/plot_quiver.py +0 -0
- {sure_tools-2.1.65 → sure_tools-2.1.67}/SURE/perturb/__init__.py +0 -0
- {sure_tools-2.1.65 → sure_tools-2.1.67}/SURE/perturb/perturb.py +0 -0
- {sure_tools-2.1.65 → sure_tools-2.1.67}/SURE/utils/__init__.py +0 -0
- {sure_tools-2.1.65 → sure_tools-2.1.67}/SURE/utils/custom_mlp.py +0 -0
- {sure_tools-2.1.65 → sure_tools-2.1.67}/SURE/utils/queue.py +0 -0
- {sure_tools-2.1.65 → sure_tools-2.1.67}/SURE/utils/utils.py +0 -0
- {sure_tools-2.1.65 → sure_tools-2.1.67}/SURE_tools.egg-info/SOURCES.txt +0 -0
- {sure_tools-2.1.65 → sure_tools-2.1.67}/SURE_tools.egg-info/dependency_links.txt +0 -0
- {sure_tools-2.1.65 → sure_tools-2.1.67}/SURE_tools.egg-info/entry_points.txt +0 -0
- {sure_tools-2.1.65 → sure_tools-2.1.67}/SURE_tools.egg-info/requires.txt +0 -0
- {sure_tools-2.1.65 → sure_tools-2.1.67}/SURE_tools.egg-info/top_level.txt +0 -0
- {sure_tools-2.1.65 → sure_tools-2.1.67}/setup.cfg +0 -0
|
@@ -891,8 +891,8 @@ class PerturbFlow(nn.Module):
|
|
|
891
891
|
elif self.loss_func == 'multinomial':
|
|
892
892
|
rate = concentrate.exp()
|
|
893
893
|
theta = dist.DirichletMultinomial(total_count=1, concentration=rate).mean
|
|
894
|
-
counts = dist.Multinomial(total_count=int(1e8), probs=theta).mean
|
|
895
|
-
counts =
|
|
894
|
+
#counts = dist.Multinomial(total_count=int(1e8), probs=theta).mean
|
|
895
|
+
counts = theta * library_size
|
|
896
896
|
return counts
|
|
897
897
|
|
|
898
898
|
def _count_sample(self,concentrate):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|