topepo / FES

Code and Resources for "Feature Engineering and Selection: A Practical Approach for Predictive Models" by Kuhn and Johnson
https://bookdown.org/max/FES
GNU General Public License v2.0
716 stars 237 forks source link

Figure 2.2b plot output in graphic does not match code #104

Open I-Mohiuddin opened 2 years ago

I-Mohiuddin commented 2 years ago

Thanks for giving us feedback on the book. Please follow these guidelines:

Comments or questions on the content

Hello I have been trying to recreate the plots that are seen in the book and I am having a hard time understanding how the plot in figure in 2.2b was created.

I have re-run the code from the github repo in R studio and in python using an sklearn powertransform and while the two are consistent with each other, neither matches the output that i see in the actual text.

Here is the histogram that I am getting when I i run the code from R studio for figure 2.2b.

Thank you!

maxlrnc_transformed