actsnclass.DataBase.make_query¶
-
DataBase.make_query(strategy='UncSampling', batch=1, screen=False) → list¶ Identify new object to be added to the training sample.
Parameters: - strategy (str (optional)) – Strategy used to choose the most informative object. Current implementation accepts ‘UncSampling’ and ‘RandomSampling’. Default is UncSampling.
- batch (int (optional)) – Number of objects to be chosen in each batch query. Default is 1.
- screen (bool (optional)) – If true, display on screen information about the displacement in order and classificaion probability due to constraints on queryable sample. Default is False.
Returns: query_indx – List of indexes identifying the objects to be queried in decreasing order of importance. If strategy==’RandomSampling’ the order is irrelevant.
Return type: list