throwstd::logic_error("The total number of samples has changed from "+std::to_string(N_SAMPLES)+" to "+std::to_string(n_samp_new)+", task_sz_train is wrong.");
throwstd::logic_error("The total number of test samples has changed from "+std::to_string(N_SAMPLES_TEST)+" to "+std::to_string(n_samp_new)+", task_sz_test is wrong.");
throwstd::logic_error("The total number of samples in the updated task size vector is not the same as the number of samples ids for the training set.");
throwstd::logic_error("The total number of samples in the updated primary feature set is not the same as the number of samples ids for the test set.");