Code Monkey home page Code Monkey logo

epsie's People

Contributors

cdcapano avatar richard-sti avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

epsie's Issues

test/_utils.py missing from source distribution

The test/ directory is included in the source distribution (tarball) for 1.0.0, but the single file test/_utils.py is missing, can this be added to MANIFEST.in so that the full test suite can be executed from the tarball?

Eigenvector proposal yields 0 eigenvalues.

The *Eigenvector proposals sometimes get 0 eigenvalues when run on the test model. This shouldn't happen since the test model is a 2D Gaussian. Example setup that can reproduce:

  • use the default Model (with the default seed in this PR)
  • set:
STABILITY_DURATION = 64
ADAPTATION_DURATION = 16
SWAP_INTERVAL = 1
NCHAINS = 4
NTEMPS = 3
ITERINT = 32
  • Initialize the PTSampler, with the above settings, and:
nprocs = 1
seed = 266898112101595934258451730772524202746
  • Run the sampler for sampler.run(STABILITY_DURATION). Chain 1, coldest temperature, will then have a covariance matrix of:
array([[0.17048876, 0.52049453],
       [0.52049453, 1.58904647]])

That yields an eigenvalue that is 0.

The issue appears to be that the initial covariance used for the eigenvalues is based on just 5 points. If only two unique points exist, then the estimated covariance will yield only one unique eigenvalue. See the Eigenvector._stability_update.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.