Module 6/15 · Weeks 6 · 9 h

Model development workflow, data preparation and leakage-safe splitting

UAT 456 Artificial Intelligence, Machine Learning and Computer Vision for UAS

About 90 minDraft, awaiting reviewLast updated 24 October 2026

Lesson

By the end of this module you will be able to

  1. Explain the stages of a machine-learning workflow, from problem definition to monitoring after deployment
  2. Tell supervised from unsupervised tasks in maintenance work and pick the task type that matches the user's question
  3. Build labels from a failure log, set a forecast horizon and handle rows whose label cannot yet be decided
  4. Use a Pipeline to prepare data so that nothing from the validation set leaks into training
  5. Choose a random, time-based or grouped split that matches the deployment situation, and report the result with its uncertainty

Prerequisites: UAT 306 Artificial Intelligence for UAS (modules 2 and 3) · UAT 106 Statistics and Data Analysis for Technology and UAT 104 Computer Programming

Why this matters

Most machine-learning models that fail in practice do not fail because the algorithm was wrong. They fail because the process around the model was wrong: the problem did not match the decision the user has to make, the labels were built incorrectly, information from the test set leaked into training, or the data was split differently from the way the model will be used. The result is a beautiful number in the report and a model that cannot be used. This course builds on UAT 306, which teaches AI basics, logistic regression, cross-validation and splitting by flight, and moves on to machine-learning engineering for tabular and time-series data from automation systems and drones. Image data is covered in modules 1–5 of this course.

Modules 6 to 10 of the course use one fictional case through all of them: a university predictive-maintenance analytics centre builds models for two organisations. The first is a survey company with 40 quadrotor drones that wants to know in advance which motor is about to fail and which battery is degrading. The second is a bottled-water factory with one automated bottling line that wants to understand the line’s operating modes and catch faults in the capping motor. The company and the factory are invented. Every data set is synthetic, generated by code in the lessons, so all figures are assumed values. The Python code can be downloaded from /downloads/uat-456/.

The model development workflow

A trustworthy machine-learning project passes through eight stages, and it is a loop, not a straight line. A poor evaluation usually sends you back to the problem definition or the labels, not just to a different algorithm.

  1. Define the problem. Who will use the prediction, for what action, within how many days, and what does each kind of error cost?
  2. Collect data and build labels. Join the flight log to the repair log.
  3. Split the data before exploring, tuning or choosing anything with the test data.
  4. Prepare the data. Handle missing values, standardise, build features, learning every number from the training part only.
  5. Build a baseline, such as the rule technicians already use, or always predicting the most common outcome.
  6. Train and select models (modules 7 to 9).
  7. Evaluate on the test set and report the result with its uncertainty (module 10).
  8. Deploy and monitor, checking that live data still looks like the training data (module 10).
Diagram of eight stages in two rows from left to right: define the problem, build labels, split data, prepare data, baseline, train models, evaluate and monitor, with an arrow returning from monitor to define the problem
Figure 1 The model development workflow is a loop of eight stages

Zinkevich (Google) collected rules of machine-learning engineering that are widely used. The ones that matter here say to start with a simple model and get the data infrastructure right first, and to use expert heuristics as the baseline (Zinkevich, 2025). Condition-based maintenance also has three steps: collect data, process data and make the maintenance decision (Jardine et al., 2006). ISO 17359 gives guidelines for setting up a machine condition-monitoring programme, of which a machine-learning model is only one part.

The kinds of learning used in this case

Supervised learning learns from examples that carry an answer in order to predict from features . If is a category the task is classification; if it is a number the task is regression. Unsupervised learning has no label and looks for structure in itself, such as groups or a smaller number of dimensions. The case study uses both.

