Please enable JavaScript.
Coggle requires JavaScript to display documents.
MACHINE LEARNING (SUPERVISED (REGRESSION (Accuracy (R-squared: Normalizado…
MACHINE LEARNING
SUPERVISED
REGRESSION
lm(nose_length ~ nose_width, data = kang_nose)
predict(lm_kang,nose_width_new)
-
-
-
-
CLASSIFICATION
-
Decision Trees
tree<- rpart(spam ~ ., train, method = "class", parms = list(split = "information"), control = rpart.control(cp=0.00001))
pred<- predict(tree, test, type="class")
conf<-table(test$spam, pred)
-
-
pruned<-prune(tree, cp = 0.01)
ROC Curve : ROCR package
prediction(probs_k,test$spam)
performance(pred_k,"tpr","fpr") / (pred_k,"auc")
draw_roc_lines(perf_t,perf_k)
-