Skip to content
Snippets Groups Projects
Commit cfbc4e7b authored by tomrink's avatar tomrink
Browse files

keep only < 273 for both icing and no-icing regions

parent 4168d11e
No related branches found
No related tags found
No related merge requests found
......@@ -1227,9 +1227,8 @@ def split_data(num_obs, perc=0.2, skip=1):
idxs = list(idxs)
num_test = int(num_obs * perc)
skip = int(num_obs / num_test)
test_idxs = idxs[::skip]
test_idxs = idxs[::int(num_obs / num_test)]
test_set = set(test_idxs)
train_set = (set(idxs)).difference(test_set)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment