Git Product home page Git Product logo

mathematics-for-machine-learning's Introduction

Mathematics-for-Machine-Learning

Mathematics for Machine Learning Specialization

mathematics-for-machine-learning's People

Contributors

soroosh-rz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mathematics-for-machine-learning's Issues

week 1 pca

for some reason your week 1 pca ipynb file is throwing the following errors:

======================================================================
FAIL: test_cov (week1_tests.Test)

Traceback (most recent call last):
File "/tmp/autograde_hgp2oj5j/week1_tests.py", line 32, in test_cov
np.testing.assert_allclose(result, cov(X))
File "/opt/conda/lib/python3.7/site-packages/numpy/testing/_private/utils.py", line 1533, in assert_allclose
verbose=verbose, header=header, equal_nan=equal_nan)
File "/opt/conda/lib/python3.7/site-packages/numpy/testing/_private/utils.py", line 765, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=1e-07, atol=0

(shapes (10, 10), (2, 2) mismatch)
x: array([[ 1.007994e-01, -1.389557e-01, -2.606233e-06, 1.288654e-01,
-1.606550e-01, 3.670272e-04, 3.421331e-01, -1.845613e-01,
-2.106666e-01, 8.005167e-02],...
y: array([[0.819312, 0.33251 ],
[0.33251 , 0.931471]])

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/tmp/autograde_hgp2oj5j/week1_tests.py", line 40, in test_cov
np.testing.assert_allclose(result, cov(X))
File "/opt/conda/lib/python3.7/site-packages/numpy/testing/_private/utils.py", line 1533, in assert_allclose
verbose=verbose, header=header, equal_nan=equal_nan)
File "/opt/conda/lib/python3.7/site-packages/numpy/testing/_private/utils.py", line 765, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=1e-07, atol=0

(shapes (10, 10), (2, 2) mismatch)
x: array([[ 1.007994e-01, -1.389557e-01, -2.606233e-06, 1.288654e-01,
-1.606550e-01, 3.670272e-04, 3.421331e-01, -1.845613e-01,
-2.106666e-01, 8.005167e-02],...
y: array([[0.910347, 0.369456],
[0.369456, 1.034968]])

======================================================================
FAIL: test_mean (week1_tests.Test)

Traceback (most recent call last):
File "/tmp/autograde_hgp2oj5j/week1_tests.py", line 19, in test_mean
np.testing.assert_allclose(result, expected, rtol=1e-5)
File "/opt/conda/lib/python3.7/site-packages/numpy/testing/_private/utils.py", line 1533, in assert_allclose
verbose=verbose, header=header, equal_nan=equal_nan)
File "/opt/conda/lib/python3.7/site-packages/numpy/testing/_private/utils.py", line 765, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=1e-05, atol=0

(shapes (10, 1), (2,) mismatch)
x: array([[ 0.179225],
[ 1.085359],
[-0.234145],...
y: array([-0.184724, -0.157873])


Ran 4 tests in 0.551s

FAILED (failures=2)

Do you know how to fix them?

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.