classifier.py 文件源码

python
阅读 28 收藏 0 点赞 0 评论 0

项目:false-friends 作者: pln-fing-udelar 项目源码 文件源码
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
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号