Machine Learning in a Non-Euclidean Space

<h2><strong>What you will learn in this article.</strong></h2> <p>1. There are different examples of non-Euclidean geometry, among them&nbsp;<strong>spherical geometry</strong>&nbsp;and&nbsp;<strong>hyperbolic geometry</strong>.</p> <p>2. A hyperbolic space is a space of&nbsp;<strong>negative constant curvature</strong>.</p> <p>3. There are different models of hyperbolic geometry, the most famous being the&nbsp;<strong>Poincar&eacute; ball model</strong>.</p> <p>4. For datasets with a hierarchical structure, it is better to represent it in a hyperbolic space, because&nbsp;<strong>both a hyperbolic space and a hierarchical dataset have an inherent exponential growth.</strong></p> <h2><strong>Our conversation.</strong></h2> <p><strong>M</strong>: Aniss, could you give us some<strong>&nbsp;intuition behind hyperbolic geometry and allow us to understand for what kind of data it is relevant?</strong>&nbsp;I know hyperbolic geometry is one sort of non-Euclidean geometry, the one which has a negative curvature.</p> <p><strong>A</strong>: Let&rsquo;s start from the beginning! First, what is non-Euclidean geometry? There is something called the&nbsp;<strong>5th postulate of Euclide&nbsp;</strong>(also called the parallel postulate), which is equivalent to the following Playfair&rsquo;s axiom: &ldquo;<em>In a plane, given a line and a point not on it, at most one line parallel to the given line can be drawn through the point.</em>&rdquo;. This might seem obvious, but actually, it is not always true. Indeed, it is true only in Euclidean spaces, and when this axiom does not hold, it means that we are actually considering non-Euclidean geometry. This axiom is also equivalent to the&nbsp;<strong>Triangle postulate,</strong>&nbsp;which says, &ldquo;<em>The sum of the angles in every triangle is equal to 180&deg;</em>&rdquo;.</p> <p><a href="https://pub.towardsai.net/machine-learning-in-a-non-euclidean-space-8f3d13f0a317"><strong>Learn More</strong></a></p>