References · Module 05¶
-
DVC documentation: Pipelines. dvc.org/doc/user-guide/pipelines The stage model used here, including
deps,params,outs, andmetrics. -
DVC documentation:
dvc.yamlfile format. dvc.org/doc/user-guide/project-structure/dvcyaml-files Every field, includingcache: falseand theforestage/foreachhelpers you will want later. -
DVC documentation:
dvc repro. dvc.org/doc/command-reference/repro The skip/cache rules. Read the "How it works" section rather than the examples. -
scikit-learn: Pipelines and composite estimators. scikit-learn.org/stable/modules/compose.html The
PipelineandColumnTransformerused for the model. Pay attention to why preprocessing must be inside the pipeline to avoid leakage. -
scikit-learn:
RandomForestRegressor. scikit-learn.org/stable/modules/generated/sklearn.ensemble.RandomForestRegressor.htmlrandom_stateandn_jobssemantics; the latter explains the determinism caveat. -
joblib: Serialization and memory-mapped loading. joblib.readthedocs.io/en/stable/user_guide/persistence.html Why pickling a large NumPy array is fast, and what a joblib file actually contains.
-
scikit-learn:
check_estimatorand estimator development. scikit-learn.org/stable/developers/develop.html Only if you write your own transformer: the fit/transform contract that makes one reusable at serving time. -
The Turing Way: Reproducible research. the-turing-way.netlify.app/reproducible-research/reproducible-research A broader treatment of reproducibility than pipelines alone. Useful vocabulary for the independent challenge.
A note on scope¶
DVC can also track data (Module 04) and run experiments (dvc exp run), which overlaps with Module 06. This course uses DVC for stage execution and caching, and MLflow for experiment records, because that division matches how most teams use both tools. You should know that the overlap exists and be able to explain your team's choice.