Member Junction
    Preparing search index...

    The shape of RunQueryEnrichment.Config this enricher reads. Owned here (not by MJCore), so RunQuery stays generic.

    interface MLModelScoreEnricherConfig {
        modelId: string;
        outputField: string;
        primaryKeyField?: string;
        valueKind?: "score" | "class";
    }
    Index

    Properties

    modelId: string

    The MJ: ML Models id to score each row with.

    outputField: string

    The result column the prediction is written into (added to each scored row).

    primaryKeyField?: string

    The result column holding each row's primary key (joined to the model's records). Defaults to ID.

    valueKind?: "score" | "class"

    Which prediction value to write: the numeric score (default — e.g. a renewal probability) or the classification class label. Falls back to score when class is requested but absent.