Skip to content

Commit de3590c

Browse files
committed
Fixed: Another type in xgboost_customer_churn
1 parent 03d3344 commit de3590c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

introduction_to_applying_machine_learning/xgboost_customer_churn/xgboost_customer_churn.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@
502502
"\n",
503503
"An important point here is that because of the `np.round()` function above we are using a simple threshold (or cutoff) of 0.5. Our predictions from `xgboost` come out as continuous values between 0 and 1 and we force them into the binary classes that we began with. However, because a customer that churns is expected to cost the company more than proactively trying to retain a customer who we think might churn, we should consider adjusting this cutoff. That will almost certainly increase the number of false positives, but it can also be expected to increase the number of true positives and reduce the number of false negatives.\n",
504504
"\n",
505-
"To get a rought intuition here, let's look at the continuous values of our predictions."
505+
"To get a rough intuition here, let's look at the continuous values of our predictions."
506506
]
507507
},
508508
{

0 commit comments

Comments
 (0)