kudo-masters-thesis-metric-opt-adapt