sg.xval_split_data: Cross-Validation Data Splitter

Description Usage Arguments Value

Description

sg.bern.xval_split_data Bernoulli Subgraph Classifier with Cross Validation to determine the optimal subgraph.

Usage

1
sg.xval_split_data(samp, Y, holdout)

Arguments

samp

[n x n x s] an array of input data.

Y

[s] the class labels.

holdout

[z] the examples to hold out for the validation set.

Value

train_set [n x n x (s - z)] the training examples.

train_y [(s - z)] the labels for the training set.

test_set [n x n x s] the testing examples.

test_y [s] the labels for the testing set.


neurodata/wssg documentation built on May 16, 2019, 10:05 a.m.