opf_write_modelfile | R Documentation |
Writes into a file the trained OPF classifier
opf_write_modelfile(g, file)
g |
The classifier object |
file |
The file name to save the classifier |
'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_modelfile(Y$classifier, file.path(tempdir(), "classifier.opf"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.