예제 #1
0
    def view_statistics(self, magic: bool = False):
        """
        View statistics for infer pipeline in HTML.

        Args:
            magic (bool): Creates HTML page if False, else
            creates a notebook cell.
        """
        uri = self.get_artifacts_uri_by_component(
            GDPComponent.DataStatistics.name)[0]
        view_statistics(uri, magic)
예제 #2
0
    def view_statistics(self, magic: bool = False):
        """
        View statistics for training pipeline in HTML.

        Args:
            magic (bool): Creates HTML page if False, else
            creates a notebook cell.
        """
        logger.info(
            'Viewing statistics. If magic=False then a new window will open '
            'up with a notebook for evaluation. If magic=True, then an '
            'attempt will be made to append to the current notebook.')
        uri = self.get_artifacts_uri_by_component(
            GDPComponent.SplitStatistics.name)[0]
        view_statistics(uri, magic)
예제 #3
0
 def view_statistics(self):
     """View statistics of data flowing in pipeline."""
     pipeline = self._get_one_pipeline()
     uri = pipeline.get_artifacts_uri_by_component(
         GDPComponent.DataStatistics.name)[0]
     view_statistics(uri)