| English | 中文 |
Select a bounded tree candidate and declare its complexity controls. The shared pipeline owns preparation, validation selection and final evaluation.
Scientific selection belongs to the decision-tree method.
R uses regr.rpart with cp, maxdepth, minsplit and minbucket. Python uses decision_tree with max_depth and min_samples_leaf. Similar names do not make the R/Python fitted trees numerically identical.
Prepare the R environment or Python environment/task contract, and follow the shared review process. Commands below run from the repository root.
R: complete task, runner parameters.
python -m runtime.cli run-tool ml_regression_workflow --params-file config/examples/run-tool/ml-model-r-decision-tree.json --dry-run
python -m runtime.cli run-tool ml_regression_workflow --params-file config/examples/run-tool/ml-model-r-decision-tree.json --timeout 180
Python: complete task, runner parameters.
python -m runtime.cli run-tool ml_python_regression_workflow --params-file config/examples/run-tool/ml-model-python-decision-tree.json --dry-run
python -m runtime.cli run-tool ml_python_regression_workflow --params-file config/examples/run-tool/ml-model-python-decision-tree.json --timeout 180
Examples are for an authorized fixed synthetic replay. Python examples request no contribution computation; R tree/forest examples retain the permutation method required by the current R contract. Except for baseline-only tasks, candidates still compete with the mean baseline; selection may legitimately favor the baseline. Preview does not parse rows or prove dependencies. Actual execution uses the three roots and declared result scope for fresh artifacts. Do not reuse technical replay settings as a real-data plan.
Resolve candidates, metrics, predictions, preprocessing and reload checks through artifacts.json. Check actual cohorts, learner identities/settings and independently recomputed holdout metrics; exit status or model-file presence alone is insufficient. This directory duplicates no training code and adds no tool ID. Return to family navigation.