diff --git a/_proc/99_unitTests.ipynb b/_proc/99_unitTests.ipynb index 3967bf5..9a07e21 100644 --- a/_proc/99_unitTests.ipynb +++ b/_proc/99_unitTests.ipynb @@ -4334,7 +4334,7 @@ "test_eq(len(indicesTracker), len(np.unique(indicesTracker)))\n", "test_eq(np.sort(indicesTracker), np.arange(len(yPred)))\n", "\n", - "lowerBoundPerBinTest = [np.NINF, 9.5, 19.5, 29.5, 39.5, 49.5, 59.5, 69.5, 79.5, 89.5]\n", + "lowerBoundPerBinTest = [-np.inf, 9.5, 19.5, 29.5, 39.5, 49.5, 59.5, 69.5, 79.5, 89.5]\n", "test_eq(list(lowerBoundPerBin), lowerBoundPerBinTest)\n", "test_eq(list(lowerBoundPerBin.index), [i for i in range(10)])\n", "\n", @@ -4376,7 +4376,7 @@ "test_eq(len(indicesTracker), len(np.unique(indicesTracker)))\n", "test_eq(np.sort(indicesTracker), np.arange(len(yPred)))\n", " \n", - "lowerBoundPerBinTest = [np.NINF] + list(np.arange(4.5, 99.5, 5))\n", + "lowerBoundPerBinTest = [-np.inf] + list(np.arange(4.5, 99.5, 5))\n", "test_eq(list(lowerBoundPerBin), lowerBoundPerBinTest)\n", "test_eq(list(lowerBoundPerBin.index), [i for i in range(20)])\n", "\n", @@ -4402,7 +4402,7 @@ "test_eq(len(indicesTracker), len(np.unique(indicesTracker)))\n", "test_eq(np.sort(indicesTracker), np.arange(len(yPred)))\n", " \n", - "lowerBoundPerBinTest = [np.NINF, 2.5, 5.5]\n", + "lowerBoundPerBinTest = [-np.inf, 2.5, 5.5]\n", "test_eq(list(lowerBoundPerBin), lowerBoundPerBinTest)\n", "test_eq(list(lowerBoundPerBin.index), [i for i in range(3)])\n", "\n", @@ -4426,7 +4426,7 @@ "test_eq(len(indicesTracker), len(np.unique(indicesTracker)))\n", "test_eq(np.sort(indicesTracker), np.arange(len(yPred)))\n", " \n", - "lowerBoundPerBinTest = [np.NINF]\n", + "lowerBoundPerBinTest = [-np.inf]\n", "test_eq(list(lowerBoundPerBin), lowerBoundPerBinTest)\n", "test_eq(list(lowerBoundPerBin.index), [i for i in range(1)])\n", "\n", @@ -4450,7 +4450,7 @@ "test_eq(len(indicesTracker), len(np.unique(indicesTracker)))\n", "test_eq(np.sort(indicesTracker), np.arange(len(yPred)))\n", " \n", - "lowerBoundPerBinTest = [np.NINF]\n", + "lowerBoundPerBinTest = [-np.inf]\n", "test_eq(list(lowerBoundPerBin), lowerBoundPerBinTest)\n", "test_eq(list(lowerBoundPerBin.index), [i for i in range(1)])" ] diff --git a/dddex/__pycache__/__init__.cpython-38.pyc b/dddex/__pycache__/__init__.cpython-38.pyc index b59f17a..5d7b199 100644 Binary files a/dddex/__pycache__/__init__.cpython-38.pyc and b/dddex/__pycache__/__init__.cpython-38.pyc differ diff --git a/dddex/__pycache__/_modidx.cpython-38.pyc b/dddex/__pycache__/_modidx.cpython-38.pyc index dd9c6ad..e5674cc 100644 Binary files a/dddex/__pycache__/_modidx.cpython-38.pyc and b/dddex/__pycache__/_modidx.cpython-38.pyc differ diff --git a/dddex/__pycache__/baseClasses.cpython-38.pyc b/dddex/__pycache__/baseClasses.cpython-38.pyc index 7cf24e6..c6fc716 100644 Binary files a/dddex/__pycache__/baseClasses.cpython-38.pyc and b/dddex/__pycache__/baseClasses.cpython-38.pyc differ diff --git a/dddex/__pycache__/crossValidation.cpython-38.pyc b/dddex/__pycache__/crossValidation.cpython-38.pyc index 46e674e..d2357e9 100644 Binary files a/dddex/__pycache__/crossValidation.cpython-38.pyc and b/dddex/__pycache__/crossValidation.cpython-38.pyc differ diff --git a/dddex/__pycache__/levelSetKDEx_multivariate.cpython-38.pyc b/dddex/__pycache__/levelSetKDEx_multivariate.cpython-38.pyc index 59b1ba0..2c12691 100644 Binary files a/dddex/__pycache__/levelSetKDEx_multivariate.cpython-38.pyc and b/dddex/__pycache__/levelSetKDEx_multivariate.cpython-38.pyc differ diff --git a/dddex/__pycache__/levelSetKDEx_univariate.cpython-38.pyc b/dddex/__pycache__/levelSetKDEx_univariate.cpython-38.pyc index 7b35cb8..8798971 100644 Binary files a/dddex/__pycache__/levelSetKDEx_univariate.cpython-38.pyc and b/dddex/__pycache__/levelSetKDEx_univariate.cpython-38.pyc differ diff --git a/dddex/__pycache__/loadData.cpython-38.pyc b/dddex/__pycache__/loadData.cpython-38.pyc index bc62e33..11c43ab 100644 Binary files a/dddex/__pycache__/loadData.cpython-38.pyc and b/dddex/__pycache__/loadData.cpython-38.pyc differ diff --git a/dddex/__pycache__/utils.cpython-38.pyc b/dddex/__pycache__/utils.cpython-38.pyc index 087df71..5709ca9 100644 Binary files a/dddex/__pycache__/utils.cpython-38.pyc and b/dddex/__pycache__/utils.cpython-38.pyc differ diff --git a/dddex/__pycache__/wSAA.cpython-38.pyc b/dddex/__pycache__/wSAA.cpython-38.pyc index 6b2fc05..a0af5e1 100644 Binary files a/dddex/__pycache__/wSAA.cpython-38.pyc and b/dddex/__pycache__/wSAA.cpython-38.pyc differ diff --git a/nbs/.ipynb_checkpoints/99_unitTests-checkpoint.ipynb b/nbs/.ipynb_checkpoints/99_unitTests-checkpoint.ipynb index 8b7d122..24ab357 100644 --- a/nbs/.ipynb_checkpoints/99_unitTests-checkpoint.ipynb +++ b/nbs/.ipynb_checkpoints/99_unitTests-checkpoint.ipynb @@ -4313,7 +4313,7 @@ "test_eq(len(indicesTracker), len(np.unique(indicesTracker)))\n", "test_eq(np.sort(indicesTracker), np.arange(len(yPred)))\n", "\n", - "lowerBoundPerBinTest = [np.NINF, 9.5, 19.5, 29.5, 39.5, 49.5, 59.5, 69.5, 79.5, 89.5]\n", + "lowerBoundPerBinTest = [-np.inf, 9.5, 19.5, 29.5, 39.5, 49.5, 59.5, 69.5, 79.5, 89.5]\n", "test_eq(list(lowerBoundPerBin), lowerBoundPerBinTest)\n", "test_eq(list(lowerBoundPerBin.index), [i for i in range(10)])\n", "\n", @@ -4355,7 +4355,7 @@ "test_eq(len(indicesTracker), len(np.unique(indicesTracker)))\n", "test_eq(np.sort(indicesTracker), np.arange(len(yPred)))\n", " \n", - "lowerBoundPerBinTest = [np.NINF] + list(np.arange(4.5, 99.5, 5))\n", + "lowerBoundPerBinTest = [-np.inf] + list(np.arange(4.5, 99.5, 5))\n", "test_eq(list(lowerBoundPerBin), lowerBoundPerBinTest)\n", "test_eq(list(lowerBoundPerBin.index), [i for i in range(20)])\n", "\n", @@ -4381,7 +4381,7 @@ "test_eq(len(indicesTracker), len(np.unique(indicesTracker)))\n", "test_eq(np.sort(indicesTracker), np.arange(len(yPred)))\n", " \n", - "lowerBoundPerBinTest = [np.NINF, 2.5, 5.5]\n", + "lowerBoundPerBinTest = [-np.inf, 2.5, 5.5]\n", "test_eq(list(lowerBoundPerBin), lowerBoundPerBinTest)\n", "test_eq(list(lowerBoundPerBin.index), [i for i in range(3)])\n", "\n", @@ -4405,7 +4405,7 @@ "test_eq(len(indicesTracker), len(np.unique(indicesTracker)))\n", "test_eq(np.sort(indicesTracker), np.arange(len(yPred)))\n", " \n", - "lowerBoundPerBinTest = [np.NINF]\n", + "lowerBoundPerBinTest = [-np.inf]\n", "test_eq(list(lowerBoundPerBin), lowerBoundPerBinTest)\n", "test_eq(list(lowerBoundPerBin.index), [i for i in range(1)])\n", "\n", @@ -4429,7 +4429,7 @@ "test_eq(len(indicesTracker), len(np.unique(indicesTracker)))\n", "test_eq(np.sort(indicesTracker), np.arange(len(yPred)))\n", " \n", - "lowerBoundPerBinTest = [np.NINF]\n", + "lowerBoundPerBinTest = [-np.inf]\n", "test_eq(list(lowerBoundPerBin), lowerBoundPerBinTest)\n", "test_eq(list(lowerBoundPerBin.index), [i for i in range(1)])" ] diff --git a/nbs/99_unitTests.ipynb b/nbs/99_unitTests.ipynb index 4ee4589..d9e5f5c 100644 --- a/nbs/99_unitTests.ipynb +++ b/nbs/99_unitTests.ipynb @@ -4313,7 +4313,7 @@ "test_eq(len(indicesTracker), len(np.unique(indicesTracker)))\n", "test_eq(np.sort(indicesTracker), np.arange(len(yPred)))\n", "\n", - "lowerBoundPerBinTest = [np.NINF, 9.5, 19.5, 29.5, 39.5, 49.5, 59.5, 69.5, 79.5, 89.5]\n", + "lowerBoundPerBinTest = [-np.inf, 9.5, 19.5, 29.5, 39.5, 49.5, 59.5, 69.5, 79.5, 89.5]\n", "test_eq(list(lowerBoundPerBin), lowerBoundPerBinTest)\n", "test_eq(list(lowerBoundPerBin.index), [i for i in range(10)])\n", "\n", @@ -4355,7 +4355,7 @@ "test_eq(len(indicesTracker), len(np.unique(indicesTracker)))\n", "test_eq(np.sort(indicesTracker), np.arange(len(yPred)))\n", " \n", - "lowerBoundPerBinTest = [np.NINF] + list(np.arange(4.5, 99.5, 5))\n", + "lowerBoundPerBinTest = [-np.inf] + list(np.arange(4.5, 99.5, 5))\n", "test_eq(list(lowerBoundPerBin), lowerBoundPerBinTest)\n", "test_eq(list(lowerBoundPerBin.index), [i for i in range(20)])\n", "\n", @@ -4381,7 +4381,7 @@ "test_eq(len(indicesTracker), len(np.unique(indicesTracker)))\n", "test_eq(np.sort(indicesTracker), np.arange(len(yPred)))\n", " \n", - "lowerBoundPerBinTest = [np.NINF, 2.5, 5.5]\n", + "lowerBoundPerBinTest = [-np.inf, 2.5, 5.5]\n", "test_eq(list(lowerBoundPerBin), lowerBoundPerBinTest)\n", "test_eq(list(lowerBoundPerBin.index), [i for i in range(3)])\n", "\n", @@ -4405,7 +4405,7 @@ "test_eq(len(indicesTracker), len(np.unique(indicesTracker)))\n", "test_eq(np.sort(indicesTracker), np.arange(len(yPred)))\n", " \n", - "lowerBoundPerBinTest = [np.NINF]\n", + "lowerBoundPerBinTest = [-np.inf]\n", "test_eq(list(lowerBoundPerBin), lowerBoundPerBinTest)\n", "test_eq(list(lowerBoundPerBin.index), [i for i in range(1)])\n", "\n", @@ -4429,7 +4429,7 @@ "test_eq(len(indicesTracker), len(np.unique(indicesTracker)))\n", "test_eq(np.sort(indicesTracker), np.arange(len(yPred)))\n", " \n", - "lowerBoundPerBinTest = [np.NINF]\n", + "lowerBoundPerBinTest = [-np.inf]\n", "test_eq(list(lowerBoundPerBin), lowerBoundPerBinTest)\n", "test_eq(list(lowerBoundPerBin.index), [i for i in range(1)])" ]