Classical Machine Learning
Find the nearest bridge between groups
One nearby pair connects otherwise spread-out groups
Two groups of sensor response times can be close through only one pair. Botie needs the single-linkage distance used to consider their merger.
BOTIE
The inputs we are comparing
First group's response times
Separated groups
- 00
- 11
Touching through one pair
- 00
- 18
Second group's response times
Separated groups
- 04
- 16
Touching through one pair
- 09
- 120
Result for separated groups
3
The closest responses sit inside the sorted groups
This check uses the pieces from “Find the closest cross-group pair”.
BOTIE
- First group's response times
- 01
- 14
- 29
- Second group's response times
- 05
- 112
Use a number, text, or an array matching the requested result. For a matrix, put each row in brackets. Saving your prediction runs your current construction on these inputs and checks the earlier examples too.
Build a construction in the workspace above first. This case will test those pieces.
How could replacing minimum with maximum change a sequence of merges, even if every pairwise distance stayed the same?
A linkage definition determines what 'close groups' means before an agglomerative method chooses its merges.
This workshop calculates one linkage comparison in one dimension. A complete agglomerative algorithm repeatedly chooses and records merges.
Work through the Python challenges →