from sklearn.feature_extraction import DictVectorizer. dv = DictVectorizer (). x_train = dv.fit_transform(x_train).
確定! 回上一頁