def build_classifier(base_clf=svm.SVC()):
# The imputer is for "use_taxonomy", and shouldn't affect if it's False.
# TODO: should also try with other imputer strategies
return pipeline.make_pipeline(preprocessing.Imputer(strategy='most_frequent'), preprocessing.StandardScaler(),
base_clf)
# noinspection PyPep8Naming
评论列表
文章目录