Fix feature names
This commit is contained in:
parent
b2874a1d85
commit
496ad79f05
@ -54,6 +54,5 @@ def run(gt, rasters, coords, remove, attributes, adjacency='4', filtering='direc
|
|||||||
X = np.concatenate(X)
|
X = np.concatenate(X)
|
||||||
y = np.concatenate(y)
|
y = np.concatenate(y)
|
||||||
groups = np.concatenate(groups)
|
groups = np.concatenate(groups)
|
||||||
Xn = rasters[0].keys()
|
|
||||||
|
|
||||||
return X, y, groups, Xn
|
return X, y, groups, Xn
|
||||||
|
|||||||
@ -58,6 +58,5 @@ def run(gt, rasters, coords, remove, attributes, adjacency='4',
|
|||||||
X = np.concatenate(X)
|
X = np.concatenate(X)
|
||||||
y = np.concatenate(y)
|
y = np.concatenate(y)
|
||||||
groups = np.concatenate(groups)
|
groups = np.concatenate(groups)
|
||||||
Xn = rasters[0].keys()
|
|
||||||
|
|
||||||
return X, y, groups, Xn
|
return X, y, groups, Xn
|
||||||
|
|||||||
@ -54,6 +54,5 @@ def run(gt, rasters, coords, remove, attributes, adjacency='4', filtering='direc
|
|||||||
X = np.concatenate(X)
|
X = np.concatenate(X)
|
||||||
y = np.concatenate(y)
|
y = np.concatenate(y)
|
||||||
groups = np.concatenate(groups)
|
groups = np.concatenate(groups)
|
||||||
Xn = rasters[0].keys()
|
|
||||||
|
|
||||||
return X, y, groups, Xn
|
return X, y, groups, Xn
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user