The chart shows a logistic curve fit between the horsepower and miles per gallon for individal cars in the Motor Trend Car Road Test dataset. Instead of using the raw horsepower value from the dataset, we convert it to a binary value. If it is below a certain cutoff point the assigned value is 0, otherwise 1. Use the slider to adjust this cutoff value and watch how the logistic curve changes.
Use the slider to choose a horsepower to divide the dataset.
HP: