opf_read_subGraph {LibOPF}R Documentation

Reads a file which contains the subGraph

Description

Reads a file which contains the subGraph

Usage

opf_read_subGraph(file)

Arguments

file

The file name

Value

Returns the subGraph object

Examples

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)
class <- opf_classify(T2, Y$classifier)
acc <- opf_accuracy(T2, class)


[Package LibOPF version 2.6.2 Index]