PDPbox | python partial dependence plot toolbox | Code Editor library

 by   SauceCat Jupyter Notebook Version: 0.3.0 License: MIT

kandi X-RAY | PDPbox Summary

kandi X-RAY | PDPbox Summary

PDPbox is a Jupyter Notebook library typically used in Editor, Code Editor applications. PDPbox has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

python partial dependence plot toolbox.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              PDPbox has a low active ecosystem.
              It has 747 star(s) with 124 fork(s). There are 17 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 23 open issues and 39 have been closed. On average issues are closed in 543 days. There are 4 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of PDPbox is 0.3.0

            kandi-Quality Quality

              PDPbox has 0 bugs and 0 code smells.

            kandi-Security Security

              PDPbox has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              PDPbox code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              PDPbox is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              PDPbox releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.
              It has 6604 lines of code, 285 functions and 29 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            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 PDPbox
            Get all kandi verified functions for this library.

            PDPbox Key Features

            No Key Features are available at this moment for PDPbox.

            PDPbox Examples and Code Snippets

            copy iconCopy
            import lightgbm as lgb
            import seaborn as sns
            from sklearn.model_selection import train_test_split
            from sklearn.metrics import accuracy_score
            from pdpbox import pdp, get_dataset, info_plots
            
            #load some data
            df = sns.load_dataset("iris")
            X =

            Community Discussions

            QUESTION

            python pdpbox plot with unscaled feature values
            Asked 2020-Sep-04 at 05:35

            I'm trying to plot the Partial Dependence and ICE plots for a Multi-layer perceptron classifier. I'm using the UCI Adult dataset. I have Label Encoded the categorical features and Scaled the overall dataframe and then performed a test-train split on the scaled dataframe.

            Now when I'm trying to plot the PDP and ICE plots I get the Age values (column in the X Axis of the plot) as scaled and hence not comprehend-able. I want the age values to be the original values before scaling was performed on the data. How can I achieve this?

            This is the code for the plots:

            ...

            ANSWER

            Answered 2020-Sep-04 at 05:35

            I was able to solve the above problem by using a Pipeline object. I used one hot encoding for the categorical variables and then pushed the scaling and the classifier operations into the Pipeline object. I was then able to use the encoded X_train without any issues for the partial dependence plot and I got the actual Age value ranges, what I was looking for.

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install PDPbox

            through pip (latest stable version: 0.2.1). through git (latest develop version).
            through pip (latest stable version: 0.2.1) $ pip install pdpbox
            through git (latest develop version) $ git clone https://github.com/SauceCat/PDPbox.git $ cd PDPbox $ python setup.py install

            Support

            Latest version: http://pdpbox.readthedocs.io/en/latest/Historical versions: v0.1.0
            Find more information at:

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

            Find more libraries
            Install
          • PyPI

            pip install PDPbox

          • CLONE
          • HTTPS

            https://github.com/SauceCat/PDPbox.git

          • CLI

            gh repo clone SauceCat/PDPbox

          • sshUrl

            git@github.com:SauceCat/PDPbox.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link