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
175Start here — configs you author
classificationmetricsresClassification 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.
clusterLanguage-independent config for an rtemis clustering pipeline: a data reference, a `ClusteringConfig`, and an output directory.
conformalLanguage-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.
conformalLanguage-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.
decomposeLanguage-independent config for an rtemis decomposition pipeline: a data reference, a `DecompositionConfig`, and an output directory.
diagnosticsThe 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.
explanationLanguage-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.
explanationLanguage-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.
ingestLanguage-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.
ingestLanguage-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.
partitionLanguage-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.
partitionLanguage-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.
preprocessorLanguage-independent config for rtemis preprocessing. The same config drives rtemis (R), rtemis CLI/shell, and rtemislive to identical output.
profileWhat 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.
regressionmetricsresRegression metrics aggregated across resamples: each resample's metrics, plus their mean and standard deviation.
supervisedLanguage-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
ingest/v1/record.jsonformatstringcolumnsobject | nullcharacter2factorbooleanclean_colnamesbooleanremove_duplicatesbooleaningest/v1formatstringcolumnsobject | nullcharacter2factorbooleanclean_colnamesbooleanremove_duplicatesbooleansupervised/v1outcomestring | nullfeaturesarray | nullweightsstring | nullpositive_classstring | nullpreprocessor_confighyperparametersanytuner_configexecution_configquestionstring | nulloutdirstring | nullverbosityintegerdat_training_pathstring | nulldat_validation_pathstring | nulldat_test_pathstring | nullcharacter2factorbooleanpartition/v1/record.jsonmethodstringpartition/v1methodstringconformal/v1/record.jsontypestringconformal/v1typestringclassificationmetricsres/v1samplestring | nullconfusion_longarray | nullres_metricsClassificationMetrics[]mean_metricsarray | nullsd_metricsarray | nullcluster/v1decompose/v1diagnostics/v1diagnosticsDiagnostic[]explanation/v1/record.jsontypestringexplanation/v1typestringprofile/v1n_rowsintegercolumnsarray | nulllevel_countsarray | nulln_complete_casesintegern_duplicatesinteger | nullfingerprintregressionmetricsres/v1samplestring | nullres_metricsRegressionMetrics[]mean_metricsarray | nullsd_metricsarray | nullpreprocessor/v1complete_casesbooleanremove_features_thresnumber | nullremove_cases_thresnumber | nullmissingnessbooleanimputebooleanimpute_typestringimpute_missRanger_paramsobjectimpute_discretestringimpute_continuousstringinteger2factorbooleaninteger2numericbooleanlogical2factorbooleanlogical2numericbooleannumeric2factorbooleannumeric2factor_levelsarray | nullnumeric_cut_nintegernumeric_cut_labelsbooleannumeric_quant_nintegernumeric_quant_NAonlybooleanunique_len2factorintegercharacter2factorbooleanfactorNA2missingbooleanfactorNA2missing_levelstringfactor2integerbooleanfactor2integer_startat0booleanfactor2integer_levelsobject | nullscalebooleancenterbooleanscale_centersobject | nullscale_coefficientsobject | nullremove_constantsbooleanremove_constants_skip_missingbooleanremove_duplicatesbooleanremove_featuresarray | nullone_hotbooleanone_hot_levelsobject | nulladd_date_featuresbooleandate_featuresstring[]add_holidaysbooleanholidaysstring[]excludearray | nullHarness
6Domain formats
32Formats
a3Amino Acid Annotation (A3) format — structured annotation of amino acid sequences.
chartLanguage-independent config for an rtemis chart. A chart type plus its type-specific data binding, semantics and appearance. The same config drives rtemis.draw (R) and rtemislive (TypeScript) to the same chart.
chartLanguage-independent config for an rtemis chart. A chart type plus its type-specific data binding, semantics and appearance. The same config drives rtemis.draw (R) and rtemislive (TypeScript) to the same chart.
clusteringmetricsClustering metrics: a single-row table of measure values beside a row of statuses saying why each holds what it does. Every measure is declared for every algorithm, so one an algorithm cannot support is null with a status of "unsupported" rather than an absent column -- null alone cannot distinguish a measure that was computed and came out undefined from one nobody asked for.