mirror of
https://github.com/ArthurDanjou/handson-ml3.git
synced 2026-01-14 12:14:36 +01:00
Fix statefull RNN's validation set range
This commit is contained in:
@@ -735,7 +735,8 @@
|
||||
" return ds.map(lambda window: (window[:, :-1], window[:, 1:])).prefetch(1)\n",
|
||||
"\n",
|
||||
"stateful_train_set = to_dataset_for_stateful_rnn(encoded[:1_000_000], length)\n",
|
||||
"stateful_valid_set = to_dataset_for_stateful_rnn(encoded[:1_000_000], length)\n",
|
||||
"stateful_valid_set = to_dataset_for_stateful_rnn(encoded[1_000_000:1_060_000],\n",
|
||||
" length)\n",
|
||||
"stateful_test_set = to_dataset_for_stateful_rnn(encoded[1_060_000:], length)"
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user