Boolean matrix reference
OperationsDefault constructor
New()
Copy constructor
New(value:Bool[,])
Name | Type | Description |
---|---|---|
value | Bool[,] | boolean value |
Builds random bootstrapped dataset
method : public : native : Bootstrap() ~ BoolMatrixRef
Type | Description |
---|---|
BoolMatrixRef | bootstrapped dataset |
Returns the number of columns in the matrix
method : public : Columns() ~ Int
Type | Description |
---|---|
Int | number of columns in the matrix |
Get boolean value
method : public : Get() ~ Bool[,]
Type | Description |
---|---|
Bool[,] | boolean value |
Returns the number of rows in the matrix
method : public : Rows() ~ Int
Type | Description |
---|---|
Int | number of rows in the matrix |
Splits a 2D boolean matrix
method : public : Split(training_offset:Float) ~ BoolMatrixRef[]
Name | Type | Description |
---|---|---|
training_offset | Float | index of first column with target data. The first element is the train dateset, while the second is the test data |
Type | Description |
---|---|
BoolMatrixRef[] | split matrix of training and data sets |
Formats the matrix into a string
method : public : ToString() ~ String
Type | Description |
---|---|
String | string representation |