(self, **kwargs)
return self
Set the Mapper parameters.

        Valid parameter keys can be listed with :meth:`get_mapper_params()`.

        Returns
        -------
        self
Set the Mapper parameters.
Set the Mapper parameters .
def set_params(self, **kwargs):
        """Set the Mapper parameters.

        Valid parameter keys can be listed with :meth:`get_mapper_params()`.

        Returns
        -------
        self

        """
        mapper_nodes_kwargs = self._subset_kwargs(kwargs, nodes_params)
        mapper_clust_prepr_kwargs = \
            self._subset_kwargs(kwargs, clust_prepr_params)
        mapper_clust_kwargs = self._subset_kwargs(kwargs, clust_params)
        mapper_nerve_kwargs = self._subset_kwargs(kwargs, nerve_params)
        if mapper_nodes_kwargs:
            super().set_params(
                **{nodes_params_prefix + key: mapper_nodes_kwargs[key]
                   for key in mapper_nodes_kwargs})
            [kwargs.pop(key) for key in mapper_nodes_kwargs]
        if mapper_clust_prepr_kwargs:
            super().set_params(
                **{clust_prepr_params_prefix + key:
                    mapper_clust_prepr_kwargs[key] for key in
                   mapper_clust_prepr_kwargs})
            [kwargs.pop(key) for key in mapper_clust_prepr_kwargs]
        if mapper_clust_kwargs:
            super().set_params(
                **{clust_params_prefix + key: mapper_clust_kwargs[key]
                   for key in mapper_clust_kwargs})
            [kwargs.pop(key) for key in mapper_clust_kwargs]
        if mapper_nerve_kwargs:
            super().set_params(
                **{nerve_params_prefix + key: mapper_nerve_kwargs[key]
                   for key in mapper_nerve_kwargs})
            [kwargs.pop(key) for key in mapper_nerve_kwargs]
        super().set_params(**kwargs)
        return self
def set_params ( self , * * kwargs ) : mapper_nodes_kwargs = self . _subset_kwargs ( kwargs , nodes_params ) mapper_clust_prepr_kwargs = self . _subset_kwargs ( kwargs , clust_prepr_params ) mapper_clust_kwargs = self . _subset_kwargs ( kwargs , clust_params ) mapper_nerve_kwargs = self . _subset_kwargs ( kwargs , nerve_params ) if mapper_nodes_kwargs : super ( ) . set_params ( * * { nodes_params_prefix + key : mapper_nodes_kwargs [ key ] for key in mapper_nodes_kwargs } ) [ kwargs . pop ( key ) for key in mapper_nodes_kwargs ] if mapper_clust_prepr_kwargs : super ( ) . set_params ( * * { clust_prepr_params_prefix + key : mapper_clust_prepr_kwargs [ key ] for key in mapper_clust_prepr_kwargs } ) [ kwargs . pop ( key ) for key in mapper_clust_prepr_kwargs ] if mapper_clust_kwargs : super ( ) . set_params ( * * { clust_params_prefix + key : mapper_clust_kwargs [ key ] for key in mapper_clust_kwargs } ) [ kwargs . pop ( key ) for key in mapper_clust_kwargs ] if mapper_nerve_kwargs : super ( ) . set_params ( * * { nerve_params_prefix + key : mapper_nerve_kwargs [ key ] for key in mapper_nerve_kwargs } ) [ kwargs . pop ( key ) for key in mapper_nerve_kwargs ] super ( ) . set_params ( * * kwargs ) return self