v2025.6.2
All Bundles

BoolMatrixRef

Boolean matrix reference

Operations

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
Boolboolean value

New

Default constructor

New()

New

Copy constructor

New(value:Bool[,])

Parameters

NameTypeDescription
valueBoolboolean 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
BoolMatrixRefsplit matrix of training and data sets

ToString

Formats the matrix into a string

method : public : ToString() ~ String

Return

TypeDescription
Stringstring representation