Comments (4)
Ran into this issue as well. Any plans for supporting NaN? (since xgboost and other boosting libraries do)
from pdpbox.
My data has no NaN but still runs to this issue...btw I'm using XGBoost
from pdpbox.
Just had this bug, but was able to resolve by removing nan values.
I can't see any nans in the array you posted above, but maybe try a quick variable clean?
from pdpbox.
I've checked the data, and as far as I can tell, as long as the feature doesn't include any null values in the array, it is not drawing this error. Since I used XGBoost, I had to mask the feature set for non-null values in the column of choice.
So it seems, I was unable to recreate the error. Though, I'm not entirely sure which dataset I was using when I posted this, so can't entirely attribute it to a variable clean. I'll repost if I find it again.
from pdpbox.
Related Issues (20)
- git clone https://github.com/SauceCat/PDPbox.git $ cd PDPbox $ python setup.py install
- PDP plot: use train or test set in pdp_isolate()? HOT 4
- pdp.pdp_plot for multiple features HOT 1
- The provided example do not work HOT 1
- Provided example actual_plot: TypeError: predict() argument after ** must be a mapping, not NoneType HOT 1
- How to save pdp and axis values in a list from pdp_isolsate. HOT 1
- Matplotlib version? HOT 8
- How to adjust the fontsize of xlabel, ylabel, xticks and yticks? HOT 1
- Replace the value grid calculation by removing nans HOT 1
- Failed building wheel for matplotlib HOT 5
- help๏ผ
- ValueError: train and valid dataset categorical_feature do not match. HOT 1
- How to get figures without actual drawing ?
- Use scikit-learn instead of sklearn HOT 5
- Making PDPplots work with XGBoost Distribution
- After I draw the image using the following methods, I want to change the name of the x-axis and y-axis separately.What should I do? HOT 1
- Request help in using the library HOT 2
- If the column label of the feature is Chinese, it cannot be displayed
- Is PDP visualization suitable for binary variables?
- get_dataset import error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pdpbox.