Mathematics for Machine Learning Specialization
soroosh-rz / mathematics-for-machine-learning Goto Github PK
View Code? Open in Web Editor NEWMathematics for Machine Learning Specialization
Mathematics for Machine Learning Specialization
for some reason your week 1 pca ipynb file is throwing the following errors:
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]])
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.