BoolMatrixRef
Boolean matrix reference
Operations
Bootstrap
Builds random bootstrapped dataset
method : public : native : Bootstrap() ~ BoolMatrixRef
Return
Type | Description |
---|---|
BoolMatrixRef | bootstrapped dataset |
Columns
Returns the number of columns in the matrix
method : public : Columns() ~ Int
Return
Type | Description |
---|---|
Int | number of columns in the matrix |
Rows
Returns the number of rows in the matrix
method : public : Rows() ~ Int
Return
Type | Description |
---|---|
Int | number of rows in the matrix |
Split
Splits a 2D boolean matrix
method : public : Split(training_offset:Float) ~ BoolMatrixRef[]
Parameters
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 |
Return
Type | Description |
---|---|
BoolMatrixRef | split matrix of training and data sets |
ToString
Formats the matrix into a string
method : public : ToString() ~ String
Return
Type | Description |
---|---|
String | string representation |