Skip to content

pastis-mds function error #120

@304243504

Description

@304243504

When I run pastis-mds, the following error message appears, but pastis-pm2 generates normal results (no error messages):

##############################################################################################################################################################################################

~/.local/lib/python3.6/site-packages/pastis/externals/iced/normalization/_ca_utils.py:9: UserWarning: The API of this module is likely to change. Use only for testing purposes
"The API of this module is likely to change. "
~/.local/lib/python3.6/site-packages/iced/normalization/_ca_utils.py:9: UserWarning: The API of this module is likely to change. Use only for testing purposes
"The API of this module is likely to change. "
~/.local/lib/python3.6/site-packages/pastis/fastio.py:8: UserWarning: The module pastis.fastio is deprecated. The packaged iced has identical features and should be used instead. This module will be removed in version 0.5
"The module pastis.fastio is deprecated. The packaged iced has identical "
~/.local/lib/python3.6/site-packages/iced/io/_io_pandas.py:57: UserWarning: Attempting to guess whether counts are 0 or 1 based
"Attempting to guess whether counts are 0 or 1 based")
~/.local/lib/python3.6/site-packages/pastis/optimization/mds.py:62: RuntimeWarning: divide by zero encountered in true_divide
distances.data**2)[:, np.newaxis] * (
~/.local/lib/python3.6/site-packages/pastis/optimization/mds.py:63: RuntimeWarning: invalid value encountered in multiply
X[distances.row] - X[distances.col])
This problem is unconstrained.

       * * *

Machine precision = 2.220D-16
N = 11892 M = 10
This problem is unconstrained.

At X0 0 variables are exactly at the bounds

At iterate 0 f= 1.39503D+08 |proj g|= NaN

       * * *

Tit = total number of iterations
Tnf = total number of function evaluations
Tnint = total number of segments explored during Cauchy searches
Skip = number of BFGS updates skipped
Nact = number of active bounds at final generalized Cauchy point
Projg = norm of the final projected gradient
F = final function value

       * * *

N Tit Tnf Tnint Skip Nact Projg F
11892 1 21 1 0 0 NaN 1.395D+08
F = 139502621.56739527

ABNORMAL_TERMINATION_IN_LNSRCH
Line search cannot locate an adequate point after 20 function and gradient evaluations. Previous x, f and g restored. Possible causes:
1 error in function or gradient evaluation;
2 rounding error dominate computation.

##############################################################################################################################################################################################

What is the cause of this problem?
How can I solve it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions