Lens Scripting API

    Class DeltaBuilder

    Builder class for Delta.

    var deltaBuilder = MachineLearning.createDeltaBuilder();
    var delta = deltaBuilder.setNumFeatures(numFeatures).setWindowSize(windowSize).build();

    Hierarchy (View Summary, Expand)

    Index

    Constructors

    Methods

    • Create a new Delta object.

      Returns Delta

    • Returns true if the object matches or derives from the passed in type.

      Parameters

      • type: string

      Returns boolean

    • Returns true if this object is the same as other. Useful for checking if two references point to the same thing.

      Parameters

      Returns boolean

    • Specify number of channels. Currently, only mono is supported, so should be set to 1.

      Parameters

      • numFeatures: number

      Returns DeltaBuilder

    MMNEPVFCICPMFPCPTTAAATR