# Binning Continuous Variables By Entropy From Binary Response (R) [closed]

I am working with at data set where the goal is to predict a binary response. I have a few continuous variable that I think would be beneficial to bin. I was reading this idea about entropy based binning - http://kevinmeurer.com/a-simple-guide-to-entropy-based-discretization/. I have looked around and found entropy and infotheo - in these packages it doesn't look like the methods actually use the response to bin continuous features based on the response.

My question is how can I achieve this in R?

• The R package logiBin can be used to bin continuous variables using the function getBins. – R3D Dec 25 '17 at 12:32

The R package discretize includes the function mdlp.
The RWeka package includes the function Discretize.