Description Usage Arguments Value
sg.bern.xval_split_data
Bernoulli Subgraph Classifier with Cross Validation to determine the optimal subgraph.
1 | sg.xval_split_data(samp, Y, holdout)
|
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. |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.