- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Where can we find documentation about which specific loss functions we can pass to daal4py models (such as the Gradient Boosted Regression model)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for posting in Intel Communities.
For Regression Gradient Boosted Trees the loss function is squared and for Classification Gradient Boosted Trees loss function is crossEntropy. Please go through below documentation:
- https://oneapi-src.github.io/oneDAL/daal/algorithms/gradient_boosted_trees/gradient-boosted-trees-regression.html
- https://oneapi-src.github.io/oneDAL/daal/algorithms/gradient_boosted_trees/gradient-boosted-trees-classification.html
- https://intelpython.github.io/daal4py/algorithms.html#gradient-boosted-regression
- https://github.com/intel/scikit-learn-intelex/tree/master/examples/daal4py
Thanks,
Jaideep
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for posting in Intel Communities.
For Regression Gradient Boosted Trees the loss function is squared and for Classification Gradient Boosted Trees loss function is crossEntropy. Please go through below documentation:
- https://oneapi-src.github.io/oneDAL/daal/algorithms/gradient_boosted_trees/gradient-boosted-trees-regression.html
- https://oneapi-src.github.io/oneDAL/daal/algorithms/gradient_boosted_trees/gradient-boosted-trees-classification.html
- https://intelpython.github.io/daal4py/algorithms.html#gradient-boosted-regression
- https://github.com/intel/scikit-learn-intelex/tree/master/examples/daal4py
Thanks,
Jaideep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, Jaideep. Does the Regression Gradient Boosted Tree accept any loss function for the loss function parameter other than the default 'squared' loss?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We recommend you to use scikit-learn-intelex package instead of daal4py.
Intel(R) Extension for Scikit-learn contains scikit-learn patching functionality that was originally available in daal4py package.
please go through below link:
https://github.com/intel/scikit-learn-intelex
daal4py Gradient Bossting Classification model creation from XGBoost example:
sorry to inform that in daal4py for Regression Gradient Boosted Trees model and for Classification Gradient Boosted Trees models support only one loss function i.e squared and crossEntropy.
Thanks,
Jaideep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
If this resolves your issue, make sure to accept this as a solution. This would help others with similar issue. Thank you!
Thanks,
Jaideep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jaideep,
Thank you for your help with my query. Sorry for the delay. I have accepted one of the replies as a solution.
Best,
Hormazd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Glad to know that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.
Have a great day ahead.
Thanks,
Jaideep
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page