All Bundles

BoolMatrixRef

Boolean matrix reference

Operations

New

Default constructor

New()

Copy constructor

New(value:Bool[,])
Parameters
NameTypeDescription
valueBool[,]boolean value

Bootstrap

Builds random bootstrapped dataset

method : public : native : Bootstrap() ~ BoolMatrixRef
Return
TypeDescription
BoolMatrixRefbootstrapped dataset

Columns

Returns the number of columns in the matrix

method : public : Columns() ~ Int
Return
TypeDescription
Intnumber of columns in the matrix

Get

Get boolean value

method : public : Get() ~ Bool[,]
Return
TypeDescription
Bool[,]boolean value

Rows

Returns the number of rows in the matrix

method : public : Rows() ~ Int
Return
TypeDescription
Intnumber of rows in the matrix

Split

Splits a 2D boolean matrix

method : public : Split(training_offset:Float) ~ BoolMatrixRef[]
Parameters
NameTypeDescription
training_offsetFloatindex of first column with target data. The first element is the train dateset, while the second is the test data

Return
TypeDescription
BoolMatrixRef[]split matrix of training and data sets

ToString

Formats the matrix into a string

method : public : ToString() ~ String
Return
TypeDescription
Stringstring representation