Teaching pack · UAT 315

A 15-week teaching plan, 5 worksheets, a scoring rubric and a map from the course description to the lessons, for instructors to evaluate and adapt before teaching.

Last updated: · 3(3-0-6) · Per week: lecture 3 h, lab 0 h, self-study 6 h; 45 contact hours per term

Coverage of the course description

The lessons fully teach 9 of 9 description topics. Each topic lists the modules and lesson sections that teach it, and incomplete topics say what is missing.

Description topicModulesWhere it is taughtStatus
UAS data pipelinesM1Module 1: The main sensors on a drone and The data cycle of an AI projectCovered
Data preparation and analyticsM1M4Module 1: An image is an array of numbers, Describing data: statistics and plots (Example 2, hover current from 16 flights) and Features and scaling · Module 4: Leakage from frames of the same flight and the data cardCovered
Machine learningM2Module 2: Kinds of learning, Three data sets, A first model and the accuracy trap and Underfitting and overfittingCovered
Deep learningM3Module 3: Convolution and image processing and Convolutional neural networksCovered
Object detection, classification, segmentation and trackingM3Module 3: Classify, detect and segment and Tracking and data fusion (Example 1 orange boxes, Example 2 tracking a moving object)Covered
Analysis of multisensor dataM1M3Module 1: The main sensors on a drone (Example 1, building heights from LiDAR) · Module 3: Tracking and data fusion (Example 3, fusing GNSS with an IMU, one update by hand and a whole-flight simulation)Covered
Model evaluationM2M4Module 2: the final evaluation on the test set · Module 4: The confusion matrix and metrics, IoU and mAP and Choosing a threshold by harmCovered
Real-time processingM5Module 5: AI on the drone, the ground station or the cloud (Example 1 processing time and the distance a drone moves)Covered
Reliability and ethical considerations for AIM4M5Module 4: the data card · Module 5: Evaluating by group, People in the decision loop and AI ethics and governance frameworksCovered

Weekly teaching plan

WeekTopicPre-classLectureLabEvidence
1 M1The main sensors on a droneRead module 1 up to 'The main sensors on a drone'; run Example 1RGB, thermal, multispectral and LiDAR: the data they give and their limitsActivity 1 part A: groups choose a mission and sensors with reasons and limitsGroup sensor-choice table
2 M1Images as arrays; descriptive statistics; features and scalingRead the three sections; run Example 2 and the StandardScaler code in the lessonMean, median, standard deviation, quartiles, the 1.5 IQR fences and choosing a plot; turning raw log data into features; scaling with training-set statistics onlyActivity 1 part B: list features with units and how they are computedFeature list
3 M1The data cycle of an AI projectRead the data-cycle section and the knowledge unit on RGB and thermal limits; take the module 1 quizStages of the data cycle, owners and quality checkpointsActivity 1 part C: three questions before trusting thermal values; draw the mission data cycleData-cycle diagram and quiz result
4 M2Kinds of learningRead module 2 'Kinds of learning'Supervised and unsupervised learning; classification and regressionActivity 2 part A: define a maintenance problem, its task type and label sourceOne-paragraph problem definition
5 M2Three data sets and the accuracy trapRead both sections; run the first-model codeTrain, validation and test sets; why accuracy misleads on imbalanced dataActivity 2 part B: discuss the cost of FN versus FP and choose the main metricChosen metric with reasons
6 M2Underfitting and overfittingRead the underfitting section; run Example 1; take the module 2 quizTree depth, selection on the validation set and the final test-set evaluationActivity 2 part C: set thresholds 0.2 and 0.5, record accuracy and recall, and explain the test-set rule to a peerThreshold table and quiz result
7 M3Convolution and image processingRead module 3 on convolution; run Example 1Kernels, colour segmentation with OpenCV and where classical methods failActivity 3 part A: add a shadow in Example 1 and observe how colour segmentation failsShadow experiment notes
8 M3CNNs; classify, detect and segmentRead both sectionsCNNs learn their own features; the three tasks and NMSActivity 3 part B: choose task type and camera for palm counting, flood extent and night-time casualties; lower NMS IoU to 0.1Method table for the three tasks
9 M3Tracking and data fusion; midtermRead the tracking and data fusion section; run Examples 2–3; review modules 1–3; take the module 3 quizMidterm examination (modules 1–3)Activity 3 part C: read the AI image-screening unit; explain why model output is a review list, not a verdictActivity 3 summary and midterm score
10 M4Leakage from frames of the same flightRead the first module 4 section; run Example 1Inflated scores from random splits; splitting by flight or areaActivity 4 part A: write at least five questions about a report claiming 98% accuracyGroup question list
11 M4Confusion matrix, metrics, IoU and mAPRead both sectionsPrecision, recall, F1 and the meaning of IoU and mAP in detectionActivity 4 part B: the dataset-check exercise; find five error types in the manifestList of errors found
12 M4Choosing a threshold by harm; the data cardRead the threshold and data-card sections; take the module 4 quizWhy thresholds differ for search and rescue and for tree countingActivity 4 part C: choose thresholds for two tasks from the lesson table; write a one-page data cardData card and quiz result
13 M5AI on the drone, the ground station or the cloudRead the first module 5 section; run Example 1Processing time, distance moved and where to processActivity 5 part A: compute the distance moved during processing for the proposed system and judge if it is enoughCalculation with conclusion
14 M5Evaluating by group; people in the decision loopRead both sections and the ethics-framework section; take the module 5 quizThe four NIST AI RMF functions, UNESCO principles and decisions that must stay with peopleActivity 5 part B: write questions for the four functions, design a by-group report table and discuss the human roleAssessment of the search-and-rescue AI system
15 M5Course reviewReview modules 1–5 and every check-your-understanding setCourse wrap-up linking the data cycle to governance; final exam guidanceCase discussion: groups present their activity 5 assessment and answer peer questionsParticipation and discussion score; final examination after week 15 (modules 1–5)

Worksheets and instructor guide

One worksheet per module. Students open it on the web, print it or download the .docx. The instructor guide under each worksheet gives the class timing, expected results, discussion questions and notes for students with different backgrounds.

1Worksheet 1 Designing data for a mission
Analysis activity · About 3 h of class time · CLO2, CLO1

Objective: Choose sensors, define features and draw the data cycle of a drone AI mission with quality checkpoints

Equipment

  • Flip-chart paper or whiteboard
  • Knowledge unit on RGB and thermal image limits
  • Laptop for looking things up

Safety

  • Classroom work only; no flying

Steps

  1. In groups, choose a mission such as searching for a missing person in forest, inspecting solar panels or assessing rice fields, and choose sensors with reasons and limits
  2. List the features to use with units and how each is computed from raw data
  3. Read the RGB and thermal limits unit and write three questions to ask before trusting temperatures
  4. Draw the mission data cycle with owners and quality checkpoints at each stage

Deliverables

  • Sensor-choice table
  • Feature list
  • Three thermal-image questions
  • Data-cycle diagram

Checklist

  • Every row of Table 1 gives both a reason and a limit for the sensor, not just a model name (Application to drone missions)
  • Table 2 has at least 4 features, each with a unit and how it is computed from raw data (Understanding of data and ML concepts)
  • All 3 thermal questions are written, and at least one asks about emissivity or a radiometric camera (Understanding of data and ML concepts)
  • The data-cycle diagram has all 6 stages from collecting data and rights to post-deployment monitoring, each with an owner and a quality check (Application to drone missions)
  • The diagram marks where the source and usage rights of the data are recorded (Ethics, reliability and discussion)

Instructor guide

Class timing 180 min

  1. Review the four sensors, brief the task, groups choose a mission20 min
  2. Choose sensors and fill in Table 135 min
  3. Define features and fill in Table 235 min
  4. Read the RGB and thermal limits unit and write the three questions30 min
  5. Draw the data-cycle diagram and present, 3 minutes per group45 min
  6. Answer the questions and run the hand-in checklist15 min

Expected results

  1. Record: Table 1 Sensor choice for the missionTable 1 (depends on the mission): a forest search for a missing person uses a thermal camera (measures thermal infrared, finds people from temperature contrast; limits: needs known emissivity and a radiometric camera to read temperatures, cannot see through dense canopy) plus RGB to confirm by eye; solar-panel inspection uses thermal plus RGB (limit: surfaces with emissivity below 0.5, such as polished metal, cannot be measured accurately because the camera sees reflected heat); rice-field assessment uses a multispectral camera (red, red edge and NIR to compute NDVI; limit: needs reflectance calibration). If LiDAR is chosen, the group should note the large data and expensive equipment.
  2. Record: Table 2 Feature listTable 2: good examples are NDVI (no unit, range -1 to +1, from (NIR - Red)/(NIR + Red) as in the lesson; healthy crop about +0.72, bare soil about +0.11, water negative), height above ground from LiDAR (m, point z minus ground z), surface temperature from a radiometric image (°C), mean hover current (A, about 18 A in Example 2). Every feature has a unit, and no-data pixels are marked as nan, not 0.
  3. Record: Record 3 Three thermal-image questions, and notes on the data-cycle diagram (owner and quality check at each stage)Record 3: good questions include: is the camera radiometric; what emissivity was set and what is the material; at what distance, time and weather was it taken (reflected heat from the sun or nearby objects). The data cycle must have the 6 stages of the lesson's Figure 2: collect data and rights, label and check, split by flight, train and tune, evaluate on test, deploy and monitor, then loop back. Good quality checks include checking RGB/BGR channel order, checking division by zero and checking outliers with the 1.5 IQR fences.
  4. Question 1: In Table 2, which two features differ most in the size of their numbers? What happens if they go into a model without scaling, and from which data set must the mean and standard deviation for scaling be computed?Lesson example: vibration around 0.1 g and current around 20 A differ by about 200 times, so a model that relies on distances or gradients gives current too much weight. Standardise to mean 0 and standard deviation 1 (for example 23 with mean 20 and sd 2 gives z = 1.5), with the mean and sd computed from the training set only; using all the data leaks test information.
  5. Question 2: If your mission data has one flight beyond the upper fence, like flight 9 in the lesson's Example 2, what would the group do before deciding to delete it, and why might a fault-detection model need such a flight?Flight 9 draws 21.9 A, beyond the upper fence of 19.04 A (Q1 17.98, Q3 18.40, IQR 0.42). It pulls the mean from 18.14 to 18.38 A and the sd from 0.26 to 0.97 A while the median barely moves. Open that flight's log first: a heavier payload, a damaged propeller or a failing motor are possible, and these are exactly the examples a fault-detection model must learn. An outlier is a question, not always an error.
  6. Question 3: Why is a thermal image shown in colour not always a temperature reading? Which question in Record 3 guards against this mistake?Colour is only a display. A temperature reading depends on the surface emissivity and needs a camera that records measurements (radiometric); below emissivity 0.5 the camera sees heat reflected from other objects. Questions about the camera type and the emissivity setting guard against this. A strong answer points to the exact question in its own record.
  7. Question 4: In your data cycle, what is the most likely first cause of data drift, and at which stage and by whom must it be watched?Depends on the mission. Lesson examples: seasons change crop colour (rice fields), or the camera model changes, so new data differs from the training data. It is watched at the deploy-and-monitor stage by the system owner or the users of the results, who compare results with ground truth regularly and feed new data back to the collection stage. A strong answer names a visible signal, such as more misses in a new season.

Discussion questions

  • If the budget allows only one sensor, what data would the group give up, and how would it tell the users of the results?
  • Why does the lesson say most AI work spends more time preparing data than choosing models? Do you agree after today?
  • Who should own the record of data usage rights: the pilot, the labeller or the model developer?

Adapting to student background

Upper secondary (M.6)
Have them compute NDVI and a z-score by hand from the lesson's numbers before writing Table 2, then explain why the median resists outliers better than the mean; make up for little field experience with sample images from the knowledge unit.
Vocational certificate
Start from drones and cameras they have handled, saying what each camera sees, then fill Table 2 with a fill-in template that already gives the formulas; check one NDVI value with a calculator.
Diploma
Extension: turn the quality checks of the collection stage into a usable field checklist (channel order, no-data values, time and weather) and have another group try it.

Common student mistakes: Common mistakes in the module 1 lesson

2Worksheet 2 Designing an ML task for maintenance
Analysis activity · About 3 h of class time · CLO1, CLO3

Objective: Frame an ML problem, choose a metric from the cost of errors and pick a threshold with reasons

Equipment

  • Laptop with Python and scikit-learn
  • Example code from the module 2 lesson

Safety

  • Classroom work only; no flying

Steps

  1. Define a problem such as predicting whether a battery should be retired; state the task type, whether it is supervised and where labels come from
  2. Discuss how the cost of FN and FP differ for that task and choose the main metric
  3. Set the code's threshold to 0.2 and 0.5, record accuracy and recall, and choose a threshold with reasons
  4. Explain to a peer why the test set must not be used to choose tree depth

Deliverables

  • Problem definition
  • Main metric with reasons
  • Threshold table and choice
  • Summary of the test-set rule

Checklist

  • Record 1 states the task type (classification or regression), whether it is supervised and where labels come from (Understanding of data and ML concepts)
  • Table 2 has all 3 thresholds (0.2, 0.3 from the lesson, 0.5) with every value to 3 decimal places (Choosing and interpreting metrics)
  • The threshold choice cites the real harm of FN and FP, not the highest accuracy (Choosing and interpreting metrics)
  • Record 3 states the roles of the training, validation and test sets correctly (Understanding of data and ML concepts)

Instructor guide

