feat: update training log and enhance ML filter functionality
- Added a new entry to the training log with detailed metrics for a LightGBM model, including AUC, precision, recall, and tuned parameters. - Enhanced the MLFilter class to include a guard clause that prevents execution if the filter is disabled, improving robustness.
This commit is contained in:
@@ -107,6 +107,7 @@ class MLFilter:
|
||||
모델 파일의 mtime을 확인해 변경됐으면 리로드한다.
|
||||
실제로 리로드가 일어났으면 True 반환.
|
||||
"""
|
||||
if self._disabled: return False
|
||||
onnx_changed = _mtime(self._onnx_path) != self._loaded_onnx_mtime
|
||||
lgbm_changed = _mtime(self._lgbm_path) != self._loaded_lgbm_mtime
|
||||
|
||||
|
||||
Reference in New Issue
Block a user