evaluate_estimator

czsc.ai.evaluate_estimator(estimator: Pipeline, df: DataFrame, x_cols: List, y_col: Optional[AnyStr] = None)[source]

评估模型表现

Parameters:
  • estimator – 使用 Pipeline 组合成模型

  • df – 输入数据

  • x_cols – 特征名序列

  • y_col – 真实值列

Returns: