<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Also see https://software in Intel® Distribution for Python*</title>
    <link>https://community.intel.com/t5/Intel-Distribution-for-Python/FYI-Intel-Python-Scipy-test-ends-with-a-failure/m-p/1150787#M1103</link>
    <description>&lt;P&gt;Also see&amp;nbsp;https://software.intel.com/en-us/articles/intel-python-known-issues&lt;/P&gt;</description>
    <pubDate>Mon, 06 Nov 2017 21:40:28 GMT</pubDate>
    <dc:creator>Oleksandr_P_Intel</dc:creator>
    <dc:date>2017-11-06T21:40:28Z</dc:date>
    <item>
      <title>FYI: Intel Python Scipy test ends with a failure</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/FYI-Intel-Python-Scipy-test-ends-with-a-failure/m-p/1150785#M1101</link>
      <description>&lt;P&gt;The environment:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;$ python
Python 3.6.2 |Intel Corporation| (default, Aug 15 2017, 16:14:26)
[GCC 4.8.2 20140120 (Red Hat 4.8.2-15)] on linux
Type "help", "copyright", "credits" or "license" for more information.
Intel(R) Distribution for Python is brought to you by Intel Corporation.
Please check out: &lt;A href="https://software.intel.com/en-us/python-distribution" target="_blank"&gt;https://software.intel.com/en-us/python-distribution&lt;/A&gt;
&amp;gt;&amp;gt;&amp;gt; import sys
&amp;gt;&amp;gt;&amp;gt; import platform
&amp;gt;&amp;gt;&amp;gt; print(str("Installed Python Version is: ")+str(platform.python_version()))
Installed Python Version is: 3.6.2
&amp;gt;&amp;gt;&amp;gt; import numpy
&amp;gt;&amp;gt;&amp;gt; print(str("Installed Numpy version is: ")+str(numpy.__version__))
Installed Numpy version is: 1.13.1
&amp;gt;&amp;gt;&amp;gt; import scipy
&amp;gt;&amp;gt;&amp;gt; print(str("Installed Scipy version is: ")+str(scipy.__version__))
Installed Scipy version is: 0.19.1
&amp;gt;&amp;gt;&amp;gt;
&lt;/PRE&gt;

&lt;P&gt;The test:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;import scipy
scipy.test("full", verbose=10)
&lt;/PRE&gt;

&lt;P&gt;The summary of the test result&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;======================================================================
FAIL: test_hilbert (test_fir_filter_design.TestMinimumPhase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/intelPython2018_0018/intelpython3/lib/python3.6/site-packages/scipy/signal/tests/test_fir_filter_design.py", line 541, in test_hilbert
    assert_allclose(m, k, rtol=1e-3)
  File "/home/intelPython2018_0018/intelpython3/lib/python3.6/site-packages/numpy/testing/utils.py", line 1395, in assert_allclose
    verbose=verbose, header=header, equal_nan=equal_nan)
  File "/home/intelPython2018_0018/intelpython3/lib/python3.6/site-packages/numpy/testing/utils.py", line 778, in assert_array_compare
    raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=0.001, atol=0

(mismatch 16.66666666666667%)
 x: array([ 0.34949 ,  0.373494,  0.326211,  0.077231, -0.129983, -0.059379])
 y: array([ 0.349586,  0.373552,  0.326083,  0.077152, -0.129944, -0.059356])

----------------------------------------------------------------------
Ran 25594 tests in 1723.918s

FAILED (KNOWNFAIL=153, SKIP=1821, failures=1)
&lt;/PRE&gt;

&lt;P&gt;Salut,&lt;/P&gt;

&lt;P&gt;Sergio&lt;BR /&gt;
	Enhance your #MachineLearning and #BigData skills via #Python #SciPy&lt;BR /&gt;
	1) &lt;A href="https://www.packtpub.com/big-data-and-business-intelligence/numerical-and-scientific-computing-scipy-video" target="_blank"&gt;https://www.packtpub.com/big-data-and-business-intelligence/numerical-and-scientific-computing-scipy-video&lt;/A&gt;&lt;BR /&gt;
	2) &lt;A href="https://www.packtpub.com/big-data-and-business-intelligence/learning-scipy-numerical-and-scientific-computing-second-edition" target="_blank"&gt;https://www.packtpub.com/big-data-and-business-intelligence/learning-scipy-numerical-and-scientific-computing-second-edition&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 18:13:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/FYI-Intel-Python-Scipy-test-ends-with-a-failure/m-p/1150785#M1101</guid>
      <dc:creator>sergio_r_</dc:creator>
      <dc:date>2017-11-02T18:13:03Z</dc:date>
    </item>
    <item>
      <title>Hi Sergio, </title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/FYI-Intel-Python-Scipy-test-ends-with-a-failure/m-p/1150786#M1102</link>
      <description>&lt;P&gt;Hi Sergio,&amp;nbsp;&lt;BR /&gt;
	&lt;BR /&gt;
	This test failure is benign.&lt;/P&gt;

&lt;P style="margin-top: 10px; margin-bottom: 0px; color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 14px; background-color: rgb(245, 245, 245);"&gt;The Hilbert's method to find coefficients of&amp;nbsp;the minimum phase finite impulse response relies on Fourier transform from&amp;nbsp;&lt;TT&gt;numpy.fft&lt;/TT&gt;.&lt;/P&gt;

