actsnclass.DataBase.update_samples

DataBase.update_samples(query_indx: list, loop: int, screen=False)

Add the queried obj(s) to training and remove them from test.

Update properties: train_headers, train_features, train_labels, test_labels, test_headers and test_features.

Parameters:
  • query_indx (list) – List of indexes identifying objects to be moved.

  • loop (int) – Store number of loop when this query was made.

  • screen (bool (optional)) – Print debug auxiliary information on screen. Default is False.