Skip to content

Commit

Permalink
Separate prediction functionalities from inference
Browse files Browse the repository at this point in the history
  • Loading branch information
LiQian-XC committed Jul 30, 2023
1 parent d8b9f81 commit ffb3621
Show file tree
Hide file tree
Showing 12 changed files with 966 additions and 792 deletions.
12 changes: 12 additions & 0 deletions docs/source/api_predict.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Prediction
==================================

.. autosummary::
:toctree: generated/
:nosignatures:

sctour.predict.load_model
sctour.predict.predict_time
sctour.predict.predict_latentsp
sctour.predict.predict_vector_field
sctour.predict.predict_ltsp_from_time
4 changes: 4 additions & 0 deletions docs/source/api_reverse_time.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Post-inference adjustment
==================================

.. autofunction:: sctour.train.reverse_time
2 changes: 1 addition & 1 deletion docs/source/api_train.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Model training and prediction
Model training
==================================

.. autosummary::
Expand Down
2 changes: 2 additions & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ Qian Li, scTour: a deep learning architecture for robust inference and accurate
:hidden:

api_train
api_predict
api_vf
api_reverse_time

.. |PyPI| image:: https://img.shields.io/pypi/v/sctour.svg
:target: https://pypi.org/project/sctour
Expand Down
236 changes: 67 additions & 169 deletions docs/source/notebook/scTour_inference_PostInference_adjustment.ipynb

Large diffs are not rendered by default.

296 changes: 117 additions & 179 deletions docs/source/notebook/scTour_inference_basic.ipynb

Large diffs are not rendered by default.

200 changes: 102 additions & 98 deletions docs/source/notebook/scTour_prediction.ipynb

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion sctour/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from . import train
from . import predict
from . import vector_field as vf
__version__ = '0.1.3'
__version__ = '1.0.0'
Loading

0 comments on commit ffb3621

Please sign in to comment.