Task in the case studyTask typeOutputModule
Will this drone’s motor fail within 21 days?Supervised, classificationYes or no, and a probability2
Remaining battery capacity, and next-hour motor current on the bottling lineSupervised, regressionA number (Ah, A)3
In how many modes does the line run, and which flights differ from the others?Unsupervised, clusteringGroup number, or an outlier4
Can the 8 sensors on the line be described by a few axes?Unsupervised, dimensionality reductionPrincipal components4

Defining the problem and building labels

The survey company asks, “Which drone’s motor will fail within 21 days?” The 21 days comes from the time technicians need to order parts and schedule the repair (assumed). It is called the forecast horizon . If it is too short, technicians have no time to act. If it is too long, more flights are labelled risky, but the signal in the data gets weaker and false alarms increase.

Labels are built from two tables: the flight log (one row per flight) and the failure log (the date each airframe’s motor failed). A flight is positive when the next failure of the same airframe falls within days. There is one trap. A flight near the end of the log with no failure after it may be truly healthy, or the motor may fail just after the log ends; we cannot tell. Such data is censored, and those rows must be dropped from the labelled set, not labelled healthy.

Example 1 Build the labels, choose H and set the baselines

The function make_fleet generates the flight log and failure log of a 40-airframe fleet over 365 days (assumed). Each airframe has its own baseline, the motors wear faster near the end of their life, and a failed motor is replaced by a new one. The table below shows how changes the number of positive labels. Then is chosen, a 5-flight moving average (past values only) is built, and two baselines are compared.

import numpy as np, pandas as pd

def make_fleet(seed=482, n_drones=40, days=365, drift_day=None):
    rng = np.random.default_rng(seed)
    rows, fails = [], []
    for d in range(n_drones):
        base = rng.normal([9.0, 24.0, 18.0], [4.0, 3.0, 2.0])      # this airframe's baseline: vibration, temperature rise, hover current
        life = int(rng.integers(60, 160))                           # flights this motor lasts before it fails
        day, f = int(rng.integers(0, 40)), int(rng.integers(0, life - 10))   # logging starts when the motor is already partly worn
        while day < days:
            wear = (f / life) ** 3                                  # wear accelerates near the end of life
            amb, load = rng.normal(31, 3), rng.normal(1.2, 0.4)     # ambient temperature (C) and payload mass (kg)
            shift = 2.5 if drift_day is not None and day >= drift_day else 0.0
            rows.append(dict(drone=d, day=day, hours=f * 0.4,
                             vib=base[0] + 11 * wear + shift + rng.normal(0, 1.5),
                             temp=base[1] + 7 * wear + 0.3 * (amb - 31) + rng.normal(0, 1.2),
                             amps=base[2] + 3 * wear + 1.5 * (load - 1.2) + rng.normal(0, 0.8),
                             ambient=amb, payload=load))
            f, day = f + 1, day + int(rng.integers(1, 4))
            if f == life:                                           # the motor fails and is replaced by a new one
                if day < days: fails.append(dict(drone=d, day=day, motor_hours=life * 0.4))
                f, life = 0, int(rng.integers(60, 160))
    return pd.DataFrame(rows), pd.DataFrame(fails).sort_values("day").reset_index(drop=True)

flights, fails = make_fleet()
print(f"flight log: {len(flights)} flights, {flights.drone.nunique()} airframes, days 0-{flights.day.max()}; failure log: {len(fails)} motor failures")

flights = flights.sort_values("day").reset_index(drop=True)      # merge_asof needs the table sorted by day
nxt = pd.merge_asof(flights, fails.rename(columns={"day": "fail_day"}),
                    left_on="day", right_on="fail_day", by="drone", direction="forward")   # next failure of the same airframe
nxt["days_left"] = nxt.fail_day - nxt.day                        # NaN = no failure is seen after this flight in the log
print("horizon  labelled  positives  prevalence")
for H in (7, 14, 21, 30, 60):
    known = nxt.days_left.notna() | (nxt.day + H <= 364)         # the log ends on day 364; labels near the end cannot be decided
    pos = int((nxt.days_left[known] <= H).sum())
    print(f"{H:>5} d  {known.sum():>8}  {pos:>9}  {pos / known.sum():>10.3f}")

