SauceCat / PDPbox

python partial dependence plot toolbox
http://pdpbox.readthedocs.io/en/latest/
MIT License
840 stars 129 forks source link

Display results using inverse logit function #63

Open rwilleynyc opened 4 years ago

rwilleynyc commented 4 years ago

I find this library to be incredibly useful, though I would like to know if there are ways to customize the pdp_plot a bit more. Specifically, I would like to be able to:

  1. Display the values on the distribution of data points as percentages.
  2. Adjust the results using the inverse logit function so that the values are on a 0 to 1 scale rather than -1 to 1 scale. This would allow the ability to interpret results as more of a probability, which is easier for non-technical stakeholders to understand.

I don't see a way to do either of these at present, but it would be incredibly helpful to have these as optional arguments.