cli.py 文件源码

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

项目:aesthetics 作者: shubhamchaudhary 项目源码 文件源码
def train(features):
    X, Y = ordered_dict_to_x_y(features)
    pd.DataFrame(X).to_csv('features.csv')

    clf = get_classification()
    clf.fit(X, Y)
    pd.to_pickle(clf, 'classification.pkl')
    return clf
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号