Queried Data Pool (Implementation) [0%]#

class FlatQueriedDataPool(*args: Any, **kwargs: Any)[source]#

Bases: QueriedDataPool

implements a pool of already labeled data

add(self, data_points) None[source]#
Description
Adds all data points to its data pool and updates its last added data.
Parameters:

data_points (Tuple[NDArray,`NDArray <https://numpy.org/doc/stable/reference/arrays.ndarray.html>`_]) – A tuple of queries and results

query(self, queries) data_points[source]#
Description
For a list of queries it returns a list of queries with associated results.
Parameters:

queries – A list of queries

Returns:

A tuple of queries and their results

Return type:

Tuple[NDArray,`NDArray <https://numpy.org/doc/stable/reference/arrays.ndarray.html>`_]

query_constrain(self) QueryConstrain[source]#
Description
Returns the QueryConstrain of the object.
Not implemented here.
result_constrain(self) ResultConstrain[source]#
Description
Returns the ResultConstrain of the object.
Not implemented here.