|
@@ -91,14 +91,14 @@ class ModelLr(ModelBase):
|
|
|
|
|
|
with open(path_model, 'rb') as f:
|
|
|
self.lr = pickle.load(f)
|
|
|
+ print(f"model load from【{path_model}】success.")
|
|
|
|
|
|
df_card = pd.read_csv(path_card)
|
|
|
variables = df_card["variable"].unique().tolist()
|
|
|
self.card = {}
|
|
|
for variable in variables:
|
|
|
self.card[variable] = df_card[df_card["variable"] == variable]
|
|
|
-
|
|
|
- print(f"model load from【{path}】success.")
|
|
|
+ print(f"model load from【{path_card}】success.")
|
|
|
|
|
|
def train_report(self, data: DataSplitEntity, *args, **kwargs) -> Dict[str, MetricFucResultEntity]:
|
|
|
|