-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Added catboost model #1286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added catboost model #1286
Conversation
return | ||
|
||
catboost_version = tuple([int(x) for x in catboost.__version__.split(".")]) | ||
if catboost_version < (0, 23, 2): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can read the required catboost version from the requirements-optional.txt
file, otherwise it could be hard to remember to update this part of the code when updating the requirements file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But the requirements-optional.txt
would reside outside the module and wont be accessible from within - correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checking it like it's being done in here is correct, as the user may choose to install catboost separately.
That's mostly due to it fitting 1000 trees by default. We can consider reducing that number. |
Describe the changes you've made
Added catboost model
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Unit tests should catch this new model
Describe if there is any unusual behaviour of your code(Write
NA
if there isn't)Catboost is too slow and consumes a lot of memory
Checklist: