class_docstr: Fetch artifact data and make them accessible for analytics.
docstr: Initialize a ``ArtifactAnalytics`` instance.
  
  Args:
      sort_by (str, optional): The name of the resource property used to sort
          the set of artifacts. Currently only support for sort by Name
      sort_order(str optional): How trial components are ordered, valid values are Ascending
          and Descending. The default is Descending.
      source_uri(dict optional): The artifact source uri for filtering.
      artifact_type(dict optional): The artifact type for filtering.
      sagemaker_session (obj, optional): Sagemaker session. Defaults to None.
docstr_tok: ["Initialize","a","``","ArtifactAnalytics","``","instance",".","Args",":","sort_by","(","str",",","optional",")",":","The","name","of","the","resource","property","used","to","sort","the","set","of","artifacts",".","Currently","only","support","for","sort","by","Name","sort_order","(","str","optional",")",":","How","trial","components","are","ordered",",","valid","values","are","Ascending","and","Descending",".","The","default","is","Descending",".","source_uri","(","dict","optional",")",":","The","artifact","source","uri","for","filtering",".","artifact_type","(","dict","optional",")",":","The","artifact","type","for","filtering",".","sagemaker_session","(","obj",",","optional",")",":","Sagemaker","session",".","Defaults","to","None","."]
code: def __init__(
      self,
      sort_by=None,
      sort_order=None,
      source_uri=None,
      artifact_type=None,
      sagemaker_session=None,
  ):
      """Initialize a ``ArtifactAnalytics`` instance.
  
      Args:
          sort_by (str, optional): The name of the resource property used to sort
              the set of artifacts. Currently only support for sort by Name
          sort_order(str optional): How trial components are ordered, valid values are Ascending
              and Descending. The default is Descending.
          source_uri(dict optional): The artifact source uri for filtering.
          artifact_type(dict optional): The artifact type for filtering.
          sagemaker_session (obj, optional): Sagemaker session. Defaults to None.
      """
      self._sort_by = sort_by if sort_by == "Name" else None
      self._sort_order = sort_order
      self._source_uri = source_uri
      self._artifact_type = artifact_type
      self._sagemaker_session = sagemaker_session
      super(ArtifactAnalytics, self).__init__()
      self.clear_cache()
  
imports: from __future__ import print_function, absolute_import
  from abc import ABCMeta, abstractmethod
  from collections import defaultdict, OrderedDict
  import datetime
  import logging
  from six import with_metaclass
  from sagemaker.session import Session
  from sagemaker.utils import DeferredError
  from sagemaker.lineage import artifact
label_desc: Use image node_id 1 to create a new ArtifactAnalytics object from inherited base classes: AnalyticsMetricsBase with example: obj = ArtifactAnalytics(sort_by, sort_order, source_uri, artifact_type, sagemaker_session)