Skip to content

Commit

Permalink
fixes microsoft#1187 error "Please install necessary libs for CatBoos…
Browse files Browse the repository at this point in the history
…tModel." (microsoft#1246)

* Update __init__.py

* Update __init__.py
  • Loading branch information
OussCHE authored Aug 22, 2022
1 parent d3df469 commit 08d828a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qlib/contrib/model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
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
Expand Down

0 comments on commit 08d828a

Please sign in to comment.