def _find_nearest_cluster(self, point):
index_cluster = -<NUM_LIT:1>;<EOL>nearest_distance = float('<STR_LIT>');<EOL>for index in range(len(self._representatives)):<EOL><INDENT>distance = self._metric(point, self._representatives[index]);<EOL>if distance < nearest_distance:<EOL><INDENT>index_cluster = index;<EOL>nearest_distance = distance;<EOL><DEDENT><DEDENT>return index_cluster, nearest_distance<EOL>
!
        @brief Find nearest cluster to the specified point.

        @param[in] point (list): Point from dataset.

        @return (uint, double) Index of nearest cluster and distance to it.