&lt;P style="margin-top: 10px; margin-bottom: 0px; color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 14px; background-color: rgb(245, 245, 245);"&gt;The result of FFT computation can be slightly different from machine to machine, depending on the&amp;nbsp;processor extension supported, and on the order of evaluation of parallel operations.&lt;/P&gt;

&lt;P style="margin-top: 10px; margin-bottom: 0px; color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 14px; background-color: rgb(245, 245, 245);"&gt;The&amp;nbsp;&lt;A class="external-link" href="https://github.intel.com/SAT/scipy/blob/develop/scipy/signal/fir_filter_design.py#L975" rel="nofollow" style="color: rgb(59, 115, 175); cursor: pointer;"&gt;line 975&lt;/A&gt;&amp;nbsp;of&amp;nbsp;&lt;TT&gt;signal/fir_filter_design.py&lt;/TT&gt;&amp;nbsp;has a potential to introduce small positive spurious entries, which are further amplified by taking a square root.&lt;/P&gt;

&lt;P style="margin-top: 10px; margin-bottom: 0px; color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 14px; background-color: rgb(245, 245, 245);"&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 14px; background-color: rgb(245, 245, 245);"&gt;The assertion tolerance parameter should be increased&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 14px; background-color: rgb(245, 245, 245);"&gt;to&amp;nbsp;&lt;/SPAN&gt;&lt;TT style="color: rgb(51, 51, 51); font-size: 14px; background-color: rgb(245, 245, 245);"&gt;rtol=2e-3&lt;/TT&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 14px; background-color: rgb(245, 245, 245);"&gt;, which I will submit to github.com/scipy/scipy&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2017 21:35:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/FYI-Intel-Python-Scipy-test-ends-with-a-failure/m-p/1150786#M1102</guid>
      <dc:creator>Oleksandr_P_Intel</dc:creator>
      <dc:date>2017-11-06T21:35:44Z</dc:date>
    </item>
    <item>
      <title>Also see https://software</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/FYI-Intel-Python-Scipy-test-ends-with-a-failure/m-p/1150787#M1103</link>
      <description>&lt;P&gt;Also see&amp;nbsp;https://software.intel.com/en-us/articles/intel-python-known-issues&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2017 21:40:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/FYI-Intel-Python-Scipy-test-ends-with-a-failure/m-p/1150787#M1103</guid>
      <dc:creator>Oleksandr_P_Intel</dc:creator>
      <dc:date>2017-11-06T21:40:28Z</dc:date>
    </item>
    <item>
      <title>Quote:Oleksandr P. (Intel)</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/FYI-Intel-Python-Scipy-test-ends-with-a-failure/m-p/1150788#M1104</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Oleksandr P. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi Sergio,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;This test failure is benign.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi Oleksandr,&lt;/P&gt;

&lt;P&gt;&amp;nbsp; I would hardly consider a numerical computational discrepancy&lt;BR /&gt;
	benign [ &lt;A href="http://www.cracked.com/article_19623_6-small-math-errors-that-caused-huge-disasters.html"&gt;http://www.cracked.com/article_19623_6-small-math-errors-that-caused-huge-disasters.html&lt;/A&gt; ]&lt;BR /&gt;
	[ &lt;A href="http://www-users.math.umn.edu/~arnold/disasters/"&gt;http://www-users.math.umn.edu/~arnold/disasters/&lt;/A&gt; ].&lt;/P&gt;

&lt;P&gt;I would rather call it "&lt;EM&gt;a known (unresolved?) issue&lt;/EM&gt;"&lt;BR /&gt;
	and&amp;nbsp; instead of downgrading the accuracy/precision of the test it&lt;BR /&gt;
	is better to (as you well pointed out) alert the users performing&lt;BR /&gt;
	the involved computation that such a discrepancy is around.&lt;/P&gt;

&lt;P&gt;Salut,&lt;/P&gt;

&lt;P&gt;Sergio&lt;/P&gt;

&lt;P&gt;Enhance your #MachineLearning and #BigData skills via #Python #SciPy&lt;BR /&gt;
	1) &lt;A href="https://www.packtpub.com/big-data-and-business-intelligence/numerical-and-scientific-computing-scipy-video"&gt;https://www.packtpub.com/big-data-and-business-intelligence/numerical-and-scientific-computing-scipy-video&lt;/A&gt;&lt;BR /&gt;
	2) &lt;A href="https://www.packtpub.com/big-data-and-business-intelligence/learning-scipy-numerical-and-scientific-computing-second-edition"&gt;https://www.packtpub.com/big-data-and-business-intelligence/learning-scipy-numerical-and-scientific-computing-second-edition&lt;/A&gt;&lt;BR /&gt;
	3) &lt;A href="https://www.researchgate.net/publication/301293668"&gt;https://www.researchgate.net/publication/301293668&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2017 13:41:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/FYI-Intel-Python-Scipy-test-ends-with-a-failure/m-p/1150788#M1104</guid>
      <dc:creator>sergio_r_</dc:creator>
      <dc:date>2017-11-07T13:41:00Z</dc:date>
    </item>
  </channel>
</rss>

