Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ channels:
- conda-forge
- defaults
dependencies:
- scipy>=0.11
- pandas
- geopandas
- libpysal
- scikit-learn
- mapclassify
- geopandas
- numba
- matplotlib
- numba
- pandas
- scikit-learn
- scipy>=0.11
8 changes: 8 additions & 0 deletions esda/tests/test_adbscan.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import numpy as np
from .. import adbscan

import pytest


class ADBSCAN_Tester(unittest.TestCase):
def setUp(self):
Expand Down Expand Up @@ -70,6 +72,9 @@ def setUp(self):
]
)

@pytest.mark.xfail(
raises=ValueError, reason="**NEEDS ATTENTION**. Change in scikit-learn>=1.1."
)
def test_adbscan(self):
# ------------------------#
# # Single Core #
Expand Down Expand Up @@ -258,6 +263,9 @@ def setUp(self):
_ = ads.fit(self.db, xy=["x", "y"])
self.labels = pandas.Series(ads.labels_, index=self.db.index)

@pytest.mark.xfail(
raises=ValueError, reason="**NEEDS ATTENTION**. Change in scikit-learn>=1.1."
)
def test_get_cluster_boundary(self):
# ------------------------#
# # Single Core #
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
scipy>=0.11
pandas
libpysal
pandas
scikit-learn
scipy>=0.11