xgboostExplainer | An R package that makes xgboost models | Machine Learning library

 by   AppliedDataSciencePartners R Version: Current License: GPL-3.0

kandi X-RAY | xgboostExplainer Summary

kandi X-RAY | xgboostExplainer Summary

xgboostExplainer is a R library typically used in Artificial Intelligence, Machine Learning, Deep Learning applications. xgboostExplainer has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has low support. You can download it from GitHub.

An R package that makes xgboost models fully interpretable.

            kandi-support Support

              xgboostExplainer has a low active ecosystem.
              It has 223 star(s) with 71 fork(s). There are 22 watchers for this library.
              It had no major release in the last 6 months.
              There are 20 open issues and 8 have been closed. On average issues are closed in 20 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of xgboostExplainer is current.

            kandi-Quality Quality

              xgboostExplainer has no bugs reported.

            kandi-Security Security

              xgboostExplainer has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              xgboostExplainer is licensed under the GPL-3.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              xgboostExplainer releases are not available. You will need to build from source code and install.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of xgboostExplainer
            Get all kandi verified functions for this library.

            xgboostExplainer Key Features

            No Key Features are available at this moment for xgboostExplainer.

            xgboostExplainer Examples and Code Snippets

            No Code Snippets are available at this moment for xgboostExplainer.

            Community Discussions


            Going through the xgboostExplainer package: running into errors from github page
            Asked 2018-Apr-02 at 14:19

            I am currently trying to work with the new xgboostExplainer package.

            I am following the githib page here https://github.com/AppliedDataSciencePartners/xgboostExplainer/blob/master/R/explainPredictions.R

            on line 34, the xgboost model is ran:

            xgb.model <- xgboost(param =param, data = xgb.train.data, nrounds=3)

            However on line 43 I am running into some problems.

            explainer = buildExplainer(xgb.model,xgb.train.data, type="binary", base_score = 0.5, n_first_tree = xgb.model$best_ntreelimit - 1)

            I understand that n_first_tree is depreciated but I cannot seem to access the xgb.model$best_ntreelimit -1 part.

            The sections I can access in xgboost are;



            Answered 2018-Mar-22 at 15:04

            I tested the code in the linked page. best_ntreelimit is a parameter returned by xgb.cv when early_stopping_rounds is set. From the help of xgb.cv:

            best_ntreelimit the ntreelimit value corresponding to the best iteration, which could further be used in predict method (only available with early stopping).

            You can get to it by using xgb.cv:

            Source https://stackoverflow.com/questions/49417550

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network


            No vulnerabilities reported

            Install xgboostExplainer

            You can download it from GitHub.


            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
          • HTTPS


          • CLI

            gh repo clone AppliedDataSciencePartners/xgboostExplainer

          • sshUrl


          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Machine Learning Libraries


            by tensorflow


            by ytdl-org


            by tensorflow


            by pytorch


            by keras-team

            Try Top Libraries by AppliedDataSciencePartners


            by AppliedDataSciencePartnersJupyter Notebook


            by AppliedDataSciencePartnersJupyter Notebook


            by AppliedDataSciencePartnersR