Skip to content

Commit

Permalink
Missing reshape dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmyleswhite committed Sep 16, 2012
1 parent fcdde7e commit 50d8046
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions 12-Model_Comparison/chapter12.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ mean(with(df, svm.predictions == Label))
#[1] 0.7204

# Third code snippet
library("reshape")
df <- cbind(df,
data.frame(Logit = ifelse(predict(logit.fit) > 0, 1, 0),
SVM = ifelse(predict(svm.fit) > 0, 1, 0)))
Expand Down

0 comments on commit 50d8046

Please sign in to comment.