def plot_manifold_embedding(self, algorithm="lle", path="images"):
        """
        Draw the manifold embedding for the specified algorithm
        """
        _, ax = plt.subplots(figsize=(9,6))
        path = self._make_path(path, "s_curve_{}_manifold.png".format(algorithm))

        oz = Manifold(
            ax=ax, manifold=algorithm,
            target='continuous', colors='nipy_spectral'
        )

        oz.fit(self.X, self.y)
        oz.poof(outpath=path)
def plot_manifold_embedding ( self , algorithm = "lle" , path = "images" ) : _ , ax = plt . subplots ( figsize = ( 9 , 6 ) ) path = self . _make_path ( path , "s_curve_{}_manifold.png" . format ( algorithm ) ) oz = Manifold ( ax = ax , manifold = algorithm , target = 'continuous' , colors = 'nipy_spectral' ) oz . fit ( self . X , self . y ) oz . poof ( outpath = path )
Draw the manifold embedding for the specified algorithm