{
  "name": "caret workflow functions, outputs and validation boundaries",
  "description": "Original crosswalk compiled from the official caret reference manual, Sonar vignette and chapters on splitting, preprocessing and performance. It pairs documented function outputs with their place in a training and held-out evaluation workflow; it contains no benchmark performance estimates.",
  "page": "https://casrai.org/guides/caret-r-package",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-12-05T10:30:00Z",
  "temporalCoverage": null,
  "spatialCoverage": null,
  "columns": [
    {
      "name": "Function or interface",
      "unit": "",
      "description": ""
    },
    {
      "name": "Documented output",
      "unit": "",
      "description": ""
    },
    {
      "name": "Workflow role",
      "unit": "",
      "description": ""
    },
    {
      "name": "Source URL",
      "unit": "",
      "description": ""
    }
  ],
  "rows": [
    {
      "Function or interface": "createDataPartition()",
      "Documented output": "Row indices for training observations",
      "Workflow role": "Initial training/test partition; factor outcomes sampled within classes",
      "Source URL": "https://topepo.github.io/caret/data-splitting.html"
    },
    {
      "Function or interface": "groupKFold()",
      "Documented output": "Grouped resampling indices",
      "Workflow role": "Keep a group out of the fold used to fit a model",
      "Source URL": "https://topepo.github.io/caret/data-splitting.html"
    },
    {
      "Function or interface": "preProcess() and predict.preProcess()",
      "Documented output": "Estimated transformation and transformed predictor data",
      "Workflow role": "Estimate from training data, apply the learned transformation to new data",
      "Source URL": "https://topepo.github.io/caret/pre-processing.html"
    },
    {
      "Function or interface": "train() with tuneGrid",
      "Documented output": "train object containing results, bestTune and finalModel",
      "Workflow role": "Compare candidate settings by resampling; refit selected settings on supplied training data",
      "Source URL": "https://cran.r-project.org/web/packages/caret/refman/caret.html"
    },
    {
      "Function or interface": "trainControl(savePredictions = \"final\")",
      "Documented output": "Settings that retain resample predictions for selected tuning parameters",
      "Workflow role": "Retain predictions from resampling, distinct from an external test prediction",
      "Source URL": "https://cran.r-project.org/web/packages/caret/refman/caret.html"
    },
    {
      "Function or interface": "predict.train(type = \"prob\")",
      "Documented output": "Class probability columns",
      "Workflow role": "Generate probabilities for new observations using the trained workflow",
      "Source URL": "https://cran.r-project.org/web/packages/caret/vignettes/caret.html"
    },
    {
      "Function or interface": "confusionMatrix()",
      "Documented output": "Prediction/reference cross-tabulation and performance statistics",
      "Workflow role": "Evaluate predicted classes against observed classes",
      "Source URL": "https://topepo.github.io/caret/measuring-performance.html"
    },
    {
      "Function or interface": "postResample() with numeric outcomes",
      "Documented output": "RMSE, squared-correlation R-squared and MAE",
      "Workflow role": "Summarize observed and predicted numeric outcomes",
      "Source URL": "https://topepo.github.io/caret/measuring-performance.html"
    }
  ],
  "sources": [
    {
      "title": "caret reference manual",
      "url": "https://cran.r-project.org/web/packages/caret/refman/caret.html",
      "accessed": "2026-11-15"
    },
    {
      "title": "caret Data Splitting",
      "url": "https://topepo.github.io/caret/data-splitting.html",
      "accessed": "2026-11-15"
    },
    {
      "title": "caret Pre-Processing",
      "url": "https://topepo.github.io/caret/pre-processing.html",
      "accessed": "2026-11-15"
    },
    {
      "title": "caret Measuring Performance",
      "url": "https://topepo.github.io/caret/measuring-performance.html",
      "accessed": "2026-11-15"
    },
    {
      "title": "A Short Introduction to the caret Package",
      "url": "https://cran.r-project.org/web/packages/caret/vignettes/caret.html",
      "accessed": "2026-11-15"
    }
  ]
}