Skip to content

Commit

Permalink
fix sampling
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiaojieqiu committed Aug 18, 2020
1 parent 2c59591 commit 5dc99e9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions docs/source/API.rst
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ Estimation (est)

.. autosummary::
:toctree: .
:maxdepth: 2
:toctree: .

est.csc.sol_u
est.csc.sol_s
Expand All @@ -104,6 +106,8 @@ Estimation (est)

.. autosummary::
:toctree: .
:maxdepth: 2
:toctree: .

est.tsc.kinetic_estimation
est.tsc.Estimation_MomentDegNosp
Expand Down
6 changes: 4 additions & 2 deletions dynamo/tools/psl_py.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ def psl(
"""This function is a pure Python implementation of the PSL algorithm.
Reference: Li Wang and Qi Mao, Probabilistic Dimensionality Reduction via Structure Learning. T-PAMI, VOL. 41, NO. 1, JANUARY 2019
Arguments
Arguments
---------
Y: 'numpy.ndarray'
data list
Expand All @@ -127,7 +128,8 @@ def psl(
Number of maximum iterations
verbose: 'bool'
Whether to print running information
Returns
Returns
-------
(S,Z): 'tuple'
a tuple of the adjacency matrix and the reduced low dimension embedding.
Expand Down
2 changes: 1 addition & 1 deletion dynamo/vectorfield/topography.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ def find_fixed_points_by_sampling(
self, n, x_range, y_range, lhs=True, tol_redundant=1e-4
):
if lhs:
from .sampling import lhsclassic
from ..tools.sampling import lhsclassic

X0 = lhsclassic(n, 2)
else:
Expand Down

0 comments on commit 5dc99e9

Please sign in to comment.