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

snapshot...

parent bef5fd2b
No related branches found
No related tags found
No related merge requests found
...@@ -1521,14 +1521,14 @@ def run_mean_std_2(check_cloudy=False, no_icing_to_icing_ratio=5, params=train_p ...@@ -1521,14 +1521,14 @@ def run_mean_std_2(check_cloudy=False, no_icing_to_icing_ratio=5, params=train_p
def split_data(times): def split_data(times):
time_idxs = np.arange(times.shape[0]) time_idxs = np.arange(times.shape[0])
time_ranges = [[get_timestamp('2018-01-01_00:00'), get_timestamp('2018-01-07_23:59')], time_ranges = [[get_timestamp('2018-01-01_00:00'), get_timestamp('2018-01-08_23:59')],
[get_timestamp('2018-04-01_00:00'), get_timestamp('2018-04-07_23:59')], [get_timestamp('2018-04-01_00:00'), get_timestamp('2018-04-08_23:59')],
[get_timestamp('2018-07-01_00:00'), get_timestamp('2018-07-07_23:59')], [get_timestamp('2018-07-01_00:00'), get_timestamp('2018-07-08_23:59')],
[get_timestamp('2018-10-01_00:00'), get_timestamp('2018-10-07_23:59')], [get_timestamp('2018-10-01_00:00'), get_timestamp('2018-10-08_23:59')],
[get_timestamp('2019-01-01_00:00'), get_timestamp('2019-01-07_23:59')], [get_timestamp('2019-01-01_00:00'), get_timestamp('2019-01-08_23:59')],
[get_timestamp('2019-04-01_00:00'), get_timestamp('2019-04-07_23:59')], [get_timestamp('2019-04-01_00:00'), get_timestamp('2019-04-08_23:59')],
[get_timestamp('2019-07-01_00:00'), get_timestamp('2019-07-07_23:59')], [get_timestamp('2019-07-01_00:00'), get_timestamp('2019-07-08_23:59')],
[get_timestamp('2019-10-01_00:00'), get_timestamp('2019-10-07_23:59')]] [get_timestamp('2019-10-01_00:00'), get_timestamp('2019-10-08_23:59')]]
test_time_idxs = [] test_time_idxs = []
for t_rng in time_ranges: for t_rng in time_ranges:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment