Exemplo n.º 1
0
    def select_all(self):
        """Select all features in the feature group and return a query object.

        The query can be used to construct joins of feature groups or create a
        training dataset immediately.

        # Returns
            `Query`. A query object with all features of the feature group.
        """
        return query.Query(self._feature_store_name, self._feature_store_id,
                           self, self._features)
Exemplo n.º 2
0
    def select(self, features=[]):
        """Select a subset of features of the feature group and return a query object.

        The query can be used to construct joins of feature groups or create a training
        dataset with a subset of features of the feature group.

        # Arguments
            features: list, optional. A list of `Feature` objects or feature names as
                strings to be selected, defaults to [].

        # Returns
            `Query`: A query object with the selected features of the feature group.
        """
        return query.Query(self._feature_store_name, self._feature_store_id,
                           self, features)
Exemplo n.º 3
0
 def select(self, features=[]):
     return query.Query(self._feature_store_name, self._feature_store_id,
                        self, features)
Exemplo n.º 4
0
 def select_all(self):
     """Select all features in the feature group and return a query object."""
     return query.Query(self._feature_store_name, self._feature_store_id,
                        self, self._features)