Skip to main content
Version: Next

Type Alias: ClassificationConfig<T>

ClassificationConfig<T> = object

Defined in: types/classification.ts:15

Configuration for a custom classification model.

Type Parameters

T

T extends LabelEnum

The LabelEnum type for the model.

Properties

labelMap

labelMap: T

Defined in: types/classification.ts:16

The enum-like object mapping class names to indices.


preprocessorConfig?

optional preprocessorConfig: object

Defined in: types/classification.ts:17

Optional preprocessing parameters.

normMean?

optional normMean: Triple<number>

normStd?

optional normStd: Triple<number>