@transformed contains the fitted component scores. apply_decomp() projects new cases using the fitted transformation. reconstruct() maps a fitted representation back to input space where the method supports it. Reconstruction from fewer components is generally approximate.
PCA describes orthogonal directions of variance. ICA estimates independent components. NMF requires nonnegative inputs. PCoA uses a selected dissimilarity and Gower’s out-of-sample mapping. MDS supports metric or nonmetric fitting through vegan with multiple starts. UMAP and tSNE provide nonlinear embeddings with different neighborhood objectives.
Decomposition and clustering select numeric columns when features is unset. An explicit feature subset makes that choice part of the configuration. decomp_metrics() computes measures appropriate to the decomposition’s capabilities; inspect unavailable measures and their applicability.
These configurations require a working torch runtime to fit. Input noise or input dropout configures denoising. The variational autoencoder reports latent means as components; beta weights the KL-divergence contribution to the objective. Device and algorithm threads come from execution_config.
2026-10-08 02:54:09 Checking data is ready for training... ✔ [check_supervised]
2026-10-08 02:54:09 ▶ [train]2026-10-08 02:54:09 Training set: 150 cases x 4 features. [summarize_supervised]2026-10-08 02:54:09 //CPU | serial | 1 worker: algorithm 1 thread, tuning 1, outer resampling 1 (as set) [msg_resources]2026-10-08 02:54:09 Shared memory (auto): not sharing training data (7.3 kB) -- this run transfers nothing to workers. [report_shared_memory]2026-10-08 02:54:09 <> Training CART Classification using 3 independent folds... [train]⠋ Outer resamples 1/3⠙ Outer resamples 2/3ETA 0:01⠹ Outer resamples 3/3ETA 0:00⠸ Outer resamples 3/32026-10-08 02:54:10 ✔ Outer resamples 3/3 done in 0:01
2026-10-08 02:54:10 </> Outer resampling done. [train]
<Resampled Classification Model>CART (CART decision tree (rpart))
◈ Decomposed 4 features to 2 components using PCA.
⟳ Tested using 3 independent folds.
<Resampled Classification Training Metrics>Aggregate Confusion Matrix across resamples.
Predicted Referencesetosa versicolor virginica setosa 100 0 0
versicolor 0 98 2
virginica 0 2 98
Showing mean (sd) across resamples.
Balanced Accuracy: 0.987 (0.011) F1: 0.987 (0.011) Accuracy: 0.987 (0.011)<Resampled Classification Test Metrics>Aggregate Confusion Matrix across resamples.
Predicted Referencesetosa versicolor virginica setosa 50 0 0
versicolor 0 41 9
virginica 0 5 45
Showing mean (sd) across resamples.
Balanced Accuracy: 0.907 (0.073) F1: 0.907 (0.073) Accuracy: 0.907 (0.073)
2026-10-08 02:54:10 Done in 1.38 seconds. [train]
review(mod)
<SupervisedReview>
CART decision tree (rpart) was used for classification. Decomposition was performed using PCA, reducing 4 numeric features to 2 components. Mean balanced accuracy was 0.99 in the training set and 0.91 in the test set across 3 independent folds.
3 resamples: 150 out-of-sample predictions of 150 cases, at least 99 training cases per resample; 4 predictors, 2 learner columns including 2 components from PCA (16.5 minority-class training cases per learner column).
Performance, mean (SD) over 3 resamples
Training Test Training - test
Balanced Accuracy 0.987 (0.011) 0.907 (0.073) 0.079
F1 0.987 (0.011) 0.907 (0.073) 0.080
Accuracy 0.987 (0.011) 0.907 (0.073) 0.079
Baseline comparisons, mean over resamples
Accuracy 0.907 vs 0.333 (most common training class); better in 3 of 3 resamples compared
Balanced Accuracy 0.907 vs 0.333 (chance level); better in 3 of 3 resamples compared
Findings
* FOLD_VARIATION (note): Test balanced accuracy ranged from 0.824 to 0.961 across 3 resamples (mean 0.907, SD 0.073); 3 of 3 resamples in which the metric is defined outperformed their baseline. Resamples share training cases, so their results are not independent, and no confidence interval or test is computed from them.
Limitations
- Whether the model is useful depends on the question it addresses, the costs of different errors, and how its predictions will be used; performance metrics cannot establish this.
- Preprocessing, decomposition and tuning done by rtemis are fitted on the training cases of each split and only applied to its test cases. Steps taken before the data was passed to rtemis -- selecting or filtering predictors, transforming or removing cases using all the data, or choosing among models by their test performance -- can bias evaluation; this review cannot determine whether that happened.
- Performance estimates apply to cases from the population the data was drawn from; performance on a different population or setting may differ.
The transformation is learned within the training splits. Supervised configurations require a method that can transform new cases, because the same fitted transformation applies to assessment data and later predictions.