H = 21                                                           # warn 21 days ahead
data = nxt[nxt.days_left.notna() | (nxt.day + H <= 364)].copy()
data["fault"] = (data.days_left <= H).astype(int)
data = data.sort_values(["drone", "day"]).reset_index(drop=True)
for c in ("vib", "temp", "amps"):                                # mean of the last 5 flights, past values only
    data[c + "_r5"] = data.groupby("drone")[c].transform(lambda s: s.rolling(5, min_periods=1).mean())
y = data.fault

always_ok = np.zeros(len(y), dtype=int)                          # baseline 1: predict healthy for every flight
rule = (data.vib_r5 > 16).astype(int)                            # baseline 2: technician rule (assumed), 5-flight vib above 16 m/s^2
for name, pred in (("always healthy", always_ok), ("technician rule", rule)):
    tp = int(((pred == 1) & (y == 1)).sum()); fp = int(((pred == 1) & (y == 0)).sum()); fn = int(((pred == 0) & (y == 1)).sum())
    print(f"{name:<16} accuracy {(pred == y).mean():.3f}  caught {tp:>3}/{y.sum()}  false alarms {fp:>3}  precision {tp / max(tp + fp, 1):.2f}")
flight log: 6806 flights, 40 airframes, days 0-364; failure log: 61 motor failures
horizon  labelled  positives  prevalence
    7 d      6671        262       0.039
   14 d      6536        466       0.071
   21 d      6404        679       0.106
   30 d      6244        941       0.151
   60 d      5771       1777       0.308
always healthy   accuracy 0.894  caught   0/679  false alarms   0  precision 0.00
technician rule  accuracy 0.845  caught 408/679  false alarms 722  precision 0.36

Two things stand out. First, a longer raises the prevalence quickly, from 3.9% at 7 days to 30.8% at 60 days. Choosing is a business decision that changes both the data set and the difficulty of the task; it is not a value to tune for a prettier score. At , 6,404 flights have a decidable label (402 flights at the end of the log are dropped from 6,806) and 679 are positive, which is 10.6%. Second, predicting “healthy” for every flight gives accuracy 0.894, which looks high but catches no failing motor at all. The technician rule catches 408 of 679 flights (about 60%) but raises 722 false alarms, precision 0.36, and its accuracy (0.845) is even lower than always predicting healthy. These numbers are the line a model must cross, and the reason precision and recall must always be reported next to accuracy (details in module 7).

Preparing data without leaking

Data preparation has many parts: fill missing values (for example when a sensor drops out on some flights); check whether extreme values are real faults or sensor errors before deleting them; standardise features to similar scales for models that use distances or gradients (logistic regression, SVM, k-means, PCA), while decision trees do not need scaling; and convert categorical variables to numbers, such as the motor model. One rule is enough to remember: anything that learns a number from data, whether a mean, a standard deviation, a median used for filling, the list of selected features or the axes of a PCA, must learn it from the training part only and then apply it to the validation and test parts. For example : if is computed with the test data included, the test data has already helped to define the preparation, and the evaluation will look better than reality.

scikit-learn’s Pipeline binds the preparation steps and the model into one object. Used with cross-validation, every round relearns the preparation from that round’s training part only (scikit-learn developers, Common pitfalls page). The same documentation shows that selecting features from all the data before splitting produces high accuracy on random data. Hastie et al. call this “the wrong and right way to do cross-validation” (section 7.10.2).

Example 2 A system with no signal that scores 74% accuracy

The team computes 500 features from the telemetry of 120 flights and keeps the 20 most correlated with the label. Here both the features and the labels are pure random numbers, so there is no signal to learn and the correct accuracy is about 0.5.

