rtemis

Command Palette

Search for a command to run...

Schemas

Language-independent JSON Schema definitions for rtemis. The same config drives rtemis (R), rtemis-py and rtemislive — these documents are the contract between them.

213 schemasschema.rtemis.orgindex.json

Machine learning

175

Start here — configs you author

ClassificationMetricsResclassificationmetricsres

Classification metrics aggregated across resamples: each resample's metrics, the aggregate confusion matrix in long form, and the mean and standard deviation of the overall metrics.

ClusterConfigcluster

Language-independent config for an rtemis clustering pipeline: a data reference, a `ClusteringConfig`, and an output directory.

ConformalConfigconformal

Language-independent config for an rtemis conformal prediction region. Mirrors the `ConformalConfig` object: a construction plus its construction-specific settings. The construction is tagged rather than inferred, since which of them a run may use depends on the model it is applied to, not on the document. `type` selects the variant; its resolved settings are siblings of it, validated against the variant's own record schema below.

ConformalConfigconformal

Language-independent config for an rtemis conformal prediction region. Mirrors the `ConformalConfig` object: a construction plus its construction-specific settings. The construction is tagged rather than inferred, since which of them a run may use depends on the model it is applied to, not on the document. `type` selects the variant and its settings are siblings of it, validated against the variant's own schema below. Anything not set takes rtemis's default, so an object holding only `type` is that variant with every default.

DecomposeConfigdecompose

Language-independent config for an rtemis decomposition pipeline: a data reference, a `DecompositionConfig`, and an output directory.

Diagnosticsdiagnostics

The findings for one rtemis config, in the order they were made. An empty array means the config is clean: there is no separate validity flag, an empty list of problems being the same statement.

ExplanationConfigexplanation

Language-independent config for a per-case rtemis explanation. Mirrors the `ExplanationConfig` object: a kind of explanation plus its kind-specific settings. The kind is tagged rather than inferred, so a second kind of explanation can be added without changing how the first is read. `type` selects the variant; its resolved settings are siblings of it, validated against the variant's own record schema below.

ExplanationConfigexplanation

Language-independent config for a per-case rtemis explanation. Mirrors the `ExplanationConfig` object: a kind of explanation plus its kind-specific settings. The kind is tagged rather than inferred, so a second kind of explanation can be added without changing how the first is read. `type` selects the variant and its settings are siblings of it, validated against the variant's own schema below. Anything not set takes rtemis's default, so an object holding only `type` is that variant with every default.

IngestConfigingest

Language-independent config for reading a data file and normalizing it to Parquet. A delimited file or a spreadsheet carries no usable type information and Parquet does, so this is the one step that decides types -- everything after it reads a declaration rather than inferring one. `format` is what the file is, not a preference, so it has no default and a config that disagrees with its file is an error. `format` selects the variant; its resolved settings are siblings of it, validated against the variant's own record schema below.

IngestConfigingest

Language-independent config for reading a data file and normalizing it to Parquet. A delimited file or a spreadsheet carries no usable type information and Parquet does, so this is the one step that decides types -- everything after it reads a declaration rather than inferring one. `format` is what the file is, not a preference, so it has no default and a config that disagrees with its file is an error. `format` selects the variant and its settings are siblings of it, validated against the variant's own schema below. Anything not set takes rtemis's default, so an object holding only `format` is that variant with every default.

PartitionConfigpartition

Language-independent config for splitting a dataset into a training set and a held-out test set. A first-class, auditable operation -- the same reason `ingest` is one -- rather than a field on `SuperConfig`: how a held-out set was produced is a decision the record must be able to report. `method` selects the variant; its resolved settings are siblings of it, validated against the variant's own record schema below.

PartitionConfigpartition

Language-independent config for splitting a dataset into a training set and a held-out test set. A first-class, auditable operation -- the same reason `ingest` is one -- rather than a field on `SuperConfig`: how a held-out set was produced is a decision the record must be able to report. `method` selects the variant and its settings are siblings of it, validated against the variant's own schema below. Anything not set takes rtemis's default, so an object holding only `method` is that variant with every default.

