Exemplo n.º 1
0
 def __init__(
     self, feature_store_name, feature_store_id, left_feature_group, left_features
 ):
     self._feature_store_name = feature_store_name
     self._feature_store_id = feature_store_id
     self._left_feature_group = left_feature_group
     self._left_features = util.parse_features(left_features)
     self._joins = []
     self._query_constructor_api = query_constructor_api.QueryConstructorApi()
     self._storage_connector_api = storage_connector_api.StorageConnectorApi(
         feature_store_id
     )
Exemplo n.º 2
0
    def __init__(self, feature_store_id):
        self._feature_store_id = feature_store_id

        self._feature_view_api = feature_view_api.FeatureViewApi(
            feature_store_id)
        self._tags_api = tags_api.TagsApi(feature_store_id, self.ENTITY_TYPE)
        self._storage_connector_api = storage_connector_api.StorageConnectorApi(
            feature_store_id)
        self._transformation_function_engine = (
            transformation_function_engine.TransformationFunctionEngine(
                feature_store_id))
        self._td_code_engine = code_engine.CodeEngine(
            feature_store_id, self._TRAINING_DATA_API_PATH)
        self._statistics_engine = statistics_engine.StatisticsEngine(
            feature_store_id, self._TRAINING_DATA_API_PATH)
        self._training_dataset_engine = training_dataset_engine.TrainingDatasetEngine(
            feature_store_id)
        self._query_constructor_api = query_constructor_api.QueryConstructorApi(
        )
Exemplo n.º 3
0
 def __init__(
     self,
     left_feature_group,
     left_features,
     feature_store_name=None,
     feature_store_id=None,
     left_feature_group_start_time=None,
     left_feature_group_end_time=None,
     joins=None,
     filter=None,
 ):
     self._feature_store_name = feature_store_name
     self._feature_store_id = feature_store_id
     self._left_feature_group = left_feature_group
     self._left_features = util.parse_features(left_features)
     self._left_feature_group_start_time = left_feature_group_start_time
     self._left_feature_group_end_time = left_feature_group_end_time
     self._joins = joins or []
     self._filter = filter
     self._query_constructor_api = query_constructor_api.QueryConstructorApi(
     )
     self._storage_connector_api = storage_connector_api.StorageConnectorApi(
         feature_store_id)
Exemplo n.º 4
0
 def __init__(
     self,
     left_feature_group,
     left_features,
     feature_store_name=None,
     feature_store_id=None,
     left_feature_group_start_time=None,
     left_feature_group_end_time=None,
     joins=None,
     filter=None,
 ):
     self._feature_store_name = feature_store_name
     self._feature_store_id = feature_store_id
     self._left_feature_group = left_feature_group
     self._left_features = util.parse_features(left_features)
     self._left_feature_group_start_time = left_feature_group_start_time
     self._left_feature_group_end_time = left_feature_group_end_time
     self._joins = joins or []
     self._filter = Logic.from_response_json(filter)
     self._python_engine = True if engine.get_type() == "python" else False
     self._query_constructor_api = query_constructor_api.QueryConstructorApi()
     self._storage_connector_api = storage_connector_api.StorageConnectorApi(
         feature_store_id
     )