a3cf2e0e4113040
http://nhiro.org.s3.amazonaws.com/b/d/bdf45e8ef74be167138caa4c9ed424f8.jpg https://gyazo.com/bdf45e8ef74be167138caa4c9ed424f8
(OCR text)
特徴ベクトルの作り方
41
from rules import rules
def make feature vector (s) :
fv
for fin rules:
f (s)
rs
if rs:
fv.append (1)
else:
fv.append (0)
return fv