r:neural_network
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| r:neural_network [2016/12/14 00:10] – [E.G. 3] hkimscil | r:neural_network [2016/12/14 00:32] (current) – [E.G 5] hkimscil | ||
|---|---|---|---|
| Line 539: | Line 539: | ||
| results$prediction <- round(results$prediction) | results$prediction <- round(results$prediction) | ||
| results[100: | results[100: | ||
| + | |||
| + | pred.table <- table(testset$default10yr, | ||
| + | pred.table | ||
| + | |||
| + | library(plyr) | ||
| + | count(testset, | ||
| </ | </ | ||
| + | with outputs | ||
| < | < | ||
| > library(" | > library(" | ||
| Line 629: | Line 636: | ||
| 915 0 0 | 915 0 0 | ||
| </ | </ | ||
| + | |||
| + | < | ||
| + | > pred.table | ||
| + | |||
| + | | ||
| + | 0 1035 1 | ||
| + | 1 3 161 | ||
| + | > | ||
| + | |||
| + | > library(plyr) | ||
| + | > count(testset, | ||
| + | default10yr freq | ||
| + | 1 0 1036 | ||
| + | 2 | ||
| + | |||
| + | </ | ||
| + | |||
| + | ====== E.G 5 ====== | ||
| + | |||
r/neural_network.1481674256.txt.gz · Last modified: by hkimscil
