actsnclass.DataBase.update_samples

DataBase.update_samples(query_indx: list, loop: int, epoch=0, 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.
  • epoch (int (optional)) – Initial epoch since survey started. Default is 0.
  • screen (bool (optional)) – Print debug auxiliary information on screen. Default is False.