Python error when importing pdp, get_dataset, info_plots from pdpbox

I was trying to import pdp, get_dataset, info_plots from pdpbox on Jupyter Notebook, but got the following error. It is from 'from mpl_toolkits.axes_grid1.inset_locator import inset_axes'. Does...

Python: Failed to import installed module pdpbox

I installed the pdpbox package through pip. pip install pdpbox Requirement already satisfied: pdpbox in c:\users\Me\appdata\roaming\python\python37\site-packages (0.2.1) And within Spyder, I did...

Partial Dependence Plot using pdpbox for RNN

I have created the training data using Timeseries Generator and then used it to train my GRU model. Now I am trying to do the feature importance analysis using pdp plots. However, my training data...

Problem installing pdpbox, when building wheels for matplotlib

I'm trying to instal pdpbox in my local computer with Windows 10 and python 3.8. It tries to install matplotlib 3.1.1 then tries with current matplotlib 3.3.4. It gives an error message. The...

Display the dropped dummy when using PDPBox

I am currently working on how Machine Learning models can be interpreted and I found the function "pdp_plot" from the package PDPBox very useful to show how predicted outcome is impacted by...

pdpbox won't install because of matplotlib

I am trying to install pdpbox package on Python 3.9 on Windows using VSCode. I don't understand the...

python pdpbox plot with unscaled feature values

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...

Module not found error in Jupyter notebook

I am trying to run this code from kaggle. features = [c for c in X_test.columns] from pdpbox import pdp, get_dataset, info_plots pdp_thal = pdp.pdp_isolate(model=rf_ent, dataset=X_test,...

Changing axes ranges on a matplotlib figure returned by PDPBox

I've been trying to create ICE/PDP plots for a neural network I have. I was able to make the ICE plots using PDPBox. However, when the plots are printed out, the x axes are over a very small...

Partial dependence plot (PDPbox) error on lightGBM model: "wrong number of items passed 3, placement implies "

I have a snippet of code like this import lightgbm as lgb from pdpbox import pdp, get_dataset, info_plots import seaborn as sns from sklearn.model_selection import train_test_split #load some...

run pdp.pdp_plot for multiple features and put output axes to new figure

Is there a way to plot multiple features using pdp.pdp_plot function from the PDPbox python package? The python package is PDPbox https://pdpbox.readthedocs.io/en/latest/api.html Currently, as I...

Are there 2D partial dependence plots for one-hot-encoded categorical variables in Python?

I'm looking for a good way of visualising the effect that two categorical variables have on a model prediction, in Python. Specifically, logistic regression (which requires one-hot-encoding). I...

Partial dependence plots with min/max (interval) and not only average in Python

Good day, I have applied lightGBM algorithm to real estate price data set (85524 observations and 167 features). I want to receive the interaction between year and real estate area size to price....

Creating a subplot of pdp plots in Matplotlib

I am using pdpbox to create a pdp plots for each of 50 features in a model. I have successfully created and saved these plots using: ``` pdp_plot...

Downgraded library does not work in the conda environment

I've downgraded numpy from 1.16.1 to 1.15.1 in my conda environment (fastai_07), but I'm still getting the numpy 1.16.1: (fastai_07) [email protected]:~/github/fastai$ python Python 3.6.8 |Anaconda, Inc.|...

CondaEnvException: Pip failed. I am getting a pip subprocess error when trying to create an environment in conda using a .yml file

I am trying to create an environment in conda using a .yml file. Here are the commands i have run, git clone https://github.com/fastai/fastai cd fastai conda env create -f environment.yml The...