PreprocessorConfigpreprocessor

Language-independent config for rtemis preprocessing. The same config drives rtemis (R), rtemis CLI/shell, and rtemislive to identical output.

DataProfileprofile

What one dataset is, in the facts a validator needs: dimensions, columns with their types, distinct and missing counts, level counts for low-cardinality categorical columns, and complete-case and duplicate counts. Bounded by the number of columns rather than the number of rows, so it travels where the data cannot.

RegressionMetricsResregressionmetricsres

Regression metrics aggregated across resamples: each resample's metrics, plus their mean and standard deviation.

SuperConfigsupervised

Language-independent config for an rtemis supervised-learning run. Mirrors the `SuperConfig` object: data references, optional preprocessing / decomposition, an algorithm with hyperparameters, optional tuning and outer resampling, and execution settings. The same config drives rtemis (R), rtemis CLI/shell, and rtemislive.

Components — composed into the configs above

Composition

How the schemas above assemble — every reference is a link

IngestConfigingest/v1/record.json
formatstring
columnsobject | null
character2factorboolean
clean_colnamesboolean
remove_duplicatesboolean
IngestConfigingest/v1
formatstring
columnsobject | null
character2factorboolean
clean_colnamesboolean
remove_duplicatesboolean
SuperConfigsupervised/v1
outcomestring | null
featuresarray | null
weightsstring | null
positive_classstring | null
preprocessor_config
decomposition_config
hyperparametersany
tuner_config
outer_resampling_config
execution_config
questionstring | null
outdirstring | null
verbosityinteger
dat_training_pathstring | null
dat_validation_pathstring | null
dat_test_pathstring | null
character2factorboolean
PartitionConfigpartition/v1/record.json
methodstring
PartitionConfigpartition/v1
methodstring
ConformalConfigconformal/v1/record.json
typestring
ConformalConfigconformal/v1
typestring
ClassificationMetricsResclassificationmetricsres/v1
samplestring | null
confusion_longarray | null
res_metricsClassificationMetrics[]
mean_metricsarray | null
sd_metricsarray | null
ClusterConfigcluster/v1
dat_pathstring | null
algorithmstring | null
outdirstring
verbosityinteger
DecomposeConfigdecompose/v1
dat_pathstring | null
algorithmstring | null
decomposition_config
outdirstring
verbosityinteger
Diagnosticsdiagnostics/v1
diagnosticsDiagnostic[]
ExplanationConfigexplanation/v1/record.json
typestring
ExplanationConfigexplanation/v1
typestring
DataProfileprofile/v1
n_rowsinteger
columnsarray | null
level_countsarray | null
n_complete_casesinteger
n_duplicatesinteger | null
fingerprint
RegressionMetricsResregressionmetricsres/v1
samplestring | null
res_metricsRegressionMetrics[]
mean_metricsarray | null
sd_metricsarray | null
PreprocessorConfigpreprocessor/v1
complete_casesboolean
remove_features_thresnumber | null
remove_cases_thresnumber | null
missingnessboolean
imputeboolean
impute_typestring
impute_missRanger_paramsobject
impute_discretestring
impute_continuousstring
integer2factorboolean
integer2numericboolean
logical2factorboolean
logical2numericboolean
numeric2factorboolean
numeric2factor_levelsarray | null
numeric_cut_ninteger
numeric_cut_labelsboolean
numeric_quant_ninteger
numeric_quant_NAonlyboolean
unique_len2factorinteger
character2factorboolean
factorNA2missingboolean
factorNA2missing_levelstring
factor2integerboolean
factor2integer_startat0boolean
factor2integer_levelsobject | null
scaleboolean
centerboolean
scale_centersobject | null
scale_coefficientsobject | null
remove_constantsboolean
remove_constants_skip_missingboolean
remove_duplicatesboolean
remove_featuresarray | null
one_hotboolean
one_hot_levelsobject | null
add_date_featuresboolean
date_featuresstring[]
add_holidaysboolean
holidaysstring[]
excludearray | null

Harness

6

Domain formats

32