from sklearn.feature_selection import SelectKBest, f_classif
from sklearn.linear_model import LogisticRegression
from sklearn.model_selection import StratifiedKFold, cross_val_score
from sklearn.pipeline import make_pipeline

rng = np.random.default_rng(3)
X_noise = rng.normal(size=(120, 500))                            # 120 flights, 500 features computed from telemetry, all pure noise
y_noise = rng.integers(0, 2, 120)                                # random labels, unrelated to every feature
cv = StratifiedKFold(5, shuffle=True, random_state=0)

X_top = SelectKBest(f_classif, k=20).fit_transform(X_noise, y_noise)       # wrong: pick 20 features from all the data before splitting
leaky = cross_val_score(LogisticRegression(), X_top, y_noise, cv=cv).mean()
safe = cross_val_score(make_pipeline(SelectKBest(f_classif, k=20), LogisticRegression()), X_noise, y_noise, cv=cv).mean()   # right: pick inside each fold
print(f"selection before the split : accuracy {leaky:.3f}")
print(f"selection inside Pipeline  : accuracy {safe:.3f}   (chance level is 0.5)")
selection before the split : accuracy 0.742
selection inside Pipeline  : accuracy 0.525   (chance level is 0.5)

Selecting features before the split gives accuracy 0.742 with no signal at all, because the selection saw the labels of the flights that were later used for validation. Among 500 random features, 20 will always happen to correlate with the labels of all 120 flights. When the selection moves inside the Pipeline, every fold chooses features from its training part only, and accuracy falls to 0.525, close to the 0.5 it should be. Remember: this kind of leak raises no error. The results simply improve, and we tend to believe good results.

Two groups of horizontal bars. Top group, pure noise data scored by accuracy: selecting features before the split 0.742 in pink, selecting inside a Pipeline 0.525 in green, dashed line at 0.5. Bottom group, fleet data scored by PR-AUC: honest features 0.603 in green, with pct_life added 0.981 in pink
Figure 2 The effect of two kinds of leak: selecting features before the split, and a feature that comes from the future

Splitting data to match the real question

The training set adjusts parameters, the validation set chooses the model and hyperparameters, and the test set is kept for one final evaluation. But “which set goes where” must be answered by the real deployment question.

  • Same airframes, future flights. Split by time: train on the past, test on the future. This imitates real use, where the future is never seen.
  • A newly purchased drone. Split by airframe (the group is the drone ID). Each airframe must sit entirely on one side, because each has its own baseline. If flights of the same airframe appear on both sides, the model can recognise the airframe.
  • Future new airframes. Combine the two.

A random split by flight answers only “how well can I fill the gaps between flights I have already seen?”, which is rarely a maintenance question, and it leaks even more when a moving average of recent flights is used as a feature, because neighbouring flights share information. The review by Roberts et al. (2017) shows that data with temporal, spatial or hierarchical structure needs cross-validation that follows that structure, and the survey by Kapoor and Narayanan (2023) found that data leakage makes the results of machine-learning research irreproducible across many fields.

When there are few groups and the positive labels cluster in some groups, plain group splitting gives uneven positive rates per fold. StratifiedGroupKFold tries to keep groups intact and class proportions balanced at the same time.

Example 3 Three ways to split, and how far the scores differ

Use a random forest (module 7) on the data table from Example 1. The metric is PR-AUC (the area under the precision-recall curve, explained in module 7). The value for a predictor with no knowledge equals the prevalence, shown in the chance column. The time split trains on flights before day 250 and tests on those after. The airframe splits use 5 folds and report the mean and standard deviation over the 5 folds.

from sklearn.ensemble import RandomForestClassifier
from sklearn.metrics import average_precision_score
from sklearn.model_selection import GroupKFold, KFold, StratifiedGroupKFold, cross_val_score

