Reproducibility and model packaging

Key Lessons 1. Reproducibility is more than saving a trained model. A reproducible ML experiment preserves the data definition, preprocessing, feature set, target, validation strategy, random seeds, hyperparameters, software environment, evaluation results, and code. 2. Model reproducibility and experiment reproducibility are different. Reloading model.joblib and getting identical predictions proves…

Case study: Bayesian optimisation on concrete compressive strength

Objective Determine whether model-guided experimental design reduces the number of trials required to reach a performance target, using a dataset with enough signal and samples to verify the pipeline behaves correctly. Dataset UCI Concrete Compressive Strength. 1,030 mix designs with measured compressive strength. Inputs: cement, slag, fly ash,…

Model explainability - notes and glossary

Key lessons 1. Explainability asks why a model made a prediction. It does not automatically explain why the physical material behaves the way it does. 2. Global and local explanations answer different questions. Global explanations describe which features generally influence model predictions; local explanations describe why one particular prediction was…

Brief notes and a glossary on ML classification problems

1. Classification predicts categories rather than continuous quantities. Regression asks “what strength?”, while classification can ask “PASS or FAIL?” 2. The class definition is an engineering decision. Our 110 kPa threshold created the PASS/FAIL labels. In a real project, that threshold needs a justified specification or decision basis. 3.…