sklearn的estimator

estimator的工作流程

在sklearn中,估计器(estimator)是一个重要的角色,分类器和回归器都属于estimator。在估计器中有有两个重要的方法是fit和transform。

  • fit方法用于从训练集中学习模型参数
  • transform用学习到的参数转换数据

 

posted @ 2019-01-18 13:26  zhangqi0828  阅读(761)  评论(0)    收藏  举报