Description Usage Arguments Value Examples
View source: R/create_prediction.R
This function creates a synthetic data set as well as the actual labels
1 | create_predictions(nsamples, nclassifiers, prevelance, type)
|
nsamples |
A number representing the number of samples |
nclassifiers |
A number representing the number of classifiers |
prevelance |
A number representing the percentage of positive samples |
type |
A character either "binary" or "rank" |
A list where the first element is the prediction matrix and the second element is actual labels
1 2 | data_binary=create_predictions(100,20,0.4,"binary")
data_rank=create_predictions(100,20,0.7,"rank")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.