opf_read_subGraph: Reads a file which contains the subGraph

Description Usage Arguments Value Examples

View source: R/LibOPF.R

Description

Reads a file which contains the subGraph

Usage

1

Arguments

file

The file name

Value

Returns the subGraph object

Examples

1
2
3
4
5
6
7
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)

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