SURE-tools 2.1.70__py3-none-any.whl → 2.1.71__py3-none-any.whl

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/PerturbFlow.py CHANGED
@@ -877,11 +877,12 @@ class PerturbFlow(nn.Module):
877
877
  #counts = self.sigmoid(concentrate)
878
878
  counts = dist.Bernoulli(logits=concentrate).to_event(1).mean
879
879
  elif self.loss_func == 'negbinomial':
880
- counts = concentrate.exp()
881
880
  rate = concentrate.exp()
882
881
  theta = dist.DirichletMultinomial(total_count=1, concentration=rate).mean
883
882
 
884
- total_count = pyro.param("inverse_dispersion")
883
+ #total_count = pyro.param("inverse_dispersion")
884
+ store = pyro.get_param_store()
885
+ total_count = store['inverse_dispersion']
885
886
  counts = dist.NegativeBinomial(total_count=total_count, probs=theta).to_event(1).mean
886
887
  elif self.loss_func == 'poisson':
887
888
  rate = concentrate.exp()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: SURE-tools
3
- Version: 2.1.70
3
+ Version: 2.1.71
4
4
  Summary: Succinct Representation of Single Cells
5
5
  Home-page: https://github.com/ZengFLab/SURE
6
6
  Author: Feng Zeng
@@ -1,4 +1,4 @@
1
- SURE/PerturbFlow.py,sha256=ZK7jtZ9lph5xDbG4e0h9H3w2SrpWcXBEkl5GuhBq8C0,54285
1
+ SURE/PerturbFlow.py,sha256=tEEry7hMnbASOiWWP7Q4mvqJ-hC8jg9gp5jkgyU2aAI,54344
2
2
  SURE/SURE.py,sha256=ko15a9BhvUqHviogZ0YCdTQjM-2zqkO9OvHZSpnGbg0,47458
3
3
  SURE/__init__.py,sha256=NOJI_K-eCqPgStXXvgl3wIEMp6d8saMTDYLJ7Ga9MqE,293
4
4
  SURE/assembly/__init__.py,sha256=jxZLURXKPzXe21LhrZ09LgZr33iqdjlQy4oSEj5gR2Q,172
@@ -17,9 +17,9 @@ SURE/utils/__init__.py,sha256=YF5jB-PAHJQ40OlcZ7BCZbsN2q1JKuPT6EppilRXQqM,680
17
17
  SURE/utils/custom_mlp.py,sha256=C0EXLGYsWkUQpEL49AyBFPSzKmasb2hdvtnJfxbF-YU,9282
18
18
  SURE/utils/queue.py,sha256=E_5PA5EWcBoGAZj8BkKQnkCK0p4C-4-xcTPqdIXaPXU,1892
19
19
  SURE/utils/utils.py,sha256=IUHjDDtYaAYllCWsZyIzqQwaLul6fJRvHRH4vIYcR-c,8462
20
- sure_tools-2.1.70.dist-info/licenses/LICENSE,sha256=TFHKwmrAViXQbSX5W-NDItkWFjm45HWOeUniDrqmnu0,1065
21
- sure_tools-2.1.70.dist-info/METADATA,sha256=3NGlfcfI8WPI91MuJ7mGDVwibv8wrxC06AbCfGz9F94,2678
22
- sure_tools-2.1.70.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
23
- sure_tools-2.1.70.dist-info/entry_points.txt,sha256=-nJI8rVe_qqrR0HmfAODzj-JNfEqCcSsyVh6okSqyHk,83
24
- sure_tools-2.1.70.dist-info/top_level.txt,sha256=BtFTebdiJeqra4r6mm-uEtwVRFLZ_IjYsQ7OnalrOvY,5
25
- sure_tools-2.1.70.dist-info/RECORD,,
20
+ sure_tools-2.1.71.dist-info/licenses/LICENSE,sha256=TFHKwmrAViXQbSX5W-NDItkWFjm45HWOeUniDrqmnu0,1065
21
+ sure_tools-2.1.71.dist-info/METADATA,sha256=6Ca_cRrdlq0EGEtS0ksVsqzg-3bTBbxa4iFUFk08JeA,2678
22
+ sure_tools-2.1.71.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
23
+ sure_tools-2.1.71.dist-info/entry_points.txt,sha256=-nJI8rVe_qqrR0HmfAODzj-JNfEqCcSsyVh6okSqyHk,83
24
+ sure_tools-2.1.71.dist-info/top_level.txt,sha256=BtFTebdiJeqra4r6mm-uEtwVRFLZ_IjYsQ7OnalrOvY,5
25
+ sure_tools-2.1.71.dist-info/RECORD,,