Path: blob/master/april_18/lessons/lesson-10/code/starter-code/starter-code-10.ipynb
1905 views
Kernel: Python 2
Cost Benefit Questions
How would you rephrase the business problem if your model was optimizing toward precision? i.e., How might the model behave differently, and what effect would it have?
How would you rephrase the business problem if your model was optimizing toward recall?
What would the most ideal model look like in this case?
Visualizing models over variables
In [1]:
In [2]:
In [3]:
Out[3]:
In [4]:
In [5]:
Out[5]:
(458311, 37)
In [6]:
In [7]:
Out[7]:
[<matplotlib.text.Text at 0x101b6b650>]
Other Answers: visualizing Airline or the inverse
In [8]:
In [ ]:
Visualizing Performance Against Baseline
Visualizing AUC and comparing Models
In [16]:
In [20]:
In [ ]:
In [21]:
Out[21]:
[<matplotlib.text.Text at 0x10b8d5650>,
<matplotlib.text.Text at 0x108ea2250>,
(0, 1),
(0, 1),
<matplotlib.text.Text at 0x109140250>]
Visualizing Precision / Recall
In [ ]: