Skip to content

Commit 79581d2

Browse files
committed
rename missed name
1 parent e28dfc4 commit 79581d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎ch10/large_classification.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424
('classifier', grid)])
2525

2626
deffeatures_for(im):
27-
fromfeaturesimportcolor_histogram
27+
fromfeaturesimportchist
2828
im=mh.imread(im)
2929
img=mh.colors.rgb2grey(im).astype(np.uint8)
3030
returnnp.concatenate([mh.features.haralick(img).ravel(),
31-
color_histogram(im)])
31+
chist(im)])
3232

3333
defimages():
3434
'''Iterate over all (image,label) pairs

0 commit comments

Comments
(0)