|
import numpy as np |
|
from sklearn.linear_model import LogisticRegression |
|
|
|
train_x = [ |
|
[255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,18,0,3,18,0,255,255,0,255,255,255,255,255,255,255,15,255,255,255,255,255,255,255,0,255,255,255,255,255,255,255,0,2,0,10,0,255,255,255,2,255,255,255,255,255,255,255,1,255,255,255,255,255,255,255,0,255,255,255,255,255,255,255,31,255,255,255,255,255,255,255,0,8,0,0,0,8,255,255], |
|
[255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,18,6,0,255,255,10,0,255,255,255,13,13,255,0,255,255,255,255,255,255,255,0,255,255,255,255,255,255,255,6,255,255,255,255,255,255,255,0,255,255,255,0,5,0,255,0,255,255,255,255,3,11,255,0,255,255,255,255,0,0,255,0,6,255,255,255,13,0,255,255,0,0,0,8,0,255,255], |
|
[255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,12,255,2 |