Skip to content

Constant input warning in partial correlation reconstructor #201

@sdmccabe

Description

@sdmccabe

From the tests:

tests/test_reconstruction.py::test_graph_size
tests/test_reconstruction.py::test_partial_correlation
  /home/main/.pyenv/versions/miniconda3-latest/lib/python3.6/site-packages/scipy/stats/stats.py:3399: PearsonRConstantInputWarning: An input array is constant; the correlation coefficent is not defined.
    warnings.warn(PearsonRConstantInputWarning())

Don't recall seeing this before, maybe a new warning in scipy? Plausible that the warning is nothing, but should explore further.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions