opf_run_example: Runs an usage example

Description Usage Arguments Value

View source: R/LibOPF.R

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

1
opf_run_example(dataset)

Arguments

dataset

A dataset folder for the test

Value

Returns the accuracy


LibOPF documentation built on April 7, 2021, 5:08 p.m.