Analyzing the structural relationship between distributions using optimal transport