opf_write_classification | R Documentation |
Writes into a file the predicted labels produced by the opf classificator
opf_write_classification(classes, file)
classes |
The classification list (i.e.,predicted labels) produced by the classifier |
file |
Where you want to save the classification vector |
'NULL'
dat <- opf_read_subGraph(system.file("extdata/boat.dat",package = "LibOPF")) X <- opf_split(dat,0.5,0,0.5,0) T <- X$training T2 <- X$testing Y <- opf_train(T) opf_write_classification(Y$classification, file.path(tempdir(), "classification.txt"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.