Member Junction
    Preparing search index...

    Train ML Model Train a predictive model from an MJ: ML Training Pipelines definition. Carves a locked holdout (point-in-time/as-of aware), trains via the sidecar, persists an immutable Draft MJ: ML Models row, and flags single-feature dominance (possible target leakage). Returns the new model id, its honest holdout metrics, the leakage flag, and the model version. Delegates to TrainingEngine.trainModel in @memberjunction/predictive-studio-engine. GenerationType=Manual — the server body is supplied by a hand-authored subclass registered under 'PredictiveStudio.TrainModel'. This generated base provides the typed contract only (client-safe).

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    ExecutionMode: "LongRunning" = ...

    Whether this operation is a plain Sync request/response or a LongRunning run.

    OperationKey: "PredictiveStudio.TrainModel"

    Stable registry key and wire token for this operation (e.g. RecordProcess.RunNow).

    RequiredScope: "predictive:execute"

    Optional API-key scope string (e.g. recordprocess:execute) enforced for API-key / MCP callers by the server resolver. undefined means no scope gate; interactive users remain bounded by their entity permissions. Informational here — the server applies it.

    RequiresSystemUser: false

    When true, the server only permits the system user to invoke this operation.

    Methods

    • Per-operation authorization hook, composed with (and applied after) the framework gates that the server resolver runs. Returns true by default. Override to enforce operation-specific rules against the input and acting user.

      Parameters

      Returns Promise<boolean>

      True if the operation may proceed.