How to calculate the Hausdorff Distance between two points?
<p>I am trying to create a distance metric for classification in sklearn.
I can find distance between two sets of such dimensions: <code>X = {sort_1, sort_2, sort_3, feat_id, feat_val}</code>-</p>

<p>But to I am confused as to how do I use this for classification in sklearn since for that I need to define the distance as <em>the distance between two points such that each point is a row.</em></p>

<p>Same point represented in one row: <code>A = {sort_1, sort_2, sort_3, feat_1, feat_2, .... feat_57}</code></p>

<p>How do I go about calculating <strong>Hausdorff Distance</strong> between two such rows in python?</p>