Learn R Programming

LibOPF (version 2.5.0)

opf_fold: Generates k folds (objects) for the OPF classifier

Description

Generates k folds (objects) for the OPF classifier

Usage

opf_fold(dataSet, k, normalize = 0)

Arguments

dataSet

The subGraph object

k

Number of folds

normalize

Distance normalization? 1- yes 0 - no

Value

Returns a list of subGraph objects

Examples

Run this code
# NOT RUN {
dat <- opf_read_subGraph(system.file("extdata/boat.dat",package = "LibOPF"))
folds <- opf_fold(dat, 4)

# }

Run the code above in your browser using DataLab