Logistic Regression, Random Forest, Neural Networks, Image Processing, Computer Vision.
analysis. def block_img(img_name): img = image_array(img_name) h = 8 w = 8 feature = [] for a in range(0, (img.shape[0]-h)+1, h): for b in range(0, (img.shape[1]-w)+1, w): block = img[a:a+h, b:b+w] my_block = (block.flatten()) feature.append(my_block) return feature When working with block images,