_覓 | 覦覈襦 | 豕蠏手 | 殊螳 | 譯殊碁 |
FrontPage › Sampling
|
|
[edit]
Sampling #training 一危磯 30%, test 一危磯ゼ 70%
library(caret) partition_idx <- createDataPartition (x$危覿, p=0.3)$Resample1 training <- x[partition_idx, ] test <- x[-partition_idx, ] library(caret) tmp <- downSample(subset(x, select = -危覿), factor(dataset$危覿)) tmp <- upSample(subset(x, select = -危覿), factor(dataset$危覿))
鏤
|
苦 讌 . 磯Μ 蠍 企伎 朱 殊狩伎朱 螻手碓襯 螳螻 覩碁襯 螻襷 覈磯朱 蠏碁Μ螻 襯 螳讌 朱 苦 讌朱 襷. (覦覦朱れ) |