(self, X)
return generated_points, sampled_points, sampled_points_idx, n_unique_points
Sample points from input data.
Sample points from input data.
Sample points from input data .
def sample(self, X):
        """Sample points from input data."""
        generated_points, idx = self.sess.run((self.s, self.idx), feed_dict={self.x: X})
        (
            sampled_points,
            sampled_points_idx,
            n_unique_points,
        ) = self.simple_projection_and_continued_fps(X, generated_points, idx)

        return generated_points, sampled_points, sampled_points_idx, n_unique_points
def sample ( self , X ) : generated_points , idx = self . sess . run ( ( self . s , self . idx ) , feed_dict = { self . x : X } ) ( sampled_points , sampled_points_idx , n_unique_points , ) = self . simple_projection_and_continued_fps ( X , generated_points , idx ) return generated_points , sampled_points , sampled_points_idx , n_unique_points