Пример #1
0
 def callbacks(self, params: ImblanceParams):
     super().callbacks(params)
     callbacks.LoggerCallback().hook(self)
     callbacks.EvalCallback(1, 1).hook(self)
Пример #2
0
 def callbacks(self, params: Params):
     from thexp import callbacks
     callbacks.LoggerCallback().hook(self)  # 添加日志输出功能
     callbacks.AutoRecord().hook(self)
Пример #3
0
 def callbacks(self, params: Params):
     super().callbacks(params)
     callbacks.LoggerCallback().hook(self)