From 80189a9f44e7a41a444793d049f0a7404ef219a5 Mon Sep 17 00:00:00 2001 From: duxin Date: Wed, 29 Jul 2026 10:20:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A1=A5=E5=85=85=20BaseEstimator/Trans?= =?UTF-8?q?formerMixin=20=E5=AF=BC=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/modeling/modeling_batch.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/modeling/modeling_batch.py b/src/core/modeling/modeling_batch.py index d84cee8..0448246 100644 --- a/src/core/modeling/modeling_batch.py +++ b/src/core/modeling/modeling_batch.py @@ -9,6 +9,7 @@ import warnings warnings.filterwarnings('ignore') # 机器学习模型导入 - 改为回归模型 +from sklearn.base import BaseEstimator, TransformerMixin from sklearn.svm import SVR from sklearn.ensemble import RandomForestRegressor from sklearn.neighbors import KNeighborsRegressor