qlib
qlib copied to clipboard
fixes #1187 error "Please install necessary libs for CatBoostModel."
Description
When running 'examples/workflow_by_code.ipynb' in jupyter notebook , you get the following misleading error #1187
now the message displayed when running the code is "ModuleNotFoundError. CatBoostModel and CatBoostModel are skipped. (optional: maybe installing lightgbm can fix it.)" that is similar to the other non mandatory packages to install.
Motivation and Context
check #
How Has This Been Tested?
- [ ] Pass the test by running:
pytest qlib/tests/test_all_pipeline.py
under upper directory ofqlib
. - [ ] If you are adding a new feature, test on your own test scripts.
Screenshots of Test Results (if appropriate):
Types of changes
- [ ] Fix bugs
- [ ] Add new feature
- [ ] Update documentation
@you-n-g I would appreciate your insight about the tests not running for some versions on macos.
Thanks! It looks great. I think the CI error is fixed in the main branch. Rerunning after merging may fix this error. Welcome to become one of Qlib's contributors