Class timing 180 min

  1. Review kinds of learning and the three data sets; brief the task20 min
  2. Define the problem and discuss FN and FP harm; write Record 140 min
  3. Run the lesson code, change the threshold and fill in Table 260 min
  4. Explain the test-set rule in pairs; write Record 330 min
  5. Class discussion, questions and hand-in checklist30 min

Expected results

  1. Record: Record 1 Problem definition (task type, supervised or not, source of labels), harm of FN and FP, and the main metricRecord 1 (battery retirement example): a two-class supervised classification task; labels come from real battery tests or technicians' retirement records. An FN is a pack that should be retired but stays in service and may bring a drone down; an FP retires a pack early, costing money but safe, so recall is the main metric. If the group predicts remaining cycles instead, that is regression and is acceptable if the reasoning is consistent.
  2. Record: Table 2 Effect of the threshold on the validation set (module 2 lesson code)Table 2 (the lesson's code and seed 345; validation set of 80 flights with 17 faulty motors): threshold 0.2 gives accuracy 0.787, recall 0.824, 28 alerts (14 right, 14 false); 0.3 gives 0.900, 0.824, 19 alerts; 0.5 gives 0.950, 0.765, 13 alerts with no false alarms. A different scikit-learn version may shift the third decimal; accept it if the trend holds: lowering the threshold does not lower recall but lowers accuracy.
  3. Record: Record 3 The test-set rule (summary of what you explained to a peer)Record 3: the training set fits parameters, the validation set chooses the model and settings such as depth, and the test set is kept to evaluate once after every choice is made. Choosing depth on the test set turns it into another validation set and the reported figure becomes too optimistic.
  4. Question 1: At threshold 0.2 the model's accuracy equals the always-'healthy' baseline. Does that make the model useless? Explain with the recall and alert counts in Table 2.Not useless. At 0.2 the model finds 14 of 17 faulty motors (recall 0.824) while the baseline finds none (recall 0), even though both score accuracy 0.787. The cost is 14 false alarms among 28 alerts, and 0.3 gives the same recall with fewer alerts (19), so it beats 0.2 on this data. The lesson is that accuracy alone cannot tell you this.
  5. Question 2: Which threshold did your group choose for its task, and how do the FN and FP harms in Record 1 support that choice?Depends on the task. A strong answer for maintenance chooses 0.3: recall 0.824, the same as 0.2, with far fewer false alarms (5 against 14). Choosing 0.5 must explain accepting 4 missed faulty motors because re-checks are very costly, which is hard to justify when a miss may bring a drone down.
  6. Question 3: In the lesson's tree-depth table, training accuracy reaches 1.000. Why choose depth 3, and what would go wrong if the test set were used to choose depth?Unlimited depth reaches 1.000 on training data by memorising the data including noise (overfitting) but only 0.887 on validation, while depth 3 gives the best validation score of 0.925. Choosing on the test set would make the test figure too optimistic and leave no set to measure real ability on new data.
  7. Question 4: The test result in Example 1 (accuracy 0.800, recall 0.412) is much worse than validation. Give at least two reasons and what to do next without breaking the independence of the test set.Reasons: the validation set has only 17 faulty motors, so its figures swing widely, and picking the best setting on it flatters it a little. Report the test figure honestly, do not go back to adjust depth, then collect more data, use cross-validation and prepare a new test set for the next round.

Discussion questions

  • In another drone task, such as flagging flooded images, when is an FP worse than an FN, and how would you set the threshold differently from today?
  • If a manager asks for one number for a report, which number would you give, and what note must go with it?
  • Would collecting more data or changing the model help Example 1's test result more, and why?

Adapting to student background

Upper secondary (M.6)
Have them compute accuracy and recall by hand from the TP, FP, FN and TN printed by confusion_matrix before reading scikit-learn's values, linking it to the probability they studied.
Vocational certificate
Have them copy the code block by block and change only the one threshold line, framing the result as familiar maintenance (replacing a battery too early or too late) instead of starting from formulas.
Diploma
Extension: loop the threshold from 0.1 to 0.9 in steps of 0.1, print recall and alerts, and propose a threshold that keeps re-checks within 20 per 80 flights for the technicians.

Common student mistakes: Common mistakes in the module 2 lesson

3Worksheet 3 Matching vision methods to tasks
Analysis activity · About 3 h of class time · CLO1, CLO2

Objective: Distinguish classification, detection and segmentation, probe the weaknesses of classical methods and NMS, and place AI output in the workflow

Equipment

  • Laptop with Python and OpenCV
  • Module 3 example code
  • Knowledge unit on AI image and damage screening

Safety

  • Classroom work only; no flying

Steps

  1. For palm counting, flood extent and night-time casualty search, choose the task type and camera
  2. In Example 1 halve the brightness of one box, observe the failed colour segmentation and discuss why a CNN copes
  3. Lower the NMS IoU threshold to 0.1 for two adjacent objects and explain the result
  4. Read the AI screening unit and explain why model output should be a review list, not a verdict

Deliverables

  • Method table for three tasks
  • Shadow experiment with explanation
  • NMS experiment
  • Summary of the role of AI output

Checklist

  • Table 1 covers all three tasks, each with a task type and camera and a reason tied to what the task asks (Application to drone missions)
  • Table 2 records the object count before and after the shadow and names which box disappeared (Understanding of data and ML concepts)
  • Table 2 has NMS results at 0.5 and 0.1 for boxes on two adjacent objects, with that pair's IoU (Understanding of data and ML concepts)
  • Record 3 says who makes the final decision and what the reviewer must see from the system (Ethics, reliability and discussion)

Instructor guide

Class timing 180 min

  1. Review classify, detect, segment and NMS; brief the task20 min
  2. Choose methods and cameras for three tasks; fill in Table 130 min
  3. Run the shadow experiment on Example 1 and discuss45 min
  4. Run the NMS experiment with two adjacent objects40 min
  5. Read the AI screening unit and write Record 330 min
  6. Questions and hand-in checklist15 min

Expected results

  1. Record: Table 1 Vision method for three tasksTable 1: palm counting is object detection (you need where each tree is, then count the boxes) with an RGB camera; flood extent is segmentation (a class for every pixel to measure area) with RGB (image classification only says flooding is present, not how much); night-time casualty search is detection with a thermal camera, because there is no light for RGB at night and people are warmer than the background. Using image classification where positions of several objects are needed is wrong.
  2. Record: Table 2 Shadow and NMS experimentsTable 2 (Example 1 code, seed 345): originally 3 objects are found. Halving the box at (90, 70, 20, 14) changes BGR from (20, 120, 240) to (10, 60, 120) and HSV from (14, 234, 240) to (14, 234, 120); only 2 objects are found and the shaded box disappears because V = 120 is below the range minimum of 150. NMS on the 6 boxes in the lesson's code (3 duplicate boxes with IoU 0.848, 0.598 and 0.695; 1 isolated object; adjacent objects (40, 40, 20, 20) scoring 0.90 and (55, 40, 20, 20) scoring 0.85 with IoU = 0.143): at 0.5, 4 boxes remain (scores 0.93, 0.90, 0.88, 0.85), the duplicates are removed and both adjacent objects stay; at 0.1, 3 boxes remain (0.93, 0.90, 0.88) and the 0.85 box is removed because 0.143 exceeds 0.1, so an object vanishes. If a group uses other boxes, check that the adjacent pair's IoU lies between 0.1 and 0.5.
  3. Record: Record 3 Summary of the role of AI output from the AI screening unitRecord 3: a model both misses real cases and raises false alarms, and confidence is not the probability of being right, so output should be a list for people to re-check, ordered by priority, with the operator making the final decision. The system must show the original image, location, score and capture conditions. A strong answer notes that wrong decisions in disaster work affect lives.
  4. Question 1: When a box's brightness is halved, its H and S hardly change. Which value leaves the set range? Would widening the range really fix the problem, and why?V (value, brightness) drops from 240 to 120, below the minimum of 150, while H = 14 and S = 234 stay in range. Widening the V range brings this box back but is not a real fix: evening light or other shadows fall out again, and a wider range starts accepting similarly coloured objects or dark areas. Fixed colour ranges only work with steady light and a distinctive object colour.
  5. Question 2: Why does a CNN cope with shadow better than a fixed colour range, and what must be true of the training data first?A CNN learns its filters from data: early layers pick up edges and colours, deeper layers shapes and objects, so it relies on shape, not colour alone. This only works if the training data holds enough images with shadows and varied light, and it must be checked on test data with real shadows; trained only on sunny images, a CNN can fail too.
  6. Question 3: In an oil-palm plantation planted very densely, would the group set the NMS IoU threshold high or low? Explain with the results in Table 2.Set it high enough (for example 0.5), not 0.1. In Table 2, boxes on two adjacent objects have IoU 0.143, so 0.1 cuts them to one box and closely planted palms would be under-counted, while duplicate boxes on one object have a very high IoU (0.848 in the lesson) and are still removed at 0.5.
  7. Question 4: If the model gives a confidence of 0.9 to one image, does that mean a 90% chance of being right? How does this relate to using the output as a review list?No. Confidence only says how sure the model is about that image; you must check on test data to know how often scores at that level are right. The output is therefore used to rank images so people check the high-scoring ones first, not as a verdict.

Discussion questions

  • If classical methods are explainable at every step but a CNN is more accurate, for which jobs should the classical method still be used?
  • In palm counting, how does under-counting by 5% differ from over-counting by 5% for the plantation owner?
  • Before using a YOLO-family model in a company product, which licences must be checked?

Adapting to student background

Upper secondary (M.6)
Have them compute the adjacent boxes' IoU by hand (overlap 100 over union 700) before running the code, and explain HSV against BGR with the shaded box's numbers.
Vocational certificate
Have them draw the two boxes on squared paper and count the overlapping squares before using the IoU formula, change only one code line per experiment, and link it to real drone photos they have taken.
Diploma
Extension: repeat the shadow test at 25%, 50% and 75% brightness reduction, record V and the object count, and find how dark a shadow must be before a box disappears.

Common student mistakes: Common mistakes in the module 3 lesson

4Worksheet 4 Auditing a model report
Analysis activity · About 3 h of class time · CLO3, CLO2

Objective: Question claimed scores, check a dataset before training, choose thresholds by harm and write a data card

Equipment

  • Mock report from the lecturer claiming 98% accuracy
  • Dataset-check exercise in the drone knowledge base
  • Threshold table in the module 4 lesson

Safety

  • Classroom work only; no flying

Steps

  1. Each group writes at least five questions to ask before trusting the report, such as how it was split, which metric and where the test set came from
  2. Do the dataset-check exercise; find five error types in the manifest before running the checker
  3. Choose thresholds for search and rescue and tree counting from the lesson table, with reasons
  4. Write a one-page data card for an image set the group will collect

Deliverables

  • Questions on the report
  • Manifest errors found
  • Thresholds for two tasks with reasons
  • One-page data card

Checklist

  • Record 1 has at least 5 questions covering the split, the metric name and where the test set came from (Choosing and interpreting metrics)
  • Table 2 has all 5 types, each with a row or id and a fix that does not guess values to pass the checker (Choosing and interpreting metrics)
  • Table 3 has all 3 thresholds to 2 decimal places and states the threshold is chosen on the validation set, not the test set (Choosing and interpreting metrics)
  • The one-page data card gives source and rights, labelling method, class definitions, split unit, count per class and conditions not covered (Ethics, reliability and discussion)
  • Both threshold choices cite the harm of errors in that task (Application to drone missions)

Instructor guide

Class timing 180 min

  1. Review leakage and metrics; hand out the mock report20 min
  2. Groups question the report; write Record 130 min
  3. Check the manifest by hand, then run the checker and compare50 min
  4. Fill in Table 3 and choose thresholds for two tasks30 min
  5. Write the one-page data card35 min
  6. Questions and hand-in checklist15 min

Expected results

  1. Record: Record 1 Questions on the report claiming 98% accuracy (at least 5)Record 1: good questions include: was it split by image, flight or area; is 98% accuracy, mAP50 or mAP50–95; which area and season did the test set come from, and does it include night images; what share of images contain the object; what are precision and recall; on which set was the threshold chosen; how many times was the test set used; how do results break down by condition?
  2. Record: Table 2 Errors in manifest-review.csv (found by hand before running the checker)Table 2 (following the answer guide in the drone knowledge hub's instructor guide): the 5 types are flight F01 in both train and test (leakage), content C01 duplicated under different image names, image id IMG003 duplicated, a missing flight_id, and a split named holdout, which does not match the agreed names. Fix by moving the whole flight into one set, removing duplicates and quarantining incomplete records with a recorded reason; never guess an id.
  3. Record: Table 3 Confidence thresholds from the lesson tableTable 3 (the lesson's 20 scores with 10 real objects): threshold 0.7 gives 6 alerts, precision 0.83, recall 0.50, 5 missed; 0.5 gives 9 alerts, 0.78, 0.70, 3 missed; 0.3 gives 13 alerts, 0.69, 0.90, 1 missed. Victim search takes 0.3; tree counting takes 0.5 (or 0.3 if justified by the highest F1 of 0.78).
  4. Question 1: If only 2% of images contain a person, what accuracy does a model that always answers 'no person' get? What does this say about the 98% report, and which metrics should you ask for instead?Accuracy = 98% (0.98) while finding no one at all, so a 98% claim may mean nothing when objects are rare. Ask for precision, recall, F1 or a fully named mAP (such as mAP50–95) and the confusion matrix on a test set split by flight or area.
  5. Question 2: In Example 1 the random split by frame scores 1.000 but the split by flight scores 0.300. Which error in Table 2 causes the same problem, and what else must you split by if the model is for new areas?Flight F01 sitting in both train and test puts near-identical frames from one flight in both sets, so the model recognises the scene and scores too high, like 1.000 in Example 1; the duplicated content C01 leaks in the same way. For new areas you must also split by area (site_id), which the example checker does not check.
  6. Question 3: How do the threshold choices for victim search and for tree counting differ? Explain with the numbers in Table 3.Victim search takes 0.3: recall 0.90 misses only 1 of 10 at the cost of 13 alerts (4 false), because missing a person who needs help is worse than sending someone to check. Tree counting wants the count close to the truth: at 0.5 there are 9 alerts for 10 real trees (2 false and 3 missed almost cancel), while 0.3 over-counts by 3 and 0.7 under-counts by 4. A strong answer adds that the choice must be made on the validation set.
  7. Question 4: Which item in your data card warns users about conditions where the model should not be used? What happens if there is no data card?Good items are the conditions not covered (no night images, one area, one season), the count per class and the split unit. Without a data card, users never learn that the model has not seen night images or other areas, use it in the wrong conditions, and it fails without warning.

Discussion questions

  • If the report's team says it split randomly by image but the results are still good, what extra evidence would the group ask for before accepting it?
  • When the manifest checker says the file passes, does that mean image quality, labels and usage rights pass too?
  • Who should choose the threshold in victim search: the model team or the rescue unit that must check every alert?

Adapting to student background

Upper secondary (M.6)
Have them compute precision, recall and F1 at threshold 0.5 by hand from TP 7, FP 2, FN 3 before reading the table, and explain why F1 is a harmonic mean.
Vocational certificate
Have them print the manifest, sort it by flight_id and mark the bad rows with a highlighter before using the program, and write the data card with a fill-in form following the lesson's Data card box.
Diploma
Extension: add a check to the checker for the same site_id appearing across splits, run it on manifest-review.csv and explain the result.

Common student mistakes: Common mistakes in the module 4 lesson

5Worksheet 5 Assessing an AI system for search and rescue
Analysis activity · About 3 h of class time · CLO3, CLO2

Objective: Assess an AI proposal with the NIST AI RMF, check processing latency, design by-group reporting and define the human role

Equipment

  • Lecturer's proposal for a thermal-camera casualty-detection drone
  • Module 5 Example 1 code
  • NIST AI RMF summary in the lesson

Safety

  • Classroom work only; no flying
  • Use mock data, no images of real people

Steps

  1. Write at least two questions for each of the four NIST AI RMF functions
  2. Compute the distance the drone moves during processing at the system's speed and latency; judge whether it is enough
  3. Design a by-group results table, such as day versus night and open ground versus under canopy; list missing data
  4. Discuss which decisions must be made by people and what the system should show them

Deliverables

  • Questions for the four functions
  • Distance calculation with conclusion
  • By-group report table
  • Conclusion on the human role

Checklist

  • Table 1 covers all four functions (Govern, Map, Measure, Manage) with 2 questions each tied to this proposal (Ethics, reliability and discussion)
  • Table 2 has both the median and p95 cases, every value has a unit, and ms is converted to s before multiplying by speed (Application to drone missions)
  • Table 3 breaks down at least day, night, open ground and under canopy, and names missing data for each group (Ethics, reliability and discussion)
  • The human-role conclusion names at least 2 decisions the system must not make alone (Ethics, reliability and discussion)
  • Every group's recall is computed as TP/(TP + FN) and shown to 3 decimal places (Choosing and interpreting metrics)

Instructor guide

Class timing 180 min

  1. Review edge AI, by-group evaluation and the NIST AI RMF; hand out the proposal20 min
  2. Write questions for the four functions; fill in Table 140 min
  3. Compute distance moved and frame budget; fill in Table 235 min
  4. Design the by-group report; fill in Table 335 min
  5. Discuss the human role and class summary35 min
  6. Questions and hand-in checklist15 min

Expected results

  1. Record: Table 1 Questions for the four NIST AI RMF functionsTable 1: example questions. Govern: who is accountable when the system misses a person, and who approves its use? Map: in which conditions will it be used (night, under canopy), who is affected, and are images of people personal data? Measure: what is recall by group, was it tested on a set split by area, and was processing time measured on the real board? Manage: what happens when it misses often in some conditions, and when will it be stopped or adjusted?
  2. Record: Table 2 Processing time and distance movedTable 2 (if the proposal uses the lesson's Example 1 values: 10 m/s, 30 fps camera): frame budget 1000/30 = 33.3 ms; the median 35 ms moves the drone 0.35 m, slightly over budget; p95 80 ms moves it 0.80 m, over budget, keeping up with only 12.5 fps, so frames must be skipped. At 5 m/s the p95 distance is 0.40 m. Use d = v × t with t in seconds.
  3. Record: Table 3 Results by conditionTable 3 (the lesson's hypothetical figures): day TP 90, FN 10, recall 0.900; night TP 24, FN 16, recall 0.600; overall 0.814. The open-ground and under-canopy rows have no data yet; students must name the missing test images for those groups, and the missing night images under canopy, the hardest condition.
  4. Question 1: In Table 3 the overall recall is much higher than the night recall. If a commander sees only the overall figure, what wrong decision might follow?An overall recall of 0.814 looks good, but at night only 60% are found, missing 40 people in 100. If real searches often happen at night, a commander may cut ground search teams by trusting the system too much. Results must be reported by group, with the covered conditions stated in the data card.
  5. Question 2: Is the distance moved in Table 2 acceptable for detecting victims, compared with obstacle avoidance? Should each job run on the drone, the ground station or the cloud?For victim detection 0.35 to 0.80 m is acceptable, because the output is a list for people to confirm at the ground station within seconds. Obstacle avoidance must respond within a fraction of a second, so it must run on the drone and be designed with the 0.80 m p95 distance included. Retraining needs heavy resources and belongs in the cloud or on a server. A strong answer says to time the real model on the real board, not compare TOPS.
  6. Question 3: Which decisions in the mission must people make, what should the system show them to decide well, and is this human-in-the-loop or human-on-the-loop?Decisions with severe or irreversible consequences belong to people, such as confirming a real victim, sending a rescue team in or ending the search of an area. The system should show the thermal and RGB images, location, score and capture conditions as a review list. This should be human-in-the-loop: the system proposes and a person decides.
  7. Question 4: Before real use, which rights and laws must be checked, and why must AI law timelines never be quoted from memory?Three rights must be checked separately: the code licence, the model weights (some families are AGPL-3.0) and the datasets (many forbid commercial use). Images of people are personal data under the Personal Data Protection Act B.E. 2562 (2019), and the status of Thailand's draft AI law and the latest EU AI Act timeline must be checked because they change fast; for example, the high-risk timeline has already been moved, so quoting from memory can be wrong.

Discussion questions

  • If night data is scarce, should the team wait for data before deployment or deploy while stating the limit, and why?
  • Which UNESCO principle matters most for this system, and how does it affect the screen design?
  • When the system misses one victim, where should responsibility lie?

Adapting to student background

Upper secondary (M.6)
Have them convert ms to s and derive d = v × t from the definition of speed before filling the table, and explain why overall recall is a weighted average by number of people.
Vocational certificate
Start from flying experience of how far a drone at 10 m/s moves in a second, fill Table 2 row by row with a calculator, and give one sample question per function as a starter.
Diploma
Extension: compute the top speed that keeps the p95 distance within 0.5 m, and propose whether to fly slower or change the board, with a method for timing the model on the board.

Common student mistakes: Common mistakes in the module 5 lesson

Scoring rubric

For worksheets and the mini-project. Each criterion scores level (1–4) ÷ 4 × weight.

CriterionWeightExcellent (4)Good (3)Fair (2)Needs work (1)
Understanding of data and ML concepts30%Explains the data cycle, task types, splits and overfitting correctly with drone examplesNearly all correct, generic examplesSome concepts confusedCannot explain the core concepts
Choosing and interpreting metrics30%Chooses metrics and thresholds by task harm, checks for leakage and questions claimed scores preciselyRight choices, incomplete reasonsRelies on accuracy or one number without contextDoes not understand the metrics
Application to drone missions20%Chooses sensors, vision methods and processing location to fit the task, backed by numbersMostly appropriatePartly mismatched to the taskNot linked to real tasks
Ethics, reliability and discussion20%Applies NIST AI RMF and UNESCO principles correctly, reports by group and contributes reasoned discussionUses the frameworks and participates regularlyVague on ethics, little participationEthics not considered or no participation

Assessment map: CLOs and how they are assessed Draft

The CLOs are a web-team draft; the course owner sets the final ones (curriculum book, part 4). This table is built from the worksheet and module-quiz data, so it follows any change to the CLOs.

CLOWorksheetsModule quizzes
CLO1 Explain AI, data analytics and computer visionW 1W 2W 3M1M2M3
CLO2 Design drone data-processing pipelinesW 1W 3W 4W 5M1M3M4M5
CLO3 Evaluate AI results with evidence and ethicsW 2W 4W 5M2M4M5