Skip to content

Commit

Permalink
Update ml_test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mmann1123 authored Mar 30, 2024
1 parent 17ee429 commit 03b2a76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/ml_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ def test_tree_predict(self):
X, Xy, clf = fit(src, tree_pipeline, aoi_poly, col="lc")
y1 = predict(src, X, clf)
y2 = fit_predict(src, tree_pipeline, aoi_poly, col="lc")
print("##########/n",y1)
print("##########/n",y2)
print("##########/n",y1.values)
print("##########/n",y2.values)

self.assertTrue(np.all(np.isnan(y1.values[0, 0:5, 0])))
self.assertTrue(np.all(np.isnan(y2.values[0, 0:5, 0])))
Expand Down

0 comments on commit 03b2a76

Please sign in to comment.