LoadedLabelCellsReference

LoadedLabelCellsReference

Wrapper around a labelled reference dataset on the Wasm heap, typically produced by loadLabelCellsReferenceFromBuffers.

Methods

free()

Source:
Returns:

Frees the memory allocated on the Wasm heap for this object. This invalidates this object and all references to it.

numberOfFeatures() → {number}

Source:
Returns:

Number of features in this dataset.

Type
number

numberOfLabels() → {number}

Source:
Returns:

Number of labels in this dataset.

Type
number

numberOfSamples() → {number}

Source:
Returns:

Number of samples in this dataset.

Type
number