Compute euclidean and mahal distances from test to all nodes
Accept/reject using anomaly score from nearest-neighbor search