FEATURES = ["vib", "temp", "amps", "hours", "ambient", "payload", "vib_r5", "temp_r5", "amps_r5"]
X, g = data[FEATURES], data.drone
def forest(): return RandomForestClassifier(n_estimators=200, random_state=0, n_jobs=-1)
def cv_ap(cv, feats=FEATURES, **kw):                             # PR-AUC per fold, reported as mean and standard deviation
    s = cross_val_score(forest(), data[feats], y, cv=cv, scoring="average_precision", **kw)
    return s.mean(), s.std(ddof=1)

train = data.day < 250                                           # train on flights before day 250, test after it
ap_time = average_precision_score(y[~train], forest().fit(X[train], y[train]).predict_proba(X[~train])[:, 1])
rows = [("random by flight", cv_ap(KFold(5, shuffle=True, random_state=0)), y.mean()),
        ("by time (day 250)", (ap_time, None), y[~train].mean()),
        ("by airframe, GroupKFold", cv_ap(GroupKFold(5), groups=g), y.mean()),
        ("by airframe, StratifiedGroup", cv_ap(StratifiedGroupKFold(5, shuffle=True, random_state=0), groups=g), y.mean())]
print("split                          PR-AUC   sd   chance")
for name, (m, sd), chance in rows:
    print(f"{name:<29} {m:>7.3f} {'-' if sd is None else format(sd, '.3f'):>5}   {chance:.3f}")

for name, cv in (("GroupKFold", GroupKFold(5)), ("StratifiedGroupKFold", StratifiedGroupKFold(5, shuffle=True, random_state=0))):
    rates = [y.iloc[test].mean() for _, test in cv.split(X, y, g)]
    print(f"{name:<21} positive rate per fold: " + " ".join(f"{r:.3f}" for r in rates))
split                          PR-AUC   sd   chance
random by flight                0.850 0.023   0.106
by time (day 250)               0.761     -   0.113
by airframe, GroupKFold         0.596 0.138   0.106
by airframe, StratifiedGroup    0.603 0.030   0.106
GroupKFold            positive rate per fold: 0.094 0.130 0.094 0.106 0.105
StratifiedGroupKFold  positive rate per fold: 0.100 0.121 0.097 0.102 0.110

The random split by flight gives the highest PR-AUC, 0.850, because neighbouring flights of the same motor sit on both sides. The time split gives 0.761, the number that answers “same airframes, future flights” most directly. The airframe split gives 0.603 (StratifiedGroup), which answers “new airframes” and is the lowest, because the model does not know the baseline of an airframe it has never seen. All three use the same data and the same model; only the split differs. The same model can therefore be overstated by as much as 0.25 if the wrong question is answered.

Plain GroupKFold gives a similar mean (0.596) but the standard deviation across folds is 0.138, against 0.030 for StratifiedGroupKFold, because each fold tests only 8 airframes and the positive rate per fold swings from 0.094 to 0.130. One unusual airframe can move a fold’s score a lot. In practice use StratifiedGroupKFold, report both mean and standard deviation, and when there are few groups repeat with several shuffles of the groups. The uncertainty of the result comes from the number of airframes, not the number of rows.

Horizontal bar chart of PR-AUC for three splits: random by flight 0.850 in pink, by time 0.761 in yellow, by airframe 0.603 in green, with a dashed pink line at the prevalence 0.106
Figure 3 PR-AUC of the same model under three ways of splitting the data

Features that come from the future

Another leak occurs even when the split is correct: a feature that is not available at prediction time. Kaufman et al. (2012) define leakage as introducing information about the target that should not legitimately be available when building the model. Typical examples in maintenance work are columns a technician fills in after the event (a work-order number, the cause found), statistics computed over the whole life of a motor, and columns that arrive through a join with a future failure record. The check that works is to ask, feature by feature, “At the moment the system has to predict, is this value known yet?” and to be suspicious whenever a score is higher than expected or a single feature dominates.

Example 4 A column that arrived with a table join

The data table from Example 1 still holds the column motor_hours, which came from the failure log during the join: the total flight hours of the motor when it failed. The developer builds a life fraction, pct_life = hours / motor_hours, which looks sensible.

