Exemplo n.º 1
0
 def __init__(self, featurestore_id):
     self._feature_group_base_engine = (
         feature_group_base_engine.FeatureGroupBaseEngine(featurestore_id))
     self._statistics_engine = statistics_engine.StatisticsEngine(
         featurestore_id, self.ENTITY_TYPE)
     self._expectations_api = expectations_api.ExpectationsApi(
         featurestore_id, "featuregroups")
    def __init__(self, feature_store_id):
        """Expectations engine.

        :param feature_store_id: id of the respective featurestore
        :type feature_store_id: int
        """
        self._feature_store_id = feature_store_id
        self._expectations_api = expectations_api.ExpectationsApi(
            feature_store_id)
Exemplo n.º 3
0
    def __init__(
        self,
        featurestore_id,
        featurestore_name,
        created,
        hdfs_store_path,
        project_name,
        project_id,
        featurestore_description,
        inode_id,
        offline_featurestore_name,
        hive_endpoint,
        online_enabled,
        num_feature_groups=None,
        num_training_datasets=None,
        num_storage_connectors=None,
        online_featurestore_name=None,
        mysql_server_endpoint=None,
        online_featurestore_size=None,
    ):
        self._id = featurestore_id
        self._name = featurestore_name
        self._created = created
        self._hdfs_store_path = hdfs_store_path
        self._project_name = project_name
        self._project_id = project_id
        self._description = featurestore_description
        self._inode_id = inode_id
        self._online_feature_store_name = online_featurestore_name
        self._online_feature_store_size = online_featurestore_size
        self._offline_feature_store_name = offline_featurestore_name
        self._hive_endpoint = hive_endpoint
        self._mysql_server_endpoint = mysql_server_endpoint
        self._online_enabled = online_enabled
        self._num_feature_groups = num_feature_groups
        self._num_training_datasets = num_training_datasets
        self._num_storage_connectors = num_storage_connectors

        self._feature_group_api = feature_group_api.FeatureGroupApi(self._id)
        self._storage_connector_api = storage_connector_api.StorageConnectorApi(
            self._id)
        self._training_dataset_api = training_dataset_api.TrainingDatasetApi(
            self._id)
        self._expectations_api = expectations_api.ExpectationsApi(self._id)

        self._feature_group_engine = feature_group_engine.FeatureGroupEngine(
            self._id)

        self._transformation_function_engine = (
            transformation_function_engine.TransformationFunctionEngine(
                self._id))
        self._feature_view_engine = feature_view_engine.FeatureViewEngine(
            self._id)
Exemplo n.º 4
0
 def __init__(self, feature_store_id, entity_type):
     self._feature_group_validation_api = validations_api.FeatureGroupValidationsApi(
         feature_store_id, entity_type)
     self._expectations_api = expectations_api.ExpectationsApi(
         feature_store_id, entity_type)