Member Junction
    Preparing search index...

    Action: "Run Cluster Analysis"

    Thin wrapper over ClusteringEngine.RunPipeline. Fetches embedding vectors for an entity / entity document, clusters them (KMeans or DBSCAN), projects them to 2D/3D, optionally names clusters with an LLM, and — when a PersistAs name is supplied — persists the result to MJ: Cluster Analysis.

    All business logic lives in the engine; this action only maps params and returns a summary.

    Parameters (Input):

    • EntityID: ID of the entity to cluster (alternative to EntityDocumentID).
    • EntityDocumentID: specific Entity Document supplying vectors.
    • Algorithm: 'kmeans' (default) or 'dbscan'.
    • K: number of clusters for KMeans (default 4).
    • Epsilon: DBSCAN neighbourhood radius (default 0.3).
    • MinPoints: DBSCAN minimum points (default 3).
    • DistanceMetric: 'cosine' (default) | 'euclidean' | 'dotproduct'.
    • MaxRecords: max records to fetch (default 500).
    • Filter: optional SQL filter applied to the source records.
    • NameClusters: 'true' to run LLM cluster naming (default false).
    • PersistAs: when set, the analysis is saved with this name.

    Output params: AnalysisID (when persisted), ClusterCount, RecordCount, SilhouetteScore.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    AuthorizesCaller: boolean

    True when the action authorizes its caller itself, so a public entry point such as the RunAction mutation may run it for an authenticated user without an MJ: Action Authorizations link. Set it only on an action that either checks an authorization the caller must hold, or reads and writes only with the caller's own permissions. Leave it false for an action that acts with more authority than its caller, or that reaches data or sends messages the caller chooses but could not otherwise reach.

    The engine reads the marker only from the class that runs, never from its parent classes. A subclass that overrides a marked action must declare the marker again.

    Methods