Description Usage Arguments Author(s) Examples
This function classifies the data unclassified after the last iteration using glm()
1 | assert(train_data, test_data, prob = 0.5)
|
train_data |
Training dataset used for model generation |
test_data |
A testing dataset to cross-validate the model |
prob |
Prior proportion of the data classified as 1 |
Yan Sun, Yanke Zhu, Tao Liu
1 2 3 4 | dataxx = simulate_normal(n=40, p=0.8)
dataxx1 = data.frame(dataxx[2*(1:400), ])
dataxx2 = data.frame(dataxx[2*(1:400)-1, ])
assert(train_data, test_data, prob = 0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.