User Tools

Site Tools


r:neural_network

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
r:neural_network [2016/12/14 08:44] – [E.G. 3] hkimscilr:neural_network [2016/12/14 09:02] (current) – [E.G 5] hkimscil
Line 539: Line 539:
 results$prediction <- round(results$prediction) results$prediction <- round(results$prediction)
 results[100:115, ] results[100:115, ]
 +
 +pred.table <- table(testset$default10yr, results$prediction)
 +pred.table
 +
 +library(plyr)
 +count(testset, 'default10yr')
 </code> </code>
  
 +with outputs
 <code>> set.seed(1234567890) <code>> set.seed(1234567890)
 > library("neuralnet") > library("neuralnet")
Line 637: Line 644:
   1    3  161   1    3  161
 > >
 +
 +> library(plyr)
 +> count(testset, 'default10yr')
 +  default10yr freq
 +1           0 1036
 +2            164
 +
 </code> </code>
- + 
 +====== E.G 5 ====== 
r/neural_network.1481674477.txt.gz · Last modified: 2016/12/14 08:44 by hkimscil

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki