1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-06 12:30:57 +08:00

fixes #1187 error "Please install necessary libs for CatBoostModel." (#1246)

* Update __init__.py

* Update __init__.py
This commit is contained in:
OussCHE
2022-08-22 11:17:07 +02:00
committed by GitHub
parent a25b736c64
commit 8480407150

View File

@@ -4,7 +4,7 @@ try:
from .catboost_model import CatBoostModel
except ModuleNotFoundError:
CatBoostModel = None
print("Please install necessary libs for CatBoostModel.")
print("ModuleNotFoundError. CatBoostModel are skipped. (optional: maybe installing CatBoostModel can fix it.)")
try:
from .double_ensemble import DEnsembleModel
from .gbdt import LGBModel