Source code for HALF.Interfaces.IUnifiedStrategy

from abc import ABC, abstractmethod
from typing import List,Dict

[docs]class IUnifiedStrategy(ABC): """ Abstract class for a strategy, which selects datapoints to be labelled """
[docs] def __init__(self): pass
[docs] @abstractmethod def query(self, list_dict: List[Dict]): """Query points to be labeled Args : list_dict List[Dict] : list of dictionaries containing the index of the query and the data """ # how do we query it ? pass