get_test_idxs#

mbgdml._gdml.train.get_test_idxs(model, dataset, n_test=None)[source]#

Gets dataset indices for testing a model.

Parameters:
  • model (dict) – Model to test.

  • dataset (dict) – Dataset to be used for testing.

  • n_test (int, default: None) – Number of points to include in test indices. Defaults to all available indices.

Returns:

Structure indices for model testing.

Return type:

numpy.ndarray