Interface: SklearnStep
Defined in: ml/model.ts:418
A scikit-learn estimator as a tree of steps. Leaves are estimators; steps makes a composite — a Pipeline (mode: "sequential") or a FeatureUnion / ColumnTransformer (mode: "parallel").
Properties
columns?
ts
optional columns?: string[];Defined in: ml/model.ts:432
Columns a ColumnTransformer branch operates on (shown in the label).
mode?
ts
optional mode?: "sequential" | "parallel";Defined in: ml/model.ts:426
How the children combine. Default "sequential".
name
ts
name: string;Defined in: ml/model.ts:420
Step name ("scaler", "clf", …).
params?
ts
optional params?: number;Defined in: ml/model.ts:430
Fitted parameter count, if known.
shape?
ts
optional shape?: number[];Defined in: ml/model.ts:428
Output feature count / shape, if known.
steps?
ts
optional steps?: SklearnStep[];Defined in: ml/model.ts:424
Child steps of a composite estimator.
type
ts
type: string;Defined in: ml/model.ts:422
Estimator class: "StandardScaler", "RandomForestClassifier", …