mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-17 09:24:34 +08:00
* Update __init__.py * Update __init__.py
This commit is contained in:
@@ -4,7 +4,7 @@ try:
|
|||||||
from .catboost_model import CatBoostModel
|
from .catboost_model import CatBoostModel
|
||||||
except ModuleNotFoundError:
|
except ModuleNotFoundError:
|
||||||
CatBoostModel = None
|
CatBoostModel = None
|
||||||
print("Please install necessary libs for CatBoostModel.")
|
print("ModuleNotFoundError. CatBoostModel are skipped. (optional: maybe installing CatBoostModel can fix it.)")
|
||||||
try:
|
try:
|
||||||
from .double_ensemble import DEnsembleModel
|
from .double_ensemble import DEnsembleModel
|
||||||
from .gbdt import LGBModel
|
from .gbdt import LGBModel
|
||||||
|
|||||||
Reference in New Issue
Block a user