From 2ec8ca4c8fb75beedec4f69d19fc04cfa249d621 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bogumi=C5=82=20Kami=C5=84ski?= Date: Sat, 26 Feb 2022 23:44:20 +0100 Subject: [PATCH] add makeunique example --- ch13.jl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ch13.jl b/ch13.jl index 3d86d22..c64349a 100644 --- a/ch13.jl +++ b/ch13.jl @@ -262,3 +262,9 @@ train_roc = roc(train, score=:predict, target=:arrest) plot!(train_roc.pfa, train_roc.pmiss; color="gold", lw=3, label="train (AUC=$(round(100*auc(train_roc), digits=2))%)") + +# Codes for section 13.5 + +DataFrame(:a=>1, :a=>2) + +DataFrame(:a=>1, :a=>2, makeunique=true)