search for: mafscatter

Displaying 1 result from an estimated 1 matches for "mafscatter".

2008 Jun 25
1
LDA on pre-assigned training and testing data sets
...USE1 == 1.04 |arnaudnognod1$DISC_USE1 == 1.02|arnaudnognod1$DISC_USE1 == 1.05|arnaudnognod1$DISC_USE1 == 1.06,] traintest1$normal <- traintest1$DISC_USE1 == 1.01|traintest1$DISC_USE1 == 1.03|traintest1$DISC_USE1 == 1.04 traintest1$mafelev <- apply(traintest1[,1:40], 1, FUN = mean) traintest1$mafscatter <- apply(traintest1[,1:40], 1, FUN = sd) # NEXT CREATE TRAINING AND TESTING DATAFRAMES train <- traintest1[traintest1$DISC_USE1 == 1.01|traintest1$DISC_USE1 == 1.02,] test <- traintest1[traintest1$DISC_USE1 > 1.02,] # NOW, TRAIN HAS 400 ROWS, TEST HAS 396 ROWS, AND TRAINTEST1 HAS 796...