Git Product home page Git Product logo

Comments (2)

meissnereric avatar meissnereric commented on June 27, 2024
============================= test session starts ==============================
platform darwin -- Python 3.4.4, pytest-3.5.1, py-1.6.0, pluggy-0.6.0 -- /Users/travis/.pyenv/versions/3.4.4/bin/python3.4
cachedir: .pytest_cache
rootdir: /Users/travis/build/amzn/MXFusion, inifile: setup.cfg
plugins: cov-2.5.1
collected 100 items
_________________ FactorGraphTests.test_replicate_simple_model _________________
self = <factor_graph_test.FactorGraphTests testMethod=test_replicate_simple_model>
    def test_replicate_simple_model(self):
        m = mf.models.Model(verbose=False)
        m.x = mfc.Variable()
        d = mf.components.distributions.Normal(mean=mx.nd.array([0]), variance=mx.nd.array([1e6]))
        m.x.set_prior(d)
        m2, var_map = m.clone()
        # compare m and m2 components and such for exactness.
        self.assertTrue(all([k.uuid == v.uuid for k, v in var_map.items()]))
        self.assertTrue(all([k.uuid == v.uuid for k, v in
>                       zip(m.components.values(), m2.components.values())]))
E       AssertionError: False is not true
testing/core/factor_graph_test.py:147: AssertionError

from mxfusion.

meissnereric avatar meissnereric commented on June 27, 2024
Setting environment variables from .travis.yml
$ export PYTHON=3.4.4

from mxfusion.

Related Issues (20)

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.