data["pct_life"] = data.hours / data.motor_hours                 # looks reasonable, but motor_hours comes from the future failure record
sgkf = StratifiedGroupKFold(5, shuffle=True, random_state=0)
honest, _ = cv_ap(sgkf, groups=g)
leaky, _ = cv_ap(sgkf, feats=FEATURES + ["pct_life"], groups=g)
print(f"honest features        PR-AUC {honest:.3f}")
print(f"with pct_life          PR-AUC {leaky:.3f}")
imp = pd.Series(forest().fit(data[FEATURES + ["pct_life"]], y).feature_importances_, FEATURES + ["pct_life"]).sort_values(ascending=False)
print("top importance:", ", ".join(f"{k} {v:.2f}" for k, v in imp.head(3).items()))
print("rows where pct_life is missing:", int(data.pct_life.isna().sum()), "of", len(data))
honest features        PR-AUC 0.603
with pct_life          PR-AUC 0.981
top importance: pct_life 0.62, hours 0.11, vib_r5 0.07
rows where pct_life is missing: 2036 of 6404

PR-AUC jumps from 0.603 to 0.981 even though the airframe split is correct. There are two warning signs. The score is too good, and the feature pct_life holds 0.62 of all the importance. In real work nobody knows at how many hours a motor will fail before it fails, so motor_hours does not exist at prediction time. There is a second layer of leakage: pct_life is missing in 2,036 of 6,404 rows, the flights of motors that have not yet failed in the log, and all of them are negative. The pattern of missing values already gives the answer. The fix is to remove columns that came from the failure log right after the labels are built, keep only fault, and prepare two separate tables: labels and features.

Module lab

Lab: build a maintenance data set and split it without leaks

  1. Run Example 1 and change seed to your group number. Report the number of flights, the number of failures and the prevalence table by .
  2. Choose one value of with a reason based on the time technicians need (assume your own parts-ordering and repair-queue times), and explain how the rows at the end of the log are handled.
  3. Compute two baselines (predict healthy for every flight, and a one-threshold rule). Report accuracy, recall and precision, and write why accuracy alone is not enough.
  4. Run Example 2 with 50, 500 and 5,000 random features and watch how the accuracy of the wrong method changes. Write a short note on why.
  5. Run Example 3 with the cut day at 150, 200 and 300, and state how PR-AUC and the test-set prevalence change. Then write which split a fleet that buys new drones every year should use.
  6. Go through the ten features (the nine and pct_life) and state for each one, “Is the value known at prediction time?”, with a reason.
  7. If the department has real flight logs, export a per-flight summary of at least 100 flights from several airframes and repeat steps 3 and 5 on the real data.

Common mistakes

Watch out

  • Training a model before deciding what the prediction is for. You get an accurate model nobody uses.
  • Labelling the undecidable rows at the end of the log as healthy. Positives go missing and the results are distorted.
  • Reporting only accuracy when one class is rare. Predicting healthy every time already scores 89%.
  • Learning preparation values (means, selected features) from all the data before splitting.
  • Splitting randomly by row when neighbouring rows come from the same machine, without asking what the deployment will face.
  • Using columns filled in after the event, or whole-period statistics, as features.
  • Using the test set to choose among models over many rounds, until it silently becomes a validation set.
  • Reporting one number with no uncertainty when there are few groups.

Summary

  • The development workflow has eight stages in a loop. A wrongly posed problem cannot be fixed by a new algorithm.
  • Supervised tasks predict the label (classification for categories, regression for numbers); unsupervised tasks find structure in without labels.
  • Maintenance labels are built by joining the flight log to the failure log. The horizon changes the prevalence, and rows at the end of the log must be dropped.
  • Always set a baseline first. The accuracy of predicting the majority class can exceed that of a useful model.
  • Anything that learns a number from data must learn it from the training part only; a Pipeline enforces this.
  • Choose the split from the real deployment question. A random row split gives the best and least trustworthy number.
  • Features that are only known in the future leak even with a correct split. Check with the question “Is this value known at prediction time?”

