"2022-05-11 00:38:01.423873: I tensorflow/core/platform/cpu_feature_guard.cc:151] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX2 FMA\n",
"To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.\n"
]
},
{
"data": {
"text/plain": [
"WindowGenerator:\n",
"\tTotal window size: 11\n",
"\tInput indices: [0 1 2 3 4 5 6 7 8 9]\n",
"\tLabel indices: [10]"
]
},
"execution_count": 17,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"wg = WindowGenerator(sleep_data)\n",
"wg"
]
},
{
"cell_type": "code",
"execution_count": 20,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"1836"
]
},
"execution_count": 20,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"len(wg.testing_ds)"
]
},
{
{
"cell_type": "markdown",
"cell_type": "markdown",
"metadata": {},
"metadata": {},
...
@@ -845,92 +1019,75 @@
...
@@ -845,92 +1019,75 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count": 1,
"execution_count": 32,
"metadata": {},
"outputs": [
{
"ename": "NameError",
"evalue": "name 'training_test_split_by_unique_index' is not defined",
2022-05-11 00:38:01.423873: I tensorflow/core/platform/cpu_feature_guard.cc:151] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
WindowGenerator:
Total window size: 11
Input indices: [0 1 2 3 4 5 6 7 8 9]
Label indices: [10]
%% Cell type:code id: tags:
``` python
len(wg.testing_ds)
```
%% Output
1836
%% Cell type:markdown id: tags:
%% Cell type:markdown id: tags:
### Data Prep
### Data Prep
All inputs follow: (batch_size, timesteps, input_dim)
All inputs follow: (batch_size, timesteps, input_dim)