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)