Self-check questions

  1. A data set has 2,000 flights, 150 of them labelled risky. What is the prevalence, and what accuracy does a predictor that says healthy for every flight get?
  2. The company will buy 10 new drones next year and wants to predict motor failures on the new drones. Which split should be used, and why?
  3. The 20 best features are picked from 500 using all the data, and cross-validation is done afterwards. Why can the accuracy not be trusted, and how is it fixed?
  4. Can the feature “number of work orders opened in the 7 days after the flight” be used to predict the risk of that flight? Why?
  5. Changing from 21 to 60 days raises the prevalence from 10.6% to 30.8%. Can predictions compared by the same accuracy figure be directly compared?
Answers
  1. Prevalence . Predicting healthy every time gives accuracy but catches no risky flight (recall 0).
  2. Split by airframe, with each drone entirely on one side, because the question is about drones never seen. A random split by flight lets the model memorise each airframe’s baseline and gives an inflated number.
  3. The selection step saw the labels of the data later used for validation, so it leaks (Example 2 scored 0.742 on random data). Fix it by putting the selection step inside a Pipeline so it is relearned in every fold.
  4. No. Work orders appear after the flight, so they do not exist at prediction time; using them as a feature leaks information from the future.
  5. No. A different prevalence changes the chance level (the value of a predictor with no knowledge) and the difficulty of the task. Report the prevalence with PR-AUC and compare against the baseline for each .

Key formulas

Prevalence
Label for horizon H
Standardisation with training statistics

Key references

  1. Géron, A. (2022). Hands-on machine learning with Scikit-Learn, Keras, and TensorFlow (3rd ed.). O'Reilly.
  2. Hastie, T., Tibshirani, R., & Friedman, J. (2009). The elements of statistical learning: Data mining, inference, and prediction (2nd ed.). Springer. link
  3. scikit-learn developers. Common pitfalls and recommended practices (scikit-learn 1.9). scikit-learn user guide. link
  4. scikit-learn developers. Cross-validation: Evaluating estimator performance (scikit-learn 1.9). link
  5. Kaufman, S., Rosset, S., Perlich, C., & Stitelman, O. (2012). Leakage in data mining: Formulation, detection, and avoidance. ACM Transactions on Knowledge Discovery from Data, 6(4), Article 15. link
  6. Roberts, D. R., Bahn, V., Ciuti, S., Boyce, M. S., Elith, J., Guillera-Arroita, G., Hauenstein, S., Lahoz-Monfort, J. J., Schröder, B., Thuiller, W., Warton, D. I., Wintle, B. A., Hartig, F., & Dormann, C. F. (2017). Cross-validation strategies for data with temporal, spatial, hierarchical, or phylogenetic structure. Ecography, 40(8), 913–929. link
  7. Kapoor, S., & Narayanan, A. (2023). Leakage and the reproducibility crisis in machine-learning-based science. Patterns, 4(9), Article 100804. link
  8. Zinkevich, M. (2025). Rules of machine learning: Best practices for ML engineering. Google for Developers. link
  9. Jardine, A. K. S., Lin, D., & Banjevic, D. (2006). A review on machinery diagnostics and prognostics implementing condition-based maintenance. Mechanical Systems and Signal Processing, 20(7), 1483–1510. link
  10. International Organization for Standardization. (2018). Condition monitoring and diagnostics of machines: General guidelines (ISO 17359:2018). link

Further reading

Study the assigned knowledge units in advance, review media and take the module quiz

In class / field

Lab or field practice from worksheets with a safety checklist

Learning evidence: Checked worksheets and quiz results

Module quiz

This is a formative self-check, not a graded exam

Knowledge domain: Artificial intelligence and computer vision · Installation, maintenance and testing