opf_run_example {LibOPF} | R Documentation |
Runs an usage example
Description
This function will run this example:
dat <- opf_read_subGraph(dataset) (dataset is the subgraph file)
X <- opf_split(dat,0.5,0,0.5,0)
T <- X$training
T2 <- X$testing
Y <- opf_train(T)
class <- opf_classify(T2, Y$classifier)
acc <- opf_accuracy(T2, class)
Usage
opf_run_example(dataset)
Arguments
dataset |
A dataset folder for the test |
Value
Returns the accuracy
[Package LibOPF version 2.6.2 Index]