Interface FingerprintingOptions

interface FingerprintingOptions {
    aggFn?: ((values, key?) => number);
    autoUpdate?: boolean;
    classifier?: string;
    defaultValue?: number;
    deserialize?: ((obj) => any);
    groupBy?: ((position) => any);
    interpolate?: boolean;
    keepChangelog?: boolean;
    serialize?: ((obj) => any);
    uid?: string;
}

Hierarchy

  • DataServiceOptions
    • FingerprintingOptions

Properties

aggFn?: ((values, key?) => number)

Aggregation function

Type declaration

    • (values, key?): number
    • Parameters

      • values: number[]
      • Optional key: string

      Returns number

Default

{} Mean value
autoUpdate?: boolean

Auto update the fingerprints for each newly recorded fingerprint.

Enabling this can cause performance issues

Default

false
classifier?: string

Fingerprint classifier

Default

""
defaultValue?: number

Default value of missing fingerprint values

deserialize?: ((obj) => any)

Type declaration

    • (obj): any
    • Parameters

      • obj: any

      Returns any

groupBy?: ((position) => any)

Group by function for fingerprint positions By default, uses the position vector only. Can be modified for different rounding options or addition of orientation.

Type declaration

    • (position): any
    • Parameters

      • position: AbsolutePosition

      Returns any

interpolate?: boolean
keepChangelog?: boolean

Keep a changelog of objects returned by the data service

serialize?: ((obj) => any)

Type declaration

    • (obj): any
    • Parameters

      • obj: any

      Returns any

uid?: string