Change sklearn to scikit_learn
This commit is contained in:
@@ -39,12 +39,13 @@ def install():
|
|||||||
'sqlalchemy',
|
'sqlalchemy',
|
||||||
'networkx',
|
'networkx',
|
||||||
'wntr',
|
'wntr',
|
||||||
'sklearn',
|
|
||||||
'scipy',
|
'scipy',
|
||||||
'scikit-learn',
|
'scikit-learn',
|
||||||
'scikit-fuzzy',
|
'scikit-fuzzy',
|
||||||
'libpysal',
|
'libpysal',
|
||||||
'spopt'
|
'spopt',
|
||||||
|
'shapely',
|
||||||
|
'geopandas'
|
||||||
]
|
]
|
||||||
|
|
||||||
if minor == 4:
|
if minor == 4:
|
||||||
|
|||||||
@@ -13,12 +13,12 @@ from numpy.linalg import slogdet
|
|||||||
import random
|
import random
|
||||||
from tjnetwork import *
|
from tjnetwork import *
|
||||||
from matplotlib.lines import Line2D
|
from matplotlib.lines import Line2D
|
||||||
from sklearn.cluster import SpectralClustering
|
from scikit_learn.cluster import SpectralClustering
|
||||||
import libpysal as ps
|
import libpysal as ps
|
||||||
from spopt.region import Skater
|
from spopt.region import Skater
|
||||||
from shapely.geometry import Point
|
from shapely.geometry import Point
|
||||||
import geopandas as gpd
|
import geopandas as gpd
|
||||||
from sklearn.metrics import pairwise_distances
|
from scikit_learn.metrics import pairwise_distances
|
||||||
|
|
||||||
|
|
||||||
# 2025/03/12
|
# 2025/03/12
|
||||||
|
|||||||
Reference in New Issue
Block a user