SURE-tools 4.9.2__tar.gz → 4.9.4__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.
Files changed (30) hide show
  1. {sure_tools-4.9.2 → sure_tools-4.9.4}/PKG-INFO +1 -1
  2. {sure_tools-4.9.2 → sure_tools-4.9.4}/SURE/SURE_nsf.py +4 -4
  3. {sure_tools-4.9.2 → sure_tools-4.9.4}/SURE_tools.egg-info/PKG-INFO +1 -1
  4. {sure_tools-4.9.2 → sure_tools-4.9.4}/setup.py +1 -1
  5. {sure_tools-4.9.2 → sure_tools-4.9.4}/LICENSE +0 -0
  6. {sure_tools-4.9.2 → sure_tools-4.9.4}/README.md +0 -0
  7. {sure_tools-4.9.2 → sure_tools-4.9.4}/SURE/SURE.py +0 -0
  8. {sure_tools-4.9.2 → sure_tools-4.9.4}/SURE/SUREMO.py +0 -0
  9. {sure_tools-4.9.2 → sure_tools-4.9.4}/SURE/SURE_nsf_bk.py +0 -0
  10. {sure_tools-4.9.2 → sure_tools-4.9.4}/SURE/SURE_vae.py +0 -0
  11. {sure_tools-4.9.2 → sure_tools-4.9.4}/SURE/SURE_vae2.py +0 -0
  12. {sure_tools-4.9.2 → sure_tools-4.9.4}/SURE/SURE_vae_vanilla.py +0 -0
  13. {sure_tools-4.9.2 → sure_tools-4.9.4}/SURE/SURE_vanilla.py +0 -0
  14. {sure_tools-4.9.2 → sure_tools-4.9.4}/SURE/__init__.py +0 -0
  15. {sure_tools-4.9.2 → sure_tools-4.9.4}/SURE/atac/__init__.py +0 -0
  16. {sure_tools-4.9.2 → sure_tools-4.9.4}/SURE/atac/utils.py +0 -0
  17. {sure_tools-4.9.2 → sure_tools-4.9.4}/SURE/dist/__init__.py +0 -0
  18. {sure_tools-4.9.2 → sure_tools-4.9.4}/SURE/dist/negbinomial.py +0 -0
  19. {sure_tools-4.9.2 → sure_tools-4.9.4}/SURE/graph/__init__.py +0 -0
  20. {sure_tools-4.9.2 → sure_tools-4.9.4}/SURE/graph/graph_utils.py +0 -0
  21. {sure_tools-4.9.2 → sure_tools-4.9.4}/SURE/utils/__init__.py +0 -0
  22. {sure_tools-4.9.2 → sure_tools-4.9.4}/SURE/utils/custom_mlp.py +0 -0
  23. {sure_tools-4.9.2 → sure_tools-4.9.4}/SURE/utils/label.py +0 -0
  24. {sure_tools-4.9.2 → sure_tools-4.9.4}/SURE/utils/queue.py +0 -0
  25. {sure_tools-4.9.2 → sure_tools-4.9.4}/SURE/utils/utils.py +0 -0
  26. {sure_tools-4.9.2 → sure_tools-4.9.4}/SURE_tools.egg-info/SOURCES.txt +0 -0
  27. {sure_tools-4.9.2 → sure_tools-4.9.4}/SURE_tools.egg-info/dependency_links.txt +0 -0
  28. {sure_tools-4.9.2 → sure_tools-4.9.4}/SURE_tools.egg-info/requires.txt +0 -0
  29. {sure_tools-4.9.2 → sure_tools-4.9.4}/SURE_tools.egg-info/top_level.txt +0 -0
  30. {sure_tools-4.9.2 → sure_tools-4.9.4}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: SURE-tools
3
- Version: 4.9.2
3
+ Version: 4.9.4
4
4
  Summary: Succinct Representation of Single Cells
5
5
  Home-page: https://github.com/ZengFLab/SURE
6
6
  Author: Feng Zeng
@@ -81,7 +81,7 @@ def mask_matrix(matrix, mask_ratio=0.3, mask_value=0):
81
81
  return masked_matrix
82
82
 
83
83
 
84
- class SUREVAE(nn.Module):
84
+ class SURENF(nn.Module):
85
85
  """SUccinct REpresentation of single-omics cells
86
86
 
87
87
  Parameters
@@ -722,7 +722,7 @@ class SUREVAE(nn.Module):
722
722
  for Z_batch, _ in dataloader:
723
723
  Z_batch = Z_batch.to(self.get_device())
724
724
 
725
- dzs = self.latent_decoder([Z_batch]).sample((10,)).mean(axis=0)
725
+ dzs = self.latent_decoder(Z_batch).sample((10,)).mean(axis=0)
726
726
 
727
727
  A.append(tensor_to_numpy(dzs))
728
728
  pbar.update(1)
@@ -793,7 +793,7 @@ class SUREVAE(nn.Module):
793
793
  zfs += self.covariate_effects[i](F_batch_i)#.repeat(1,self.latent_dim)
794
794
  shift += covariate_size
795
795
 
796
- zps = self.latent_decoder([z_basal]).sample((10,)).mean(axis=0)
796
+ zps = self.latent_decoder(z_basal).sample((10,)).mean(axis=0)
797
797
  log_mu = self.decoder_log_mu([zps,zfs])
798
798
  if self.loss_func == 'bernoulli':
799
799
  counts = dist.Bernoulli(logits=log_mu).to_event(1).mean
@@ -866,7 +866,7 @@ class SUREVAE(nn.Module):
866
866
  zfs += self.covariate_effects[i](F_batch_i)#.repeat(1,self.latent_dim)
867
867
  shift += covariate_size
868
868
 
869
- zps = self.latent_decoder([z_basal]).sample((10,)).mean(axis=0)
869
+ zps = self.latent_decoder(z_basal).sample((10,)).mean(axis=0)
870
870
  log_mu = self.decoder_log_mu([zps,zfs])
871
871
 
872
872
  A.append(tensor_to_numpy(log_mu))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: SURE-tools
3
- Version: 4.9.2
3
+ Version: 4.9.4
4
4
  Summary: Succinct Representation of Single Cells
5
5
  Home-page: https://github.com/ZengFLab/SURE
6
6
  Author: Feng Zeng
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
5
5
 
6
6
  setup(
7
7
  name='SURE-tools',
8
- version='4.9.2',
8
+ version='4.9.4',
9
9
  description='Succinct Representation of Single Cells',
10
10
  long_description=long_description,
11
11
  long_description_content_type="text/markdown",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes