1st LSTM with backtest trial

策略分享
标签: #<Tag:0x00007f521295dd80>

(FINA1000) #1
克隆策略
In [162]:
import pandas as pd
import numpy as np
from sklearn import preprocessing
from sklearn.preprocessing import scale
from collections import deque
import random
import sklearn

import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
from pandas import datetime
import math, time
import itertools
from sklearn import preprocessing
import datetime
from operator import itemgetter
from sklearn.metrics import mean_squared_error
from math import sqrt
from keras.models import Sequential
from keras.layers.core import Dense, Dropout, Activation
from keras.layers.recurrent import LSTM
In [163]:
## get data
data= D.history_data(instruments=['600115.SHA'],start_date='2005-01-01',end_date=None,fields=['open', 'high', 'low', 'close','volume'])
df1=data[['date', 'low', 'high', 'open', 'close','volume']]
df1.set_index('date', inplace=True)
df2=df1.copy()
df2['fivedays_return']=((df2['close'].shift(-5) / df2['open'].shift(-1) - 1))*10
#df2.dropna(inplace=True)
df3=df1.copy()
df2.tail()

## data normalization
min_max_scaler = sklearn.preprocessing.MinMaxScaler()

for feature in df1.columns:
    df1[feature]=min_max_scaler.fit_transform(df1[feature].values.reshape(-1,1))
    
df_norm = df1
#df_norm = df_norm[['high','open','close']]
print ('len(df_norm)',len(df_norm))
#df_norm.tail(5)


## structure the data to fit LSTM
window=30
data_raw1=df_norm.values# dataframe colums converts to numpy array
data_raw2=df2.iloc[:,-1].values
data1=[]
data2=[]
data3=[]
data4=[]

train_set_size=int(len(data_raw1)*0.8)
test_set_size=len(data_raw1)-train_set_size

for i in range(0,train_set_size-window):
    data1.append(data_raw1[i:i+window])
    data2.append(data_raw2[i+window-1])

x_train=np.array(data1)
y_train=np.array(data2).reshape(-1,1)

for i in range(train_set_size-window,train_set_size-window+test_set_size):
    data3.append(data_raw1[i:i+window])
    data4.append(data_raw2[i+window-1])
    
x_test=np.array(data3)
y_test=np.array(data4).reshape(-1,1)
print('x_train.shape = ',x_train.shape)
print('y_train.shape = ', y_train.shape)
print('x_test.shape = ', x_test.shape)
print('y_test.shape = ',y_test.shape)

# 自定义激活函数
import tensorflow as tf
def atan(x): 
    return tf.atan(x)

# 构建神经网络层 1层LSTM层+3层Dense层
# 用于1个输入情况
from keras.layers import Input, Dense, LSTM, merge
from keras.models import Model
lstm_input = Input(shape=(30,5), name='lstm_input')
lstm_output = LSTM(128, activation=atan, dropout_W=0.2, dropout_U=0.1)(lstm_input)
Dense_output_1 = Dense(64, activation='linear')(lstm_output)
Dense_output_2 = Dense(16, activation='linear')(Dense_output_1)
prediction = Dense(1, activation=atan)(Dense_output_2)

model = Model(input=lstm_input, output=prediction)

model.compile(optimizer='adam', loss='mse', metrics=['mse'])
    
model.fit(x_train, y_train, batch_size=64, nb_epoch=200, verbose=2)
len(df_norm) 3380
x_train.shape =  (2674, 30, 5)
y_train.shape =  (2674, 1)
x_test.shape =  (676, 30, 5)
y_test.shape =  (676, 1)
Epoch 1/2000
 - 7s - loss: 0.6161 - mean_squared_error: 0.6161
Epoch 2/2000
 - 5s - loss: 0.6129 - mean_squared_error: 0.6129
Epoch 3/2000
 - 5s - loss: 0.6130 - mean_squared_error: 0.6130
Epoch 4/2000
 - 5s - loss: 0.6104 - mean_squared_error: 0.6104
Epoch 5/2000
 - 5s - loss: 0.6111 - mean_squared_error: 0.6111
Epoch 6/2000
 - 5s - loss: 0.6105 - mean_squared_error: 0.6105
Epoch 7/2000
 - 5s - loss: 0.6105 - mean_squared_error: 0.6105
Epoch 8/2000
 - 5s - loss: 0.6119 - mean_squared_error: 0.6119
Epoch 9/2000
 - 5s - loss: 0.6103 - mean_squared_error: 0.6103
Epoch 10/2000
 - 5s - loss: 0.6115 - mean_squared_error: 0.6115
Epoch 11/2000
 - 5s - loss: 0.6093 - mean_squared_error: 0.6093
Epoch 12/2000
 - 5s - loss: 0.6103 - mean_squared_error: 0.6103
Epoch 13/2000
 - 5s - loss: 0.6099 - mean_squared_error: 0.6099
Epoch 14/2000
 - 5s - loss: 0.6101 - mean_squared_error: 0.6101
Epoch 15/2000
 - 5s - loss: 0.6087 - mean_squared_error: 0.6087
Epoch 16/2000
 - 5s - loss: 0.6102 - mean_squared_error: 0.6102
Epoch 17/2000
 - 5s - loss: 0.6096 - mean_squared_error: 0.6096
Epoch 18/2000
 - 5s - loss: 0.6060 - mean_squared_error: 0.6060
Epoch 19/2000
 - 5s - loss: 0.6088 - mean_squared_error: 0.6088
Epoch 20/2000
 - 5s - loss: 0.6069 - mean_squared_error: 0.6069
Epoch 21/2000
 - 5s - loss: 0.6111 - mean_squared_error: 0.6111
Epoch 22/2000
 - 5s - loss: 0.6078 - mean_squared_error: 0.6078
Epoch 23/2000
 - 5s - loss: 0.6100 - mean_squared_error: 0.6100
Epoch 24/2000
 - 5s - loss: 0.6094 - mean_squared_error: 0.6094
Epoch 25/2000
 - 5s - loss: 0.6088 - mean_squared_error: 0.6088
Epoch 26/2000
 - 5s - loss: 0.6072 - mean_squared_error: 0.6072
Epoch 27/2000
 - 5s - loss: 0.6080 - mean_squared_error: 0.6080
Epoch 28/2000
 - 5s - loss: 0.6047 - mean_squared_error: 0.6047
Epoch 29/2000
 - 5s - loss: 0.6056 - mean_squared_error: 0.6056
Epoch 30/2000
 - 5s - loss: 0.6041 - mean_squared_error: 0.6041
Epoch 31/2000
 - 5s - loss: 0.5994 - mean_squared_error: 0.5994
Epoch 32/2000
 - 5s - loss: 0.6089 - mean_squared_error: 0.6089
Epoch 33/2000
 - 5s - loss: 0.6020 - mean_squared_error: 0.6020
Epoch 34/2000
 - 5s - loss: 0.5992 - mean_squared_error: 0.5992
Epoch 35/2000
 - 5s - loss: 0.6038 - mean_squared_error: 0.6038
Epoch 36/2000
 - 5s - loss: 0.6050 - mean_squared_error: 0.6050
Epoch 37/2000
 - 5s - loss: 0.6035 - mean_squared_error: 0.6035
Epoch 38/2000
 - 5s - loss: 0.6053 - mean_squared_error: 0.6053
Epoch 39/2000
 - 5s - loss: 0.6008 - mean_squared_error: 0.6008
Epoch 40/2000
 - 5s - loss: 0.5963 - mean_squared_error: 0.5963
Epoch 41/2000
 - 5s - loss: 0.5968 - mean_squared_error: 0.5968
Epoch 42/2000
 - 5s - loss: 0.6019 - mean_squared_error: 0.6019
Epoch 43/2000
 - 5s - loss: 0.6078 - mean_squared_error: 0.6078
Epoch 44/2000
 - 5s - loss: 0.5946 - mean_squared_error: 0.5946
Epoch 45/2000
 - 5s - loss: 0.5885 - mean_squared_error: 0.5885
Epoch 46/2000
 - 5s - loss: 0.5950 - mean_squared_error: 0.5950
Epoch 47/2000
 - 5s - loss: 0.5922 - mean_squared_error: 0.5922
Epoch 48/2000
 - 5s - loss: 0.5985 - mean_squared_error: 0.5985
Epoch 49/2000
 - 5s - loss: 0.5934 - mean_squared_error: 0.5934
Epoch 50/2000
 - 5s - loss: 0.5863 - mean_squared_error: 0.5863
Epoch 51/2000
 - 5s - loss: 0.5957 - mean_squared_error: 0.5957
Epoch 52/2000
 - 5s - loss: 0.6014 - mean_squared_error: 0.6014
Epoch 53/2000
 - 5s - loss: 0.5951 - mean_squared_error: 0.5951
Epoch 54/2000
 - 5s - loss: 0.5964 - mean_squared_error: 0.5964
Epoch 55/2000
 - 5s - loss: 0.5941 - mean_squared_error: 0.5941
Epoch 56/2000
 - 5s - loss: 0.5892 - mean_squared_error: 0.5892
Epoch 57/2000
 - 5s - loss: 0.5964 - mean_squared_error: 0.5964
Epoch 58/2000
 - 5s - loss: 0.5909 - mean_squared_error: 0.5909
Epoch 59/2000
 - 5s - loss: 0.5860 - mean_squared_error: 0.5860
Epoch 60/2000
 - 5s - loss: 0.5871 - mean_squared_error: 0.5871
Epoch 61/2000
 - 5s - loss: 0.5830 - mean_squared_error: 0.5830
Epoch 62/2000
 - 5s - loss: 0.5795 - mean_squared_error: 0.5795
Epoch 63/2000
 - 5s - loss: 0.5822 - mean_squared_error: 0.5822
Epoch 64/2000
 - 5s - loss: 0.5808 - mean_squared_error: 0.5808
Epoch 65/2000
 - 5s - loss: 0.5894 - mean_squared_error: 0.5894
Epoch 66/2000
 - 5s - loss: 0.5807 - mean_squared_error: 0.5807
Epoch 67/2000
 - 5s - loss: 0.5804 - mean_squared_error: 0.5804
Epoch 68/2000
 - 5s - loss: 0.5825 - mean_squared_error: 0.5825
Epoch 69/2000
 - 5s - loss: 0.5979 - mean_squared_error: 0.5979
Epoch 70/2000
 - 5s - loss: 0.5967 - mean_squared_error: 0.5967
Epoch 71/2000
 - 5s - loss: 0.5933 - mean_squared_error: 0.5933
Epoch 72/2000
 - 5s - loss: 0.5803 - mean_squared_error: 0.5803
Epoch 73/2000
 - 5s - loss: 0.5839 - mean_squared_error: 0.5839
Epoch 74/2000
 - 5s - loss: 0.5845 - mean_squared_error: 0.5845
Epoch 75/2000
 - 5s - loss: 0.5715 - mean_squared_error: 0.5715
Epoch 76/2000
 - 5s - loss: 0.5904 - mean_squared_error: 0.5904
Epoch 77/2000
 - 5s - loss: 0.5897 - mean_squared_error: 0.5897
Epoch 78/2000
 - 5s - loss: 0.5852 - mean_squared_error: 0.5852
Epoch 79/2000
 - 5s - loss: 0.5867 - mean_squared_error: 0.5867
Epoch 80/2000
 - 5s - loss: 0.5782 - mean_squared_error: 0.5782
Epoch 81/2000
 - 5s - loss: 0.5908 - mean_squared_error: 0.5908
Epoch 82/2000
 - 5s - loss: 0.5871 - mean_squared_error: 0.5871
Epoch 83/2000
 - 5s - loss: 0.5750 - mean_squared_error: 0.5750
Epoch 84/2000
 - 5s - loss: 0.5900 - mean_squared_error: 0.5900
Epoch 85/2000
 - 5s - loss: 0.5768 - mean_squared_error: 0.5768
Epoch 86/2000
 - 5s - loss: 0.5771 - mean_squared_error: 0.5771
Epoch 87/2000
 - 5s - loss: 0.5802 - mean_squared_error: 0.5802
Epoch 88/2000
 - 5s - loss: 0.5861 - mean_squared_error: 0.5861
Epoch 89/2000
 - 5s - loss: 0.5804 - mean_squared_error: 0.5804
Epoch 90/2000
 - 5s - loss: 0.5814 - mean_squared_error: 0.5814
Epoch 91/2000
 - 5s - loss: 0.6011 - mean_squared_error: 0.6011
Epoch 92/2000
 - 5s - loss: 0.5892 - mean_squared_error: 0.5892
Epoch 93/2000
 - 5s - loss: 0.5832 - mean_squared_error: 0.5832
Epoch 94/2000
 - 5s - loss: 0.5836 - mean_squared_error: 0.5836
Epoch 95/2000
 - 5s - loss: 0.5807 - mean_squared_error: 0.5807
Epoch 96/2000
 - 5s - loss: 0.5732 - mean_squared_error: 0.5732
Epoch 97/2000
 - 5s - loss: 0.5798 - mean_squared_error: 0.5798
Epoch 98/2000
 - 5s - loss: 0.5705 - mean_squared_error: 0.5705
Epoch 99/2000
 - 5s - loss: 0.5779 - mean_squared_error: 0.5779
Epoch 100/2000
 - 5s - loss: 0.5743 - mean_squared_error: 0.5743
Epoch 101/2000
 - 5s - loss: 0.5732 - mean_squared_error: 0.5732
Epoch 102/2000
 - 5s - loss: 0.5796 - mean_squared_error: 0.5796
Epoch 103/2000
 - 5s - loss: 0.5731 - mean_squared_error: 0.5731
Epoch 104/2000
 - 5s - loss: 0.5678 - mean_squared_error: 0.5678
Epoch 105/2000
 - 5s - loss: 0.5744 - mean_squared_error: 0.5744
Epoch 106/2000
 - 5s - loss: 0.5685 - mean_squared_error: 0.5685
Epoch 107/2000
 - 5s - loss: 0.5678 - mean_squared_error: 0.5678
Epoch 108/2000
 - 5s - loss: 0.5729 - mean_squared_error: 0.5729
Epoch 109/2000
 - 5s - loss: 0.5817 - mean_squared_error: 0.5817
Epoch 110/2000
 - 5s - loss: 0.5692 - mean_squared_error: 0.5692
Epoch 111/2000
 - 5s - loss: 0.5648 - mean_squared_error: 0.5648
Epoch 112/2000
 - 5s - loss: 0.5696 - mean_squared_error: 0.5696
Epoch 113/2000
 - 5s - loss: 0.5655 - mean_squared_error: 0.5655
Epoch 114/2000
 - 5s - loss: 0.5622 - mean_squared_error: 0.5622
Epoch 115/2000
 - 5s - loss: 0.5638 - mean_squared_error: 0.5638
Epoch 116/2000
 - 5s - loss: 0.5627 - mean_squared_error: 0.5627
Epoch 117/2000
 - 5s - loss: 0.5743 - mean_squared_error: 0.5743
Epoch 118/2000
 - 5s - loss: 0.5694 - mean_squared_error: 0.5694
Epoch 119/2000
 - 5s - loss: 0.5709 - mean_squared_error: 0.5709
Epoch 120/2000
 - 5s - loss: 0.5610 - mean_squared_error: 0.5610
Epoch 121/2000
 - 5s - loss: 0.5530 - mean_squared_error: 0.5530
Epoch 122/2000
 - 5s - loss: 0.5601 - mean_squared_error: 0.5601
Epoch 123/2000
 - 5s - loss: 0.5545 - mean_squared_error: 0.5545
Epoch 124/2000
 - 5s - loss: 0.5665 - mean_squared_error: 0.5665
Epoch 125/2000
 - 5s - loss: 0.5583 - mean_squared_error: 0.5583
Epoch 126/2000
 - 5s - loss: 0.5574 - mean_squared_error: 0.5574
Epoch 127/2000
 - 5s - loss: 0.5674 - mean_squared_error: 0.5674
Epoch 128/2000
 - 5s - loss: 0.5638 - mean_squared_error: 0.5638
Epoch 129/2000
 - 5s - loss: 0.5607 - mean_squared_error: 0.5607
Epoch 130/2000
 - 5s - loss: 0.5497 - mean_squared_error: 0.5497
Epoch 131/2000
 - 5s - loss: 0.5532 - mean_squared_error: 0.5532
Epoch 132/2000
 - 5s - loss: 0.5584 - mean_squared_error: 0.5584
Epoch 133/2000
 - 5s - loss: 0.5428 - mean_squared_error: 0.5428
Epoch 134/2000
 - 5s - loss: 0.5563 - mean_squared_error: 0.5563
Epoch 135/2000
 - 5s - loss: 0.5464 - mean_squared_error: 0.5464
Epoch 136/2000
 - 5s - loss: 0.5568 - mean_squared_error: 0.5568
Epoch 137/2000
 - 5s - loss: 0.5566 - mean_squared_error: 0.5566
Epoch 138/2000
 - 5s - loss: 0.5533 - mean_squared_error: 0.5533
Epoch 139/2000
 - 5s - loss: 0.5484 - mean_squared_error: 0.5484
Epoch 140/2000
 - 5s - loss: 0.5455 - mean_squared_error: 0.5455
Epoch 141/2000
 - 5s - loss: 0.5480 - mean_squared_error: 0.5480
Epoch 142/2000
 - 5s - loss: 0.5470 - mean_squared_error: 0.5470
Epoch 143/2000
 - 5s - loss: 0.5427 - mean_squared_error: 0.5427
Epoch 144/2000
 - 5s - loss: 0.5443 - mean_squared_error: 0.5443
Epoch 145/2000
 - 5s - loss: 0.5443 - mean_squared_error: 0.5443
Epoch 146/2000
 - 5s - loss: 0.5418 - mean_squared_error: 0.5418
Epoch 147/2000
 - 5s - loss: 0.5450 - mean_squared_error: 0.5450
Epoch 148/2000
 - 5s - loss: 0.5517 - mean_squared_error: 0.5517
Epoch 149/2000
 - 5s - loss: 0.5336 - mean_squared_error: 0.5336
Epoch 150/2000
 - 5s - loss: 0.5485 - mean_squared_error: 0.5485
Epoch 151/2000
 - 5s - loss: 0.5460 - mean_squared_error: 0.5460
Epoch 152/2000
 - 5s - loss: 0.5375 - mean_squared_error: 0.5375
Epoch 153/2000
 - 5s - loss: 0.5410 - mean_squared_error: 0.5410
Epoch 154/2000
 - 5s - loss: 0.5370 - mean_squared_error: 0.5370
Epoch 155/2000
 - 5s - loss: 0.5361 - mean_squared_error: 0.5361
Epoch 156/2000
 - 5s - loss: 0.5387 - mean_squared_error: 0.5387
Epoch 157/2000
 - 5s - loss: 0.5227 - mean_squared_error: 0.5227
Epoch 158/2000
 - 5s - loss: 0.5313 - mean_squared_error: 0.5313
Epoch 159/2000
 - 5s - loss: 0.5326 - mean_squared_error: 0.5326
Epoch 160/2000
 - 5s - loss: 0.5289 - mean_squared_error: 0.5289
Epoch 161/2000
 - 5s - loss: 0.5261 - mean_squared_error: 0.5261
Epoch 162/2000
 - 5s - loss: 0.5363 - mean_squared_error: 0.5363
Epoch 163/2000
 - 5s - loss: 0.5154 - mean_squared_error: 0.5154
Epoch 164/2000
 - 5s - loss: 0.5383 - mean_squared_error: 0.5383
Epoch 165/2000
 - 5s - loss: 0.5316 - mean_squared_error: 0.5316
Epoch 166/2000
 - 5s - loss: 0.5334 - mean_squared_error: 0.5334
Epoch 167/2000
 - 5s - loss: 0.5205 - mean_squared_error: 0.5205
Epoch 168/2000
 - 5s - loss: 0.5308 - mean_squared_error: 0.5308
Epoch 169/2000
 - 5s - loss: 0.5195 - mean_squared_error: 0.5195
Epoch 170/2000
 - 5s - loss: 0.5208 - mean_squared_error: 0.5208
Epoch 171/2000
 - 5s - loss: 0.5268 - mean_squared_error: 0.5268
Epoch 172/2000
 - 5s - loss: 0.5259 - mean_squared_error: 0.5259
Epoch 173/2000
 - 5s - loss: 0.5313 - mean_squared_error: 0.5313
Epoch 174/2000
 - 5s - loss: 0.5182 - mean_squared_error: 0.5182
Epoch 175/2000
 - 5s - loss: 0.5177 - mean_squared_error: 0.5177
Epoch 176/2000
 - 5s - loss: 0.5234 - mean_squared_error: 0.5234
Epoch 177/2000
 - 5s - loss: 0.5015 - mean_squared_error: 0.5015
Epoch 178/2000
 - 5s - loss: 0.5098 - mean_squared_error: 0.5098
Epoch 179/2000
 - 5s - loss: 0.5243 - mean_squared_error: 0.5243
Epoch 180/2000
 - 5s - loss: 0.5264 - mean_squared_error: 0.5264
Epoch 181/2000
 - 5s - loss: 0.5278 - mean_squared_error: 0.5278
Epoch 182/2000
 - 5s - loss: 0.5117 - mean_squared_error: 0.5117
Epoch 183/2000
 - 5s - loss: 0.5168 - mean_squared_error: 0.5168
Epoch 184/2000
 - 5s - loss: 0.5113 - mean_squared_error: 0.5113
Epoch 185/2000
 - 5s - loss: 0.5303 - mean_squared_error: 0.5303
Epoch 186/2000
 - 5s - loss: 0.5099 - mean_squared_error: 0.5099
Epoch 187/2000
 - 5s - loss: 0.4982 - mean_squared_error: 0.4982
Epoch 188/2000
 - 5s - loss: 0.5202 - mean_squared_error: 0.5202
Epoch 189/2000
 - 5s - loss: 0.5013 - mean_squared_error: 0.5013
Epoch 190/2000
 - 5s - loss: 0.5154 - mean_squared_error: 0.5154
Epoch 191/2000
 - 5s - loss: 0.5084 - mean_squared_error: 0.5084
Epoch 192/2000
 - 5s - loss: 0.5162 - mean_squared_error: 0.5162
Epoch 193/2000
 - 5s - loss: 0.5109 - mean_squared_error: 0.5109
Epoch 194/2000
 - 5s - loss: 0.4949 - mean_squared_error: 0.4949
Epoch 217/2000
 - 5s - loss: 0.5003 - mean_squared_error: 0.5003
Epoch 218/2000
 - 5s - loss: 0.4898 - mean_squared_error: 0.4898
Epoch 219/2000
 - 5s - loss: 0.4991 - mean_squared_error: 0.4991
Epoch 220/2000
 - 5s - loss: 0.4986 - mean_squared_error: 0.4986
Epoch 221/2000
 - 5s - loss: 0.5023 - mean_squared_error: 0.5023
Epoch 222/2000
 - 5s - loss: 0.5043 - mean_squared_error: 0.5043
Epoch 223/2000
 - 5s - loss: 0.4925 - mean_squared_error: 0.4925
Epoch 224/2000
 - 5s - loss: 0.5084 - mean_squared_error: 0.5084
Epoch 225/2000
 - 5s - loss: 0.5137 - mean_squared_error: 0.5137
Epoch 226/2000
 - 5s - loss: 0.5002 - mean_squared_error: 0.5002
Epoch 227/2000
 - 5s - loss: 0.4920 - mean_squared_error: 0.4920
Epoch 228/2000
 - 5s - loss: 0.4971 - mean_squared_error: 0.4971
Epoch 229/2000
 - 5s - loss: 0.4817 - mean_squared_error: 0.4817
Epoch 230/2000
 - 5s - loss: 0.4892 - mean_squared_error: 0.4892
Epoch 231/2000
 - 5s - loss: 0.4977 - mean_squared_error: 0.4977
Epoch 232/2000
 - 5s - loss: 0.4806 - mean_squared_error: 0.4806
Epoch 233/2000
 - 5s - loss: 0.4848 - mean_squared_error: 0.4848
Epoch 234/2000
 - 5s - loss: 0.4871 - mean_squared_error: 0.4871
Epoch 235/2000
 - 5s - loss: 0.4959 - mean_squared_error: 0.4959
Epoch 236/2000
 - 5s - loss: 0.4813 - mean_squared_error: 0.4813
Epoch 237/2000
 - 5s - loss: 0.4821 - mean_squared_error: 0.4821
Epoch 238/2000
 - 5s - loss: 0.4821 - mean_squared_error: 0.4821
Epoch 239/2000
 - 5s - loss: 0.4872 - mean_squared_error: 0.4872
Epoch 240/2000
 - 5s - loss: 0.4903 - mean_squared_error: 0.4903
Epoch 241/2000
 - 5s - loss: 0.4961 - mean_squared_error: 0.4961
Epoch 242/2000
 - 5s - loss: 0.4791 - mean_squared_error: 0.4791
Epoch 243/2000
 - 5s - loss: 0.4822 - mean_squared_error: 0.4822
Epoch 244/2000
 - 5s - loss: 0.4845 - mean_squared_error: 0.4845
Epoch 245/2000
 - 5s - loss: 0.4938 - mean_squared_error: 0.4938
Epoch 246/2000
 - 5s - loss: 0.4809 - mean_squared_error: 0.4809
Epoch 247/2000
 - 5s - loss: 0.4801 - mean_squared_error: 0.4801
Epoch 248/2000
 - 5s - loss: 0.4914 - mean_squared_error: 0.4914
Epoch 249/2000
 - 5s - loss: 0.4758 - mean_squared_error: 0.4758
Epoch 250/2000
 - 5s - loss: 0.4900 - mean_squared_error: 0.4900
Epoch 251/2000
 - 5s - loss: 0.4802 - mean_squared_error: 0.4802
Epoch 252/2000
 - 5s - loss: 0.4842 - mean_squared_error: 0.4842
Epoch 253/2000
 - 5s - loss: 0.4892 - mean_squared_error: 0.4892
Epoch 254/2000
 - 5s - loss: 0.4730 - mean_squared_error: 0.4730
Epoch 255/2000
 - 5s - loss: 0.4914 - mean_squared_error: 0.4914
Epoch 256/2000
 - 5s - loss: 0.4755 - mean_squared_error: 0.4755
Epoch 257/2000
 - 5s - loss: 0.4910 - mean_squared_error: 0.4910
Epoch 258/2000
 - 5s - loss: 0.4893 - mean_squared_error: 0.4893
Epoch 259/2000
 - 5s - loss: 0.4647 - mean_squared_error: 0.4647
Epoch 260/2000
 - 5s - loss: 0.4863 - mean_squared_error: 0.4863
Epoch 261/2000
 - 5s - loss: 0.4767 - mean_squared_error: 0.4767
Epoch 262/2000
 - 5s - loss: 0.4859 - mean_squared_error: 0.4859
Epoch 263/2000
 - 5s - loss: 0.4804 - mean_squared_error: 0.4804
Epoch 264/2000
 - 5s - loss: 0.4898 - mean_squared_error: 0.4898
Epoch 265/2000
 - 5s - loss: 0.4822 - mean_squared_error: 0.4822
Epoch 266/2000
 - 5s - loss: 0.4848 - mean_squared_error: 0.4848
Epoch 267/2000
 - 5s - loss: 0.4908 - mean_squared_error: 0.4908
Epoch 268/2000
 - 5s - loss: 0.4823 - mean_squared_error: 0.4823
Epoch 269/2000
 - 5s - loss: 0.4778 - mean_squared_error: 0.4778
Epoch 270/2000
 - 5s - loss: 0.4650 - mean_squared_error: 0.4650
Epoch 271/2000
 - 5s - loss: 0.4732 - mean_squared_error: 0.4732
Epoch 272/2000
 - 5s - loss: 0.4849 - mean_squared_error: 0.4849
Epoch 273/2000
 - 5s - loss: 0.4800 - mean_squared_error: 0.4800
Epoch 274/2000
 - 5s - loss: 0.4670 - mean_squared_error: 0.4670
Epoch 275/2000
 - 5s - loss: 0.4670 - mean_squared_error: 0.4670
Epoch 276/2000
 - 5s - loss: 0.4738 - mean_squared_error: 0.4738
Epoch 277/2000
 - 5s - loss: 0.4594 - mean_squared_error: 0.4594
Epoch 278/2000
 - 5s - loss: 0.4645 - mean_squared_error: 0.4645
Epoch 279/2000
 - 5s - loss: 0.4726 - mean_squared_error: 0.4726
Epoch 280/2000
 - 5s - loss: 0.4699 - mean_squared_error: 0.4699
Epoch 281/2000
 - 5s - loss: 0.4596 - mean_squared_error: 0.4596
Epoch 282/2000
 - 5s - loss: 0.4791 - mean_squared_error: 0.4791
Epoch 283/2000
 - 5s - loss: 0.4764 - mean_squared_error: 0.4764
Epoch 284/2000
 - 5s - loss: 0.4530 - mean_squared_error: 0.4530
Epoch 285/2000
 - 5s - loss: 0.4648 - mean_squared_error: 0.4648
Epoch 286/2000
 - 5s - loss: 0.4668 - mean_squared_error: 0.4668
Epoch 287/2000
 - 5s - loss: 0.4674 - mean_squared_error: 0.4674
Epoch 288/2000
 - 5s - loss: 0.4701 - mean_squared_error: 0.4701
Epoch 289/2000
 - 5s - loss: 0.4636 - mean_squared_error: 0.4636
Epoch 290/2000
 - 5s - loss: 0.4613 - mean_squared_error: 0.4613
Epoch 291/2000
 - 5s - loss: 0.4575 - mean_squared_error: 0.4575
Epoch 292/2000
 - 5s - loss: 0.4524 - mean_squared_error: 0.4524
Epoch 293/2000
 - 5s - loss: 0.4547 - mean_squared_error: 0.4547
Epoch 294/2000
 - 5s - loss: 0.4541 - mean_squared_error: 0.4541
Epoch 295/2000
 - 5s - loss: 0.4573 - mean_squared_error: 0.4573
Epoch 296/2000
 - 5s - loss: 0.4612 - mean_squared_error: 0.4612
Epoch 297/2000
 - 5s - loss: 0.4518 - mean_squared_error: 0.4518
Epoch 298/2000
 - 5s - loss: 0.4721 - mean_squared_error: 0.4721
Epoch 299/2000
 - 5s - loss: 0.4609 - mean_squared_error: 0.4609
Epoch 300/2000
 - 5s - loss: 0.4598 - mean_squared_error: 0.4598
Epoch 301/2000
 - 5s - loss: 0.4579 - mean_squared_error: 0.4579
Epoch 302/2000
 - 5s - loss: 0.4761 - mean_squared_error: 0.4761
Epoch 303/2000
 - 5s - loss: 0.4629 - mean_squared_error: 0.4629
Epoch 304/2000
 - 5s - loss: 0.4531 - mean_squared_error: 0.4531
Epoch 305/2000
 - 5s - loss: 0.4695 - mean_squared_error: 0.4695
Epoch 306/2000
 - 5s - loss: 0.4537 - mean_squared_error: 0.4537
Epoch 307/2000
 - 5s - loss: 0.4550 - mean_squared_error: 0.4550
Epoch 308/2000
 - 5s - loss: 0.4405 - mean_squared_error: 0.4405
Epoch 309/2000
 - 5s - loss: 0.4367 - mean_squared_error: 0.4367
Epoch 310/2000
 - 5s - loss: 0.4441 - mean_squared_error: 0.4441
Epoch 311/2000
 - 5s - loss: 0.4672 - mean_squared_error: 0.4672
Epoch 312/2000
 - 5s - loss: 0.4544 - mean_squared_error: 0.4544
Epoch 313/2000
 - 5s - loss: 0.4543 - mean_squared_error: 0.4543
Epoch 314/2000
 - 5s - loss: 0.4635 - mean_squared_error: 0.4635
Epoch 315/2000
 - 5s - loss: 0.4547 - mean_squared_error: 0.4547
Epoch 316/2000
 - 5s - loss: 0.4373 - mean_squared_error: 0.4373
Epoch 317/2000
 - 5s - loss: 0.4448 - mean_squared_error: 0.4448
Epoch 318/2000
 - 5s - loss: 0.4354 - mean_squared_error: 0.4354
Epoch 319/2000
 - 5s - loss: 0.4459 - mean_squared_error: 0.4459
Epoch 320/2000
 - 5s - loss: 0.4341 - mean_squared_error: 0.4341
Epoch 321/2000
 - 5s - loss: 0.4451 - mean_squared_error: 0.4451
Epoch 322/2000
 - 5s - loss: 0.4416 - mean_squared_error: 0.4416
Epoch 323/2000
 - 5s - loss: 0.4359 - mean_squared_error: 0.4359
Epoch 324/2000
 - 5s - loss: 0.4166 - mean_squared_error: 0.4166
Epoch 325/2000
 - 5s - loss: 0.4500 - mean_squared_error: 0.4500
Epoch 326/2000
 - 5s - loss: 0.4437 - mean_squared_error: 0.4437
Epoch 327/2000
 - 5s - loss: 0.4349 - mean_squared_error: 0.4349
Epoch 328/2000
 - 5s - loss: 0.4444 - mean_squared_error: 0.4444
Epoch 329/2000
 - 5s - loss: 0.4510 - mean_squared_error: 0.4510
Epoch 330/2000
 - 5s - loss: 0.4453 - mean_squared_error: 0.4453
Epoch 331/2000
 - 5s - loss: 0.4379 - mean_squared_error: 0.4379
Epoch 332/2000
 - 5s - loss: 0.4299 - mean_squared_error: 0.4299
Epoch 333/2000
 - 5s - loss: 0.4485 - mean_squared_error: 0.4485
Epoch 334/2000
 - 5s - loss: 0.4372 - mean_squared_error: 0.4372
Epoch 335/2000
 - 5s - loss: 0.4255 - mean_squared_error: 0.4255
Epoch 336/2000
 - 5s - loss: 0.4421 - mean_squared_error: 0.4421
Epoch 337/2000
 - 5s - loss: 0.4378 - mean_squared_error: 0.4378
Epoch 338/2000
 - 5s - loss: 0.4357 - mean_squared_error: 0.4357
Epoch 339/2000
 - 5s - loss: 0.4289 - mean_squared_error: 0.4289
Epoch 340/2000
 - 5s - loss: 0.4199 - mean_squared_error: 0.4199
Epoch 341/2000
 - 5s - loss: 0.4195 - mean_squared_error: 0.4195
Epoch 342/2000
 - 5s - loss: 0.4393 - mean_squared_error: 0.4393
Epoch 343/2000
 - 5s - loss: 0.4251 - mean_squared_error: 0.4251
Epoch 344/2000
 - 5s - loss: 0.4244 - mean_squared_error: 0.4244
Epoch 345/2000
 - 5s - loss: 0.4246 - mean_squared_error: 0.4246
Epoch 346/2000
 - 5s - loss: 0.4209 - mean_squared_error: 0.4209
Epoch 347/2000
 - 5s - loss: 0.4119 - mean_squared_error: 0.4119
Epoch 348/2000
 - 5s - loss: 0.4222 - mean_squared_error: 0.4222
Epoch 349/2000
 - 5s - loss: 0.4265 - mean_squared_error: 0.4265
Epoch 350/2000
 - 5s - loss: 0.4348 - mean_squared_error: 0.4348
Epoch 351/2000
 - 5s - loss: 0.4312 - mean_squared_error: 0.4312
Epoch 352/2000
 - 5s - loss: 0.4326 - mean_squared_error: 0.4326
Epoch 353/2000
 - 5s - loss: 0.4213 - mean_squared_error: 0.4213
Epoch 354/2000
 - 5s - loss: 0.4126 - mean_squared_error: 0.4126
Epoch 355/2000
 - 5s - loss: 0.4310 - mean_squared_error: 0.4310
Epoch 356/2000
 - 5s - loss: 0.4112 - mean_squared_error: 0.4112
Epoch 357/2000
 - 5s - loss: 0.4274 - mean_squared_error: 0.4274
Epoch 358/2000
 - 5s - loss: 0.4292 - mean_squared_error: 0.4292
Epoch 359/2000
 - 5s - loss: 0.4218 - mean_squared_error: 0.4218
Epoch 360/2000
 - 5s - loss: 0.4232 - mean_squared_error: 0.4232
Epoch 361/2000
 - 5s - loss: 0.4217 - mean_squared_error: 0.4217
Epoch 362/2000
 - 5s - loss: 0.4184 - mean_squared_error: 0.4184
Epoch 363/2000
 - 5s - loss: 0.4104 - mean_squared_error: 0.4104
Epoch 364/2000
 - 5s - loss: 0.4216 - mean_squared_error: 0.4216
Epoch 365/2000
 - 5s - loss: 0.4142 - mean_squared_error: 0.4142
Epoch 366/2000
 - 5s - loss: 0.4317 - mean_squared_error: 0.4317
Epoch 367/2000
 - 5s - loss: 0.4148 - mean_squared_error: 0.4148
Epoch 368/2000
 - 5s - loss: 0.4055 - mean_squared_error: 0.4055
Epoch 369/2000
 - 5s - loss: 0.4159 - mean_squared_error: 0.4159
Epoch 370/2000
 - 5s - loss: 0.4216 - mean_squared_error: 0.4216
Epoch 371/2000
 - 5s - loss: 0.4007 - mean_squared_error: 0.4007
Epoch 372/2000
 - 5s - loss: 0.4237 - mean_squared_error: 0.4237
Epoch 373/2000
 - 5s - loss: 0.4304 - mean_squared_error: 0.4304
Epoch 374/2000
 - 5s - loss: 0.4131 - mean_squared_error: 0.4131
Epoch 375/2000
 - 5s - loss: 0.4234 - mean_squared_error: 0.4234
Epoch 376/2000
 - 5s - loss: 0.4278 - mean_squared_error: 0.4278
Epoch 377/2000
 - 5s - loss: 0.4226 - mean_squared_error: 0.4226
Epoch 378/2000
 - 5s - loss: 0.4096 - mean_squared_error: 0.4096
Epoch 379/2000
 - 5s - loss: 0.4022 - mean_squared_error: 0.4022
Epoch 380/2000
 - 5s - loss: 0.4285 - mean_squared_error: 0.4285
Epoch 381/2000
 - 5s - loss: 0.3887 - mean_squared_error: 0.3887
Epoch 382/2000
 - 5s - loss: 0.4172 - mean_squared_error: 0.4172
Epoch 383/2000
 - 5s - loss: 0.4163 - mean_squared_error: 0.4163
Epoch 384/2000
 - 5s - loss: 0.3976 - mean_squared_error: 0.3976
Epoch 385/2000
 - 5s - loss: 0.4103 - mean_squared_error: 0.4103
Epoch 386/2000
 - 5s - loss: 0.3879 - mean_squared_error: 0.3879
Epoch 387/2000
 - 5s - loss: 0.4157 - mean_squared_error: 0.4157
Epoch 388/2000
 - 5s - loss: 0.3973 - mean_squared_error: 0.3973
Epoch 389/2000
 - 5s - loss: 0.4031 - mean_squared_error: 0.4031
Epoch 390/2000
 - 5s - loss: 0.3949 - mean_squared_error: 0.3949
Epoch 391/2000
 - 5s - loss: 0.4074 - mean_squared_error: 0.4074
Epoch 392/2000
 - 5s - loss: 0.4229 - mean_squared_error: 0.4229
Epoch 393/2000
 - 5s - loss: 0.4031 - mean_squared_error: 0.4031
Epoch 394/2000
 - 5s - loss: 0.4066 - mean_squared_error: 0.4066
Epoch 395/2000
 - 5s - loss: 0.3978 - mean_squared_error: 0.3978
Epoch 396/2000
 - 5s - loss: 0.4045 - mean_squared_error: 0.4045
Epoch 397/2000
 - 5s - loss: 0.4025 - mean_squared_error: 0.4025
Epoch 398/2000
 - 5s - loss: 0.4086 - mean_squared_error: 0.4086
Epoch 399/2000
 - 5s - loss: 0.3975 - mean_squared_error: 0.3975
Epoch 400/2000
 - 5s - loss: 0.4040 - mean_squared_error: 0.4040
Epoch 401/2000
 - 5s - loss: 0.4243 - mean_squared_error: 0.4243
Epoch 402/2000
 - 5s - loss: 0.3923 - mean_squared_error: 0.3923
Epoch 403/2000
 - 5s - loss: 0.4194 - mean_squared_error: 0.4194
Epoch 404/2000
 - 5s - loss: 0.4116 - mean_squared_error: 0.4116
Epoch 405/2000
 - 5s - loss: 0.4087 - mean_squared_error: 0.4087
Epoch 406/2000
 - 5s - loss: 0.4060 - mean_squared_error: 0.4060
Epoch 407/2000
 - 5s - loss: 0.3991 - mean_squared_error: 0.3991
Epoch 408/2000
 - 5s - loss: 0.3993 - mean_squared_error: 0.3993
Epoch 409/2000
 - 5s - loss: 0.4140 - mean_squared_error: 0.4140
Epoch 410/2000
 - 5s - loss: 0.3981 - mean_squared_error: 0.3981
Epoch 411/2000
 - 5s - loss: 0.3780 - mean_squared_error: 0.3780
Epoch 412/2000
 - 5s - loss: 0.3903 - mean_squared_error: 0.3903
Epoch 413/2000
 - 5s - loss: 0.3931 - mean_squared_error: 0.3931
Epoch 414/2000
 - 5s - loss: 0.3961 - mean_squared_error: 0.3961
Epoch 415/2000
 - 5s - loss: 0.3999 - mean_squared_error: 0.3999
Epoch 416/2000
 - 5s - loss: 0.3817 - mean_squared_error: 0.3817
Epoch 417/2000
 - 5s - loss: 0.3849 - mean_squared_error: 0.3849
Epoch 418/2000
 - 5s - loss: 0.4056 - mean_squared_error: 0.4056
Epoch 419/2000
 - 5s - loss: 0.3835 - mean_squared_error: 0.3835
Epoch 420/2000
 - 5s - loss: 0.3835 - mean_squared_error: 0.3835
Epoch 421/2000
 - 5s - loss: 0.3947 - mean_squared_error: 0.3947
Epoch 422/2000
 - 5s - loss: 0.3874 - mean_squared_error: 0.3874
Epoch 423/2000
 - 5s - loss: 0.3922 - mean_squared_error: 0.3922
Epoch 424/2000
 - 5s - loss: 0.3814 - mean_squared_error: 0.3814
Epoch 425/2000
 - 5s - loss: 0.3997 - mean_squared_error: 0.3997
Epoch 426/2000
 - 5s - loss: 0.3736 - mean_squared_error: 0.3736
Epoch 427/2000
 - 5s - loss: 0.3979 - mean_squared_error: 0.3979
Epoch 428/2000
 - 5s - loss: 0.3913 - mean_squared_error: 0.3913
Epoch 429/2000
 - 5s - loss: 0.3832 - mean_squared_error: 0.3832
Epoch 430/2000
 - 5s - loss: 0.3920 - mean_squared_error: 0.3920
Epoch 431/2000
 - 5s - loss: 0.4008 - mean_squared_error: 0.4008
Epoch 432/2000
 - 5s - loss: 0.3941 - mean_squared_error: 0.3941
Epoch 433/2000
 - 5s - loss: 0.3968 - mean_squared_error: 0.3968
Epoch 434/2000
 - 5s - loss: 0.3991 - mean_squared_error: 0.3991
Epoch 435/2000
 - 5s - loss: 0.3934 - mean_squared_error: 0.3934
Epoch 436/2000
 - 5s - loss: 0.3871 - mean_squared_error: 0.3871
Epoch 437/2000
 - 5s - loss: 0.3920 - mean_squared_error: 0.3920
Epoch 438/2000
 - 5s - loss: 0.4018 - mean_squared_error: 0.4018
Epoch 439/2000
 - 5s - loss: 0.3754 - mean_squared_error: 0.3754
Epoch 440/2000
 - 5s - loss: 0.3983 - mean_squared_error: 0.3983
Epoch 441/2000
 - 5s - loss: 0.4029 - mean_squared_error: 0.4029
Epoch 442/2000
 - 5s - loss: 0.3835 - mean_squared_error: 0.3835
Epoch 443/2000
 - 5s - loss: 0.3858 - mean_squared_error: 0.3858
Epoch 444/2000
 - 5s - loss: 0.3854 - mean_squared_error: 0.3854
Epoch 445/2000
 - 5s - loss: 0.3810 - mean_squared_error: 0.3810
Epoch 446/2000
 - 5s - loss: 0.3837 - mean_squared_error: 0.3837
Epoch 447/2000
 - 5s - loss: 0.3689 - mean_squared_error: 0.3689
Epoch 448/2000
 - 5s - loss: 0.3727 - mean_squared_error: 0.3727
Epoch 449/2000
 - 5s - loss: 0.3760 - mean_squared_error: 0.3760
Epoch 450/2000
 - 5s - loss: 0.3832 - mean_squared_error: 0.3832
Epoch 451/2000
 - 5s - loss: 0.3698 - mean_squared_error: 0.3698
Epoch 452/2000
 - 5s - loss: 0.3853 - mean_squared_error: 0.3853
Epoch 453/2000
 - 5s - loss: 0.3695 - mean_squared_error: 0.3695
Epoch 454/2000
 - 5s - loss: 0.3622 - mean_squared_error: 0.3622
Epoch 455/2000
 - 5s - loss: 0.3676 - mean_squared_error: 0.3676
Epoch 456/2000
 - 5s - loss: 0.3681 - mean_squared_error: 0.3681
Epoch 457/2000
 - 5s - loss: 0.3700 - mean_squared_error: 0.3700
Epoch 458/2000
 - 5s - loss: 0.3713 - mean_squared_error: 0.3713
Epoch 459/2000
 - 5s - loss: 0.3750 - mean_squared_error: 0.3750
Epoch 460/2000
 - 5s - loss: 0.3857 - mean_squared_error: 0.3857
Epoch 461/2000
 - 5s - loss: 0.3940 - mean_squared_error: 0.3940
Epoch 462/2000
 - 5s - loss: 0.3649 - mean_squared_error: 0.3649
Epoch 463/2000
 - 5s - loss: 0.3951 - mean_squared_error: 0.3951
Epoch 464/2000
 - 5s - loss: 0.3895 - mean_squared_error: 0.3895
Epoch 465/2000
 - 5s - loss: 0.3805 - mean_squared_error: 0.3805
Epoch 466/2000
 - 5s - loss: 0.3791 - mean_squared_error: 0.3791
Epoch 467/2000
 - 5s - loss: 0.3644 - mean_squared_error: 0.3644
Epoch 468/2000
 - 5s - loss: 0.3811 - mean_squared_error: 0.3811
Epoch 469/2000
 - 5s - loss: 0.3779 - mean_squared_error: 0.3779
Epoch 470/2000
 - 5s - loss: 0.3667 - mean_squared_error: 0.3667
Epoch 471/2000
 - 5s - loss: 0.3778 - mean_squared_error: 0.3778
Epoch 472/2000
 - 5s - loss: 0.3904 - mean_squared_error: 0.3904
Epoch 473/2000
 - 5s - loss: 0.3659 - mean_squared_error: 0.3659
Epoch 474/2000
 - 5s - loss: 0.3911 - mean_squared_error: 0.3911
Epoch 475/2000
 - 5s - loss: 0.3641 - mean_squared_error: 0.3641
Epoch 476/2000
 - 5s - loss: 0.3723 - mean_squared_error: 0.3723
Epoch 477/2000
 - 5s - loss: 0.3773 - mean_squared_error: 0.3773
Epoch 478/2000
 - 5s - loss: 0.3789 - mean_squared_error: 0.3789
Epoch 479/2000
 - 5s - loss: 0.3595 - mean_squared_error: 0.3595
Epoch 480/2000
 - 5s - loss: 0.3517 - mean_squared_error: 0.3517
Epoch 481/2000
 - 5s - loss: 0.3698 - mean_squared_error: 0.3698
Epoch 482/2000
 - 5s - loss: 0.3839 - mean_squared_error: 0.3839
Epoch 483/2000
 - 5s - loss: 0.3810 - mean_squared_error: 0.3810
Epoch 484/2000
 - 5s - loss: 0.3712 - mean_squared_error: 0.3712
Epoch 485/2000
 - 5s - loss: 0.3835 - mean_squared_error: 0.3835
Epoch 486/2000
 - 5s - loss: 0.3691 - mean_squared_error: 0.3691
Epoch 487/2000
 - 5s - loss: 0.3751 - mean_squared_error: 0.3751
Epoch 488/2000
 - 5s - loss: 0.3620 - mean_squared_error: 0.3620
Epoch 489/2000
 - 5s - loss: 0.3598 - mean_squared_error: 0.3598
Epoch 490/2000
 - 5s - loss: 0.3514 - mean_squared_error: 0.3514
Epoch 491/2000
 - 5s - loss: 0.3557 - mean_squared_error: 0.3557
Epoch 492/2000
 - 5s - loss: 0.3539 - mean_squared_error: 0.3539
Epoch 493/2000
 - 5s - loss: 0.3654 - mean_squared_error: 0.3654
Epoch 494/2000
 - 5s - loss: 0.3439 - mean_squared_error: 0.3439
Epoch 495/2000
 - 5s - loss: 0.3476 - mean_squared_error: 0.3476
Epoch 496/2000
 - 5s - loss: 0.3585 - mean_squared_error: 0.3585
Epoch 497/2000
 - 5s - loss: 0.3617 - mean_squared_error: 0.3617
Epoch 498/2000
 - 5s - loss: 0.3487 - mean_squared_error: 0.3487
Epoch 499/2000
 - 5s - loss: 0.3601 - mean_squared_error: 0.3601
Epoch 500/2000
 - 5s - loss: 0.3666 - mean_squared_error: 0.3666
Epoch 501/2000
 - 5s - loss: 0.3692 - mean_squared_error: 0.3692
Epoch 502/2000
 - 5s - loss: 0.3549 - mean_squared_error: 0.3549
Epoch 503/2000
 - 5s - loss: 0.3982 - mean_squared_error: 0.3982
Epoch 504/2000
 - 5s - loss: 0.3738 - mean_squared_error: 0.3738
Epoch 505/2000
 - 5s - loss: 0.3744 - mean_squared_error: 0.3744
Epoch 506/2000
 - 5s - loss: 0.3716 - mean_squared_error: 0.3716
Epoch 507/2000
 - 5s - loss: 0.3657 - mean_squared_error: 0.3657
Epoch 508/2000
 - 5s - loss: 0.3684 - mean_squared_error: 0.3684
Epoch 509/2000
 - 5s - loss: 0.3497 - mean_squared_error: 0.3497
Epoch 510/2000
 - 5s - loss: 0.3623 - mean_squared_error: 0.3623
Epoch 511/2000
 - 5s - loss: 0.3636 - mean_squared_error: 0.3636
Epoch 512/2000
 - 5s - loss: 0.3744 - mean_squared_error: 0.3744
Epoch 513/2000
 - 5s - loss: 0.3614 - mean_squared_error: 0.3614
Epoch 514/2000
 - 5s - loss: 0.3635 - mean_squared_error: 0.3635
Epoch 515/2000
 - 5s - loss: 0.3649 - mean_squared_error: 0.3649
Epoch 516/2000
 - 5s - loss: 0.3635 - mean_squared_error: 0.3635
Epoch 517/2000
 - 5s - loss: 0.3470 - mean_squared_error: 0.3470
Epoch 518/2000
 - 5s - loss: 0.3457 - mean_squared_error: 0.3457
Epoch 519/2000
 - 5s - loss: 0.3510 - mean_squared_error: 0.3510
Epoch 520/2000
 - 5s - loss: 0.3450 - mean_squared_error: 0.3450
Epoch 521/2000
 - 5s - loss: 0.3578 - mean_squared_error: 0.3578
Epoch 522/2000
 - 5s - loss: 0.3626 - mean_squared_error: 0.3626
Epoch 523/2000
 - 5s - loss: 0.3596 - mean_squared_error: 0.3596
Epoch 524/2000
 - 5s - loss: 0.3592 - mean_squared_error: 0.3592
Epoch 525/2000
 - 5s - loss: 0.3463 - mean_squared_error: 0.3463
Epoch 526/2000
 - 5s - loss: 0.3499 - mean_squared_error: 0.3499
Epoch 527/2000
 - 5s - loss: 0.3347 - mean_squared_error: 0.3347
Epoch 528/2000
 - 5s - loss: 0.3555 - mean_squared_error: 0.3555
Epoch 529/2000
 - 5s - loss: 0.3440 - mean_squared_error: 0.3440
Epoch 530/2000
 - 5s - loss: 0.3351 - mean_squared_error: 0.3351
Epoch 531/2000
 - 5s - loss: 0.3573 - mean_squared_error: 0.3573
Epoch 532/2000
 - 5s - loss: 0.3685 - mean_squared_error: 0.3685
Epoch 533/2000
 - 5s - loss: 0.3531 - mean_squared_error: 0.3531
Epoch 534/2000
 - 5s - loss: 0.3427 - mean_squared_error: 0.3427
Epoch 535/2000
 - 5s - loss: 0.3493 - mean_squared_error: 0.3493
Epoch 536/2000
 - 5s - loss: 0.3561 - mean_squared_error: 0.3561
Epoch 537/2000
 - 5s - loss: 0.3337 - mean_squared_error: 0.3337
Epoch 538/2000
 - 5s - loss: 0.3476 - mean_squared_error: 0.3476
Epoch 539/2000
 - 5s - loss: 0.3624 - mean_squared_error: 0.3624
Epoch 540/2000
 - 5s - loss: 0.3536 - mean_squared_error: 0.3536
Epoch 541/2000
 - 5s - loss: 0.3505 - mean_squared_error: 0.3505
Epoch 542/2000
 - 5s - loss: 0.3539 - mean_squared_error: 0.3539
Epoch 543/2000
 - 5s - loss: 0.3423 - mean_squared_error: 0.3423
Epoch 544/2000
 - 5s - loss: 0.3448 - mean_squared_error: 0.3448
Epoch 545/2000
 - 5s - loss: 0.3503 - mean_squared_error: 0.3503
Epoch 546/2000
 - 5s - loss: 0.3498 - mean_squared_error: 0.3498
Epoch 547/2000
 - 5s - loss: 0.3457 - mean_squared_error: 0.3457
Epoch 548/2000
 - 5s - loss: 0.3404 - mean_squared_error: 0.3404
Epoch 549/2000
 - 5s - loss: 0.3414 - mean_squared_error: 0.3414
Epoch 550/2000
 - 5s - loss: 0.3519 - mean_squared_error: 0.3519
Epoch 551/2000
 - 5s - loss: 0.3363 - mean_squared_error: 0.3363
Epoch 552/2000
 - 5s - loss: 0.3404 - mean_squared_error: 0.3404
Epoch 553/2000
 - 5s - loss: 0.3416 - mean_squared_error: 0.3416
Epoch 554/2000
 - 5s - loss: 0.3526 - mean_squared_error: 0.3526
Epoch 555/2000
 - 5s - loss: 0.3319 - mean_squared_error: 0.3319
Epoch 556/2000
 - 5s - loss: 0.3488 - mean_squared_error: 0.3488
Epoch 557/2000
 - 5s - loss: 0.3539 - mean_squared_error: 0.3539
Epoch 558/2000
 - 5s - loss: 0.3487 - mean_squared_error: 0.3487
Epoch 559/2000
 - 5s - loss: 0.3443 - mean_squared_error: 0.3443
Epoch 560/2000
 - 5s - loss: 0.3467 - mean_squared_error: 0.3467
Epoch 561/2000
 - 5s - loss: 0.3401 - mean_squared_error: 0.3401
Epoch 562/2000
 - 5s - loss: 0.3458 - mean_squared_error: 0.3458
Epoch 563/2000
 - 5s - loss: 0.3509 - mean_squared_error: 0.3509
Epoch 564/2000
 - 5s - loss: 0.3303 - mean_squared_error: 0.3303
Epoch 565/2000
 - 5s - loss: 0.3289 - mean_squared_error: 0.3289
Epoch 566/2000
 - 5s - loss: 0.3489 - mean_squared_error: 0.3489
Epoch 567/2000
 - 5s - loss: 0.3551 - mean_squared_error: 0.3551
Epoch 568/2000
 - 5s - loss: 0.3492 - mean_squared_error: 0.3492
Epoch 569/2000
 - 5s - loss: 0.3436 - mean_squared_error: 0.3436
Epoch 570/2000
 - 5s - loss: 0.3517 - mean_squared_error: 0.3517
Epoch 571/2000
 - 5s - loss: 0.3330 - mean_squared_error: 0.3330
Epoch 572/2000
 - 5s - loss: 0.3327 - mean_squared_error: 0.3327
Epoch 573/2000
 - 5s - loss: 0.3343 - mean_squared_error: 0.3343
Epoch 574/2000
 - 5s - loss: 0.3336 - mean_squared_error: 0.3336
Epoch 575/2000
 - 5s - loss: 0.3409 - mean_squared_error: 0.3409
Epoch 576/2000
 - 5s - loss: 0.3384 - mean_squared_error: 0.3384
Epoch 577/2000
 - 5s - loss: 0.3350 - mean_squared_error: 0.3350
Epoch 578/2000
 - 5s - loss: 0.3400 - mean_squared_error: 0.3400
Epoch 579/2000
 - 5s - loss: 0.3353 - mean_squared_error: 0.3353
Epoch 580/2000
 - 5s - loss: 0.3344 - mean_squared_error: 0.3344
Epoch 581/2000
 - 5s - loss: 0.3458 - mean_squared_error: 0.3458
Epoch 582/2000
 - 5s - loss: 0.3316 - mean_squared_error: 0.3316
Epoch 583/2000
 - 5s - loss: 0.3553 - mean_squared_error: 0.3553
Epoch 584/2000
 - 5s - loss: 0.3434 - mean_squared_error: 0.3434
Epoch 585/2000
 - 5s - loss: 0.3451 - mean_squared_error: 0.3451
Epoch 586/2000
 - 5s - loss: 0.3438 - mean_squared_error: 0.3438
Epoch 587/2000
 - 5s - loss: 0.3304 - mean_squared_error: 0.3304
Epoch 588/2000
 - 5s - loss: 0.3313 - mean_squared_error: 0.3313
Epoch 589/2000
 - 5s - loss: 0.3355 - mean_squared_error: 0.3355
Epoch 590/2000
 - 5s - loss: 0.3390 - mean_squared_error: 0.3390
Epoch 591/2000
 - 5s - loss: 0.3448 - mean_squared_error: 0.3448
Epoch 592/2000
 - 5s - loss: 0.3421 - mean_squared_error: 0.3421
Epoch 593/2000
 - 5s - loss: 0.3376 - mean_squared_error: 0.3376
Epoch 594/2000
 - 5s - loss: 0.3353 - mean_squared_error: 0.3353
Epoch 595/2000
 - 5s - loss: 0.3442 - mean_squared_error: 0.3442
Epoch 596/2000
 - 5s - loss: 0.3331 - mean_squared_error: 0.3331
Epoch 597/2000
 - 5s - loss: 0.3387 - mean_squared_error: 0.3387
Epoch 598/2000
 - 5s - loss: 0.3392 - mean_squared_error: 0.3392
Epoch 599/2000
 - 5s - loss: 0.3261 - mean_squared_error: 0.3261
Epoch 600/2000
 - 5s - loss: 0.3261 - mean_squared_error: 0.3261
Epoch 601/2000
 - 5s - loss: 0.3258 - mean_squared_error: 0.3258
Epoch 602/2000
 - 5s - loss: 0.3438 - mean_squared_error: 0.3438
Epoch 603/2000
 - 5s - loss: 0.3302 - mean_squared_error: 0.3302
Epoch 604/2000
 - 5s - loss: 0.3376 - mean_squared_error: 0.3376
Epoch 605/2000
 - 5s - loss: 0.3373 - mean_squared_error: 0.3373
Epoch 606/2000
 - 5s - loss: 0.3199 - mean_squared_error: 0.3199
Epoch 607/2000
 - 5s - loss: 0.3521 - mean_squared_error: 0.3521
Epoch 608/2000
 - 5s - loss: 0.3227 - mean_squared_error: 0.3227
Epoch 609/2000
 - 5s - loss: 0.3445 - mean_squared_error: 0.3445
Epoch 610/2000
 - 5s - loss: 0.3414 - mean_squared_error: 0.3414
Epoch 611/2000
 - 5s - loss: 0.3354 - mean_squared_error: 0.3354
Epoch 612/2000
 - 5s - loss: 0.3129 - mean_squared_error: 0.3129
Epoch 613/2000
 - 5s - loss: 0.3351 - mean_squared_error: 0.3351
Epoch 614/2000
 - 5s - loss: 0.3305 - mean_squared_error: 0.3305
Epoch 615/2000
 - 5s - loss: 0.3419 - mean_squared_error: 0.3419
Epoch 616/2000
 - 5s - loss: 0.3331 - mean_squared_error: 0.3331
Epoch 617/2000
 - 5s - loss: 0.3153 - mean_squared_error: 0.3153
Epoch 618/2000
 - 5s - loss: 0.3257 - mean_squared_error: 0.3257
Epoch 619/2000
 - 5s - loss: 0.3227 - mean_squared_error: 0.3227
Epoch 620/2000
 - 5s - loss: 0.3355 - mean_squared_error: 0.3355
Epoch 621/2000
 - 5s - loss: 0.3387 - mean_squared_error: 0.3387
Epoch 622/2000
 - 5s - loss: 0.3210 - mean_squared_error: 0.3210
Epoch 623/2000
 - 5s - loss: 0.3406 - mean_squared_error: 0.3406
Epoch 624/2000
 - 5s - loss: 0.3250 - mean_squared_error: 0.3250
Epoch 625/2000
 - 5s - loss: 0.3185 - mean_squared_error: 0.3185
Epoch 626/2000
 - 5s - loss: 0.3162 - mean_squared_error: 0.3162
Epoch 627/2000
 - 5s - loss: 0.3383 - mean_squared_error: 0.3383
Epoch 628/2000
 - 5s - loss: 0.3397 - mean_squared_error: 0.3397
Epoch 629/2000
 - 5s - loss: 0.3320 - mean_squared_error: 0.3320
Epoch 630/2000
 - 5s - loss: 0.3280 - mean_squared_error: 0.3280
Epoch 631/2000
 - 5s - loss: 0.3168 - mean_squared_error: 0.3168
Epoch 632/2000
 - 5s - loss: 0.3104 - mean_squared_error: 0.3104
Epoch 633/2000
 - 5s - loss: 0.3267 - mean_squared_error: 0.3267
Epoch 634/2000
 - 5s - loss: 0.3308 - mean_squared_error: 0.3308
Epoch 635/2000
 - 5s - loss: 0.3201 - mean_squared_error: 0.3201
Epoch 636/2000
 - 5s - loss: 0.3190 - mean_squared_error: 0.3190
Epoch 637/2000
 - 5s - loss: 0.3336 - mean_squared_error: 0.3336
Epoch 638/2000
 - 5s - loss: 0.3246 - mean_squared_error: 0.3246
Epoch 639/2000
 - 5s - loss: 0.3181 - mean_squared_error: 0.3181
Epoch 640/2000
 - 5s - loss: 0.3248 - mean_squared_error: 0.3248
Epoch 641/2000
 - 5s - loss: 0.3291 - mean_squared_error: 0.3291
Epoch 642/2000
 - 5s - loss: 0.3214 - mean_squared_error: 0.3214
Epoch 643/2000
 - 5s - loss: 0.3342 - mean_squared_error: 0.3342
Epoch 644/2000
 - 5s - loss: 0.3258 - mean_squared_error: 0.3258
Epoch 645/2000
 - 5s - loss: 0.3206 - mean_squared_error: 0.3206
Epoch 646/2000
 - 5s - loss: 0.3208 - mean_squared_error: 0.3208
Epoch 647/2000
 - 5s - loss: 0.3195 - mean_squared_error: 0.3195
Epoch 648/2000
 - 5s - loss: 0.3210 - mean_squared_error: 0.3210
Epoch 649/2000
 - 5s - loss: 0.3176 - mean_squared_error: 0.3176
Epoch 650/2000
 - 5s - loss: 0.3293 - mean_squared_error: 0.3293
Epoch 651/2000
 - 5s - loss: 0.3274 - mean_squared_error: 0.3274
Epoch 652/2000
 - 5s - loss: 0.3245 - mean_squared_error: 0.3245
Epoch 653/2000
 - 5s - loss: 0.3128 - mean_squared_error: 0.3128
Epoch 654/2000
 - 5s - loss: 0.3228 - mean_squared_error: 0.3228
Epoch 655/2000
 - 5s - loss: 0.3221 - mean_squared_error: 0.3221
Epoch 656/2000
 - 5s - loss: 0.3259 - mean_squared_error: 0.3259
Epoch 657/2000
 - 5s - loss: 0.3154 - mean_squared_error: 0.3154
Epoch 658/2000
 - 5s - loss: 0.3117 - mean_squared_error: 0.3117
Epoch 659/2000
 - 5s - loss: 0.3192 - mean_squared_error: 0.3192
Epoch 660/2000
 - 5s - loss: 0.3195 - mean_squared_error: 0.3195
Epoch 661/2000
 - 5s - loss: 0.3231 - mean_squared_error: 0.3231
Epoch 662/2000
 - 5s - loss: 0.3248 - mean_squared_error: 0.3248
Epoch 663/2000
 - 5s - loss: 0.3258 - mean_squared_error: 0.3258
Epoch 664/2000
 - 5s - loss: 0.3148 - mean_squared_error: 0.3148
Epoch 665/2000
 - 5s - loss: 0.3188 - mean_squared_error: 0.3188
Epoch 666/2000
 - 5s - loss: 0.3021 - mean_squared_error: 0.3021
Epoch 667/2000
 - 5s - loss: 0.3223 - mean_squared_error: 0.3223
Epoch 668/2000
 - 5s - loss: 0.3199 - mean_squared_error: 0.3199
Epoch 669/2000
 - 5s - loss: 0.3317 - mean_squared_error: 0.3317
Epoch 670/2000
 - 5s - loss: 0.3236 - mean_squared_error: 0.3236
Epoch 671/2000
 - 5s - loss: 0.3037 - mean_squared_error: 0.3037
Epoch 672/2000
 - 5s - loss: 0.3076 - mean_squared_error: 0.3076
Epoch 673/2000
 - 5s - loss: 0.3146 - mean_squared_error: 0.3146
Epoch 674/2000
 - 5s - loss: 0.3125 - mean_squared_error: 0.3125
Epoch 675/2000
 - 5s - loss: 0.3095 - mean_squared_error: 0.3095
Epoch 676/2000
 - 5s - loss: 0.3101 - mean_squared_error: 0.3101
Epoch 677/2000
 - 5s - loss: 0.3056 - mean_squared_error: 0.3056
Epoch 678/2000
 - 5s - loss: 0.3047 - mean_squared_error: 0.3047
Epoch 679/2000
 - 5s - loss: 0.3099 - mean_squared_error: 0.3099
Epoch 680/2000
 - 5s - loss: 0.3266 - mean_squared_error: 0.3266
Epoch 681/2000
 - 5s - loss: 0.3105 - mean_squared_error: 0.3105
Epoch 682/2000
 - 5s - loss: 0.3085 - mean_squared_error: 0.3085
Epoch 683/2000
 - 5s - loss: 0.3361 - mean_squared_error: 0.3361
Epoch 684/2000
 - 5s - loss: 0.3190 - mean_squared_error: 0.3190
Epoch 685/2000
 - 5s - loss: 0.3210 - mean_squared_error: 0.3210
Epoch 686/2000
 - 5s - loss: 0.2932 - mean_squared_error: 0.2932
Epoch 687/2000
 - 5s - loss: 0.3103 - mean_squared_error: 0.3103
Epoch 688/2000
 - 5s - loss: 0.3195 - mean_squared_error: 0.3195
Epoch 689/2000
 - 5s - loss: 0.3047 - mean_squared_error: 0.3047
Epoch 690/2000
 - 5s - loss: 0.3148 - mean_squared_error: 0.3148
Epoch 691/2000
 - 5s - loss: 0.3047 - mean_squared_error: 0.3047
Epoch 692/2000
 - 5s - loss: 0.3070 - mean_squared_error: 0.3070
Epoch 693/2000
 - 5s - loss: 0.3072 - mean_squared_error: 0.3072
Epoch 694/2000
 - 5s - loss: 0.3159 - mean_squared_error: 0.3159
Epoch 695/2000
 - 5s - loss: 0.3199 - mean_squared_error: 0.3199
Epoch 696/2000
 - 5s - loss: 0.3055 - mean_squared_error: 0.3055
Epoch 697/2000
 - 5s - loss: 0.3080 - mean_squared_error: 0.3080
Epoch 698/2000
 - 5s - loss: 0.3135 - mean_squared_error: 0.3135
Epoch 699/2000
 - 5s - loss: 0.3076 - mean_squared_error: 0.3076
Epoch 700/2000
 - 5s - loss: 0.3257 - mean_squared_error: 0.3257
Epoch 701/2000
 - 5s - loss: 0.3079 - mean_squared_error: 0.3079
Epoch 702/2000
 - 5s - loss: 0.3180 - mean_squared_error: 0.3180
Epoch 703/2000
 - 5s - loss: 0.3157 - mean_squared_error: 0.3157
Epoch 704/2000
 - 5s - loss: 0.2973 - mean_squared_error: 0.2973
Epoch 705/2000
 - 5s - loss: 0.3058 - mean_squared_error: 0.3058
Epoch 706/2000
 - 5s - loss: 0.3035 - mean_squared_error: 0.3035
Epoch 707/2000
 - 5s - loss: 0.3123 - mean_squared_error: 0.3123
Epoch 708/2000
 - 5s - loss: 0.3100 - mean_squared_error: 0.3100
Epoch 709/2000
 - 5s - loss: 0.3115 - mean_squared_error: 0.3115
Epoch 710/2000
 - 5s - loss: 0.2989 - mean_squared_error: 0.2989
Epoch 711/2000
 - 5s - loss: 0.3033 - mean_squared_error: 0.3033
Epoch 712/2000
 - 5s - loss: 0.3099 - mean_squared_error: 0.3099
Epoch 713/2000
 - 5s - loss: 0.2978 - mean_squared_error: 0.2978
Epoch 714/2000
 - 5s - loss: 0.3193 - mean_squared_error: 0.3193
Epoch 715/2000
 - 5s - loss: 0.2996 - mean_squared_error: 0.2996
Epoch 716/2000
 - 5s - loss: 0.3006 - mean_squared_error: 0.3006
Epoch 717/2000
 - 5s - loss: 0.3154 - mean_squared_error: 0.3154
Epoch 718/2000
 - 5s - loss: 0.3057 - mean_squared_error: 0.3057
Epoch 719/2000
 - 5s - loss: 0.2973 - mean_squared_error: 0.2973
Epoch 720/2000
 - 5s - loss: 0.2983 - mean_squared_error: 0.2983
Epoch 721/2000
 - 5s - loss: 0.3068 - mean_squared_error: 0.3068
Epoch 722/2000
 - 5s - loss: 0.3003 - mean_squared_error: 0.3003
Epoch 723/2000
 - 5s - loss: 0.3037 - mean_squared_error: 0.3037
Epoch 724/2000
 - 5s - loss: 0.2971 - mean_squared_error: 0.2971
Epoch 725/2000
 - 5s - loss: 0.3011 - mean_squared_error: 0.3011
Epoch 726/2000
 - 5s - loss: 0.2979 - mean_squared_error: 0.2979
Epoch 727/2000
 - 5s - loss: 0.2930 - mean_squared_error: 0.2930
Epoch 728/2000
 - 5s - loss: 0.3078 - mean_squared_error: 0.3078
Epoch 729/2000
 - 5s - loss: 0.2941 - mean_squared_error: 0.2941
Epoch 730/2000
 - 5s - loss: 0.2908 - mean_squared_error: 0.2908
Epoch 731/2000
 - 5s - loss: 0.3023 - mean_squared_error: 0.3023
Epoch 732/2000
 - 5s - loss: 0.2880 - mean_squared_error: 0.2880
Epoch 733/2000
 - 5s - loss: 0.3198 - mean_squared_error: 0.3198
Epoch 734/2000
 - 5s - loss: 0.3031 - mean_squared_error: 0.3031
Epoch 735/2000
 - 5s - loss: 0.2973 - mean_squared_error: 0.2973
Epoch 736/2000
 - 5s - loss: 0.2935 - mean_squared_error: 0.2935
Epoch 737/2000
 - 5s - loss: 0.2958 - mean_squared_error: 0.2958
Epoch 738/2000
 - 5s - loss: 0.2984 - mean_squared_error: 0.2984
Epoch 739/2000
 - 5s - loss: 0.3036 - mean_squared_error: 0.3036
Epoch 740/2000
 - 5s - loss: 0.2963 - mean_squared_error: 0.2963
Epoch 741/2000
 - 5s - loss: 0.3154 - mean_squared_error: 0.3154
Epoch 742/2000
 - 5s - loss: 0.3108 - mean_squared_error: 0.3108
Epoch 743/2000
 - 5s - loss: 0.3357 - mean_squared_error: 0.3357
Epoch 744/2000
 - 5s - loss: 0.3056 - mean_squared_error: 0.3056
Epoch 745/2000
 - 5s - loss: 0.3109 - mean_squared_error: 0.3109
Epoch 746/2000
 - 5s - loss: 0.3038 - mean_squared_error: 0.3038
Epoch 747/2000
 - 5s - loss: 0.3009 - mean_squared_error: 0.3009
Epoch 748/2000
 - 5s - loss: 0.3051 - mean_squared_error: 0.3051
Epoch 749/2000
 - 5s - loss: 0.2834 - mean_squared_error: 0.2834
Epoch 750/2000
 - 5s - loss: 0.2868 - mean_squared_error: 0.2868
Epoch 751/2000
 - 5s - loss: 0.2836 - mean_squared_error: 0.2836
Epoch 752/2000
 - 5s - loss: 0.3014 - mean_squared_error: 0.3014
Epoch 753/2000
 - 5s - loss: 0.3100 - mean_squared_error: 0.3100
Epoch 754/2000
 - 5s - loss: 0.3026 - mean_squared_error: 0.3026
Epoch 755/2000
 - 5s - loss: 0.2972 - mean_squared_error: 0.2972
Epoch 756/2000
 - 5s - loss: 0.2849 - mean_squared_error: 0.2849
Epoch 757/2000
 - 5s - loss: 0.2918 - mean_squared_error: 0.2918
Epoch 758/2000
 - 5s - loss: 0.2921 - mean_squared_error: 0.2921
Epoch 759/2000
 - 5s - loss: 0.2995 - mean_squared_error: 0.2995
Epoch 760/2000
 - 5s - loss: 0.2900 - mean_squared_error: 0.2900
Epoch 761/2000
 - 5s - loss: 0.2877 - mean_squared_error: 0.2877
Epoch 762/2000
 - 5s - loss: 0.2867 - mean_squared_error: 0.2867
Epoch 763/2000
 - 5s - loss: 0.2976 - mean_squared_error: 0.2976
Epoch 764/2000
 - 5s - loss: 0.2867 - mean_squared_error: 0.2867
Epoch 765/2000
 - 5s - loss: 0.3054 - mean_squared_error: 0.3054
Epoch 766/2000
 - 5s - loss: 0.2971 - mean_squared_error: 0.2971
Epoch 767/2000
 - 5s - loss: 0.2869 - mean_squared_error: 0.2869
Epoch 768/2000
 - 5s - loss: 0.2882 - mean_squared_error: 0.2882
Epoch 769/2000
 - 5s - loss: 0.2970 - mean_squared_error: 0.2970
Epoch 770/2000
 - 5s - loss: 0.3072 - mean_squared_error: 0.3072
Epoch 771/2000
 - 5s - loss: 0.3098 - mean_squared_error: 0.3098
Epoch 772/2000
 - 5s - loss: 0.2975 - mean_squared_error: 0.2975
Epoch 773/2000
 - 5s - loss: 0.2899 - mean_squared_error: 0.2899
Epoch 774/2000
 - 5s - loss: 0.3024 - mean_squared_error: 0.3024
Epoch 775/2000
 - 5s - loss: 0.3059 - mean_squared_error: 0.3059
Epoch 776/2000
 - 5s - loss: 0.2942 - mean_squared_error: 0.2942
Epoch 777/2000
 - 5s - loss: 0.2859 - mean_squared_error: 0.2859
Epoch 778/2000
 - 5s - loss: 0.3028 - mean_squared_error: 0.3028
Epoch 779/2000
 - 5s - loss: 0.2880 - mean_squared_error: 0.2880
Epoch 780/2000
 - 5s - loss: 0.3021 - mean_squared_error: 0.3021
Epoch 781/2000
 - 5s - loss: 0.3126 - mean_squared_error: 0.3126
Epoch 782/2000
 - 5s - loss: 0.3072 - mean_squared_error: 0.3072
Epoch 783/2000
 - 5s - loss: 0.3188 - mean_squared_error: 0.3188
Epoch 784/2000
 - 5s - loss: 0.2980 - mean_squared_error: 0.2980
Epoch 785/2000
 - 5s - loss: 0.2895 - mean_squared_error: 0.2895
Epoch 786/2000
 - 5s - loss: 0.2920 - mean_squared_error: 0.2920
Epoch 787/2000
 - 5s - loss: 0.3024 - mean_squared_error: 0.3024
Epoch 788/2000
 - 5s - loss: 0.2798 - mean_squared_error: 0.2798
Epoch 789/2000
 - 5s - loss: 0.2863 - mean_squared_error: 0.2863
Epoch 790/2000
 - 5s - loss: 0.3011 - mean_squared_error: 0.3011
Epoch 791/2000
 - 5s - loss: 0.2994 - mean_squared_error: 0.2994
Epoch 792/2000
 - 5s - loss: 0.2864 - mean_squared_error: 0.2864
Epoch 793/2000
 - 5s - loss: 0.2825 - mean_squared_error: 0.2825
Epoch 794/2000
 - 5s - loss: 0.2945 - mean_squared_error: 0.2945
Epoch 795/2000
 - 5s - loss: 0.2883 - mean_squared_error: 0.2883
Epoch 796/2000
 - 5s - loss: 0.2837 - mean_squared_error: 0.2837
Epoch 797/2000
 - 5s - loss: 0.2958 - mean_squared_error: 0.2958
Epoch 798/2000
 - 5s - loss: 0.3025 - mean_squared_error: 0.3025
Epoch 799/2000
 - 5s - loss: 0.2932 - mean_squared_error: 0.2932
Epoch 800/2000
 - 5s - loss: 0.2929 - mean_squared_error: 0.2929
Epoch 801/2000
 - 5s - loss: 0.2898 - mean_squared_error: 0.2898
Epoch 802/2000
 - 5s - loss: 0.2870 - mean_squared_error: 0.2870
Epoch 803/2000
 - 5s - loss: 0.2836 - mean_squared_error: 0.2836
Epoch 804/2000
 - 5s - loss: 0.2906 - mean_squared_error: 0.2906
Epoch 805/2000
 - 5s - loss: 0.2907 - mean_squared_error: 0.2907
Epoch 806/2000
 - 5s - loss: 0.2930 - mean_squared_error: 0.2930
Epoch 807/2000
 - 5s - loss: 0.3001 - mean_squared_error: 0.3001
Epoch 808/2000
 - 5s - loss: 0.2946 - mean_squared_error: 0.2946
Epoch 809/2000
 - 5s - loss: 0.2830 - mean_squared_error: 0.2830
Epoch 810/2000
 - 5s - loss: 0.2754 - mean_squared_error: 0.2754
Epoch 811/2000
 - 5s - loss: 0.2843 - mean_squared_error: 0.2843
Epoch 812/2000
 - 5s - loss: 0.2809 - mean_squared_error: 0.2809
Epoch 813/2000
 - 5s - loss: 0.2697 - mean_squared_error: 0.2697
Epoch 814/2000
 - 5s - loss: 0.2835 - mean_squared_error: 0.2835
Epoch 815/2000
 - 5s - loss: 0.2899 - mean_squared_error: 0.2899
Epoch 816/2000
 - 5s - loss: 0.2800 - mean_squared_error: 0.2800
Epoch 817/2000
 - 5s - loss: 0.2871 - mean_squared_error: 0.2871
Epoch 818/2000
 - 5s - loss: 0.2837 - mean_squared_error: 0.2837
Epoch 819/2000
 - 5s - loss: 0.2945 - mean_squared_error: 0.2945
Epoch 820/2000
 - 5s - loss: 0.2907 - mean_squared_error: 0.2907
Epoch 821/2000
 - 5s - loss: 0.2875 - mean_squared_error: 0.2875
Epoch 822/2000
 - 5s - loss: 0.2960 - mean_squared_error: 0.2960
Epoch 823/2000
 - 5s - loss: 0.2861 - mean_squared_error: 0.2861
Epoch 824/2000
 - 5s - loss: 0.2843 - mean_squared_error: 0.2843
Epoch 825/2000
 - 5s - loss: 0.2781 - mean_squared_error: 0.2781
Epoch 826/2000
 - 5s - loss: 0.2684 - mean_squared_error: 0.2684
Epoch 827/2000
 - 5s - loss: 0.2955 - mean_squared_error: 0.2955
Epoch 828/2000
 - 5s - loss: 0.2965 - mean_squared_error: 0.2965
Epoch 829/2000
 - 5s - loss: 0.2747 - mean_squared_error: 0.2747
Epoch 830/2000
 - 5s - loss: 0.2751 - mean_squared_error: 0.2751
Epoch 831/2000
 - 5s - loss: 0.2832 - mean_squared_error: 0.2832
Epoch 832/2000
 - 5s - loss: 0.2684 - mean_squared_error: 0.2684
Epoch 833/2000
 - 5s - loss: 0.2723 - mean_squared_error: 0.2723
Epoch 834/2000
 - 5s - loss: 0.2851 - mean_squared_error: 0.2851
Epoch 835/2000
 - 5s - loss: 0.2785 - mean_squared_error: 0.2785
Epoch 836/2000
 - 5s - loss: 0.2764 - mean_squared_error: 0.2764
Epoch 837/2000
 - 5s - loss: 0.2788 - mean_squared_error: 0.2788
Epoch 838/2000
 - 5s - loss: 0.2904 - mean_squared_error: 0.2904
Epoch 839/2000
 - 5s - loss: 0.2893 - mean_squared_error: 0.2893
Epoch 840/2000
 - 5s - loss: 0.2820 - mean_squared_error: 0.2820
Epoch 841/2000
 - 5s - loss: 0.2985 - mean_squared_error: 0.2985
Epoch 842/2000
 - 5s - loss: 0.2949 - mean_squared_error: 0.2949
Epoch 843/2000
 - 5s - loss: 0.2689 - mean_squared_error: 0.2689
Epoch 844/2000
 - 5s - loss: 0.2902 - mean_squared_error: 0.2902
Epoch 845/2000
 - 5s - loss: 0.2762 - mean_squared_error: 0.2762
Epoch 846/2000
 - 5s - loss: 0.2913 - mean_squared_error: 0.2913
Epoch 847/2000
 - 5s - loss: 0.2673 - mean_squared_error: 0.2673
Epoch 848/2000
 - 5s - loss: 0.2775 - mean_squared_error: 0.2775
Epoch 849/2000
 - 5s - loss: 0.2971 - mean_squared_error: 0.2971
Epoch 850/2000
 - 5s - loss: 0.2822 - mean_squared_error: 0.2822
Epoch 851/2000
 - 5s - loss: 0.2839 - mean_squared_error: 0.2839
Epoch 852/2000
 - 5s - loss: 0.2880 - mean_squared_error: 0.2880
Epoch 853/2000
 - 5s - loss: 0.2891 - mean_squared_error: 0.2891
Epoch 854/2000
 - 5s - loss: 0.2815 - mean_squared_error: 0.2815
Epoch 855/2000
 - 5s - loss: 0.2910 - mean_squared_error: 0.2910
Epoch 856/2000
 - 5s - loss: 0.2733 - mean_squared_error: 0.2733
Epoch 857/2000
 - 5s - loss: 0.2651 - mean_squared_error: 0.2651
Epoch 858/2000
 - 5s - loss: 0.2750 - mean_squared_error: 0.2750
Epoch 859/2000
 - 5s - loss: 0.2792 - mean_squared_error: 0.2792
Epoch 860/2000
 - 5s - loss: 0.2738 - mean_squared_error: 0.2738
Epoch 861/2000
 - 5s - loss: 0.2691 - mean_squared_error: 0.2691
Epoch 862/2000
 - 5s - loss: 0.2834 - mean_squared_error: 0.2834
Epoch 863/2000
 - 5s - loss: 0.2709 - mean_squared_error: 0.2709
Epoch 864/2000
 - 5s - loss: 0.2847 - mean_squared_error: 0.2847
Epoch 865/2000
 - 5s - loss: 0.2757 - mean_squared_error: 0.2757
Epoch 866/2000
 - 5s - loss: 0.2762 - mean_squared_error: 0.2762
Epoch 867/2000
 - 5s - loss: 0.2976 - mean_squared_error: 0.2976
Epoch 868/2000
 - 5s - loss: 0.2838 - mean_squared_error: 0.2838
Epoch 869/2000
 - 5s - loss: 0.2856 - mean_squared_error: 0.2856
Epoch 870/2000
 - 5s - loss: 0.2718 - mean_squared_error: 0.2718
Epoch 871/2000
 - 5s - loss: 0.2744 - mean_squared_error: 0.2744
Epoch 872/2000
 - 5s - loss: 0.2830 - mean_squared_error: 0.2830
Epoch 873/2000
 - 5s - loss: 0.3032 - mean_squared_error: 0.3032
Epoch 874/2000
 - 5s - loss: 0.2864 - mean_squared_error: 0.2864
Epoch 875/2000
 - 5s - loss: 0.2691 - mean_squared_error: 0.2691
Epoch 876/2000
 - 5s - loss: 0.2823 - mean_squared_error: 0.2823
Epoch 877/2000
 - 5s - loss: 0.2755 - mean_squared_error: 0.2755
Epoch 878/2000
 - 5s - loss: 0.2892 - mean_squared_error: 0.2892
Epoch 879/2000
 - 5s - loss: 0.2733 - mean_squared_error: 0.2733
Epoch 880/2000
 - 5s - loss: 0.2852 - mean_squared_error: 0.2852
Epoch 881/2000
 - 5s - loss: 0.2654 - mean_squared_error: 0.2654
Epoch 882/2000
 - 5s - loss: 0.2642 - mean_squared_error: 0.2642
Epoch 883/2000
 - 5s - loss: 0.2670 - mean_squared_error: 0.2670
Epoch 884/2000
 - 5s - loss: 0.2762 - mean_squared_error: 0.2762
Epoch 885/2000
 - 5s - loss: 0.2851 - mean_squared_error: 0.2851
Epoch 886/2000
 - 5s - loss: 0.2899 - mean_squared_error: 0.2899
Epoch 887/2000
 - 5s - loss: 0.2751 - mean_squared_error: 0.2751
Epoch 888/2000
 - 5s - loss: 0.2719 - mean_squared_error: 0.2719
Epoch 889/2000
 - 5s - loss: 0.2717 - mean_squared_error: 0.2717
Epoch 890/2000
 - 5s - loss: 0.2851 - mean_squared_error: 0.2851
Epoch 891/2000
 - 5s - loss: 0.2740 - mean_squared_error: 0.2740
Epoch 892/2000
 - 5s - loss: 0.2838 - mean_squared_error: 0.2838
Epoch 893/2000
 - 5s - loss: 0.2949 - mean_squared_error: 0.2949
Epoch 894/2000
 - 5s - loss: 0.2729 - mean_squared_error: 0.2729
Epoch 895/2000
 - 5s - loss: 0.2763 - mean_squared_error: 0.2763
Epoch 896/2000
 - 5s - loss: 0.2858 - mean_squared_error: 0.2858
Epoch 897/2000
 - 5s - loss: 0.2842 - mean_squared_error: 0.2842
Epoch 898/2000
 - 5s - loss: 0.2734 - mean_squared_error: 0.2734
Epoch 899/2000
 - 5s - loss: 0.2735 - mean_squared_error: 0.2735
Epoch 900/2000
 - 5s - loss: 0.2741 - mean_squared_error: 0.2741
Epoch 901/2000
 - 5s - loss: 0.2792 - mean_squared_error: 0.2792
Epoch 902/2000
 - 5s - loss: 0.2686 - mean_squared_error: 0.2686
Epoch 903/2000
 - 5s - loss: 0.2720 - mean_squared_error: 0.2720
Epoch 904/2000
 - 5s - loss: 0.2790 - mean_squared_error: 0.2790
Epoch 905/2000
 - 5s - loss: 0.2704 - mean_squared_error: 0.2704
Epoch 906/2000
 - 5s - loss: 0.2733 - mean_squared_error: 0.2733
Epoch 907/2000
 - 5s - loss: 0.2718 - mean_squared_error: 0.2718
Epoch 908/2000
 - 5s - loss: 0.2774 - mean_squared_error: 0.2774
Epoch 909/2000
 - 5s - loss: 0.2650 - mean_squared_error: 0.2650
Epoch 910/2000
 - 5s - loss: 0.2767 - mean_squared_error: 0.2767
Epoch 911/2000
 - 5s - loss: 0.2645 - mean_squared_error: 0.2645
Epoch 912/2000
 - 5s - loss: 0.2714 - mean_squared_error: 0.2714
Epoch 913/2000
 - 5s - loss: 0.2710 - mean_squared_error: 0.2710
Epoch 914/2000
 - 5s - loss: 0.2740 - mean_squared_error: 0.2740
Epoch 915/2000
 - 5s - loss: 0.2811 - mean_squared_error: 0.2811
Epoch 916/2000
 - 5s - loss: 0.2634 - mean_squared_error: 0.2634
Epoch 917/2000
 - 5s - loss: 0.2808 - mean_squared_error: 0.2808
Epoch 918/2000
 - 5s - loss: 0.2704 - mean_squared_error: 0.2704
Epoch 919/2000
 - 5s - loss: 0.2713 - mean_squared_error: 0.2713
Epoch 920/2000
 - 5s - loss: 0.2767 - mean_squared_error: 0.2767
Epoch 921/2000
 - 5s - loss: 0.2864 - mean_squared_error: 0.2864
Epoch 922/2000
 - 5s - loss: 0.2767 - mean_squared_error: 0.2767
Epoch 923/2000
 - 5s - loss: 0.2809 - mean_squared_error: 0.2809
Epoch 924/2000
 - 5s - loss: 0.2781 - mean_squared_error: 0.2781
Epoch 925/2000
 - 5s - loss: 0.2690 - mean_squared_error: 0.2690
Epoch 926/2000
 - 5s - loss: 0.2714 - mean_squared_error: 0.2714
Epoch 927/2000
 - 5s - loss: 0.2564 - mean_squared_error: 0.2564
Epoch 928/2000
 - 5s - loss: 0.2559 - mean_squared_error: 0.2559
Epoch 929/2000
 - 5s - loss: 0.2695 - mean_squared_error: 0.2695
Epoch 930/2000
 - 5s - loss: 0.2575 - mean_squared_error: 0.2575
Epoch 931/2000
 - 5s - loss: 0.2752 - mean_squared_error: 0.2752
Epoch 932/2000
 - 5s - loss: 0.2820 - mean_squared_error: 0.2820
Epoch 933/2000
 - 5s - loss: 0.2621 - mean_squared_error: 0.2621
Epoch 934/2000
 - 5s - loss: 0.2678 - mean_squared_error: 0.2678
Epoch 935/2000
 - 5s - loss: 0.2613 - mean_squared_error: 0.2613
Epoch 936/2000
 - 5s - loss: 0.2807 - mean_squared_error: 0.2807
Epoch 937/2000
 - 5s - loss: 0.2729 - mean_squared_error: 0.2729
Epoch 938/2000
 - 5s - loss: 0.2666 - mean_squared_error: 0.2666
Epoch 939/2000
 - 5s - loss: 0.2577 - mean_squared_error: 0.2577
Epoch 940/2000
 - 5s - loss: 0.2719 - mean_squared_error: 0.2719
Epoch 941/2000
 - 5s - loss: 0.2699 - mean_squared_error: 0.2699
Epoch 942/2000
 - 5s - loss: 0.2612 - mean_squared_error: 0.2612
Epoch 943/2000
 - 5s - loss: 0.2634 - mean_squared_error: 0.2634
Epoch 944/2000
 - 5s - loss: 0.2799 - mean_squared_error: 0.2799
Epoch 945/2000
 - 5s - loss: 0.2698 - mean_squared_error: 0.2698
Epoch 946/2000
 - 5s - loss: 0.2734 - mean_squared_error: 0.2734
Epoch 947/2000
 - 5s - loss: 0.2609 - mean_squared_error: 0.2609
Epoch 948/2000
 - 5s - loss: 0.2636 - mean_squared_error: 0.2636
Epoch 949/2000
 - 5s - loss: 0.2646 - mean_squared_error: 0.2646
Epoch 950/2000
 - 5s - loss: 0.2743 - mean_squared_error: 0.2743
Epoch 951/2000
 - 5s - loss: 0.2810 - mean_squared_error: 0.2810
Epoch 952/2000
 - 5s - loss: 0.2790 - mean_squared_error: 0.2790
Epoch 953/2000
 - 5s - loss: 0.2639 - mean_squared_error: 0.2639
Epoch 954/2000
 - 5s - loss: 0.2620 - mean_squared_error: 0.2620
Epoch 955/2000
 - 5s - loss: 0.2602 - mean_squared_error: 0.2602
Epoch 956/2000
 - 5s - loss: 0.2621 - mean_squared_error: 0.2621
Epoch 957/2000
 - 5s - loss: 0.2685 - mean_squared_error: 0.2685
Epoch 958/2000
 - 5s - loss: 0.2601 - mean_squared_error: 0.2601
Epoch 959/2000
 - 5s - loss: 0.2751 - mean_squared_error: 0.2751
Epoch 960/2000
 - 5s - loss: 0.2516 - mean_squared_error: 0.2516
Epoch 961/2000
 - 5s - loss: 0.2604 - mean_squared_error: 0.2604
Epoch 962/2000
 - 5s - loss: 0.2700 - mean_squared_error: 0.2700
Epoch 963/2000
 - 5s - loss: 0.2671 - mean_squared_error: 0.2671
Epoch 964/2000
 - 5s - loss: 0.2744 - mean_squared_error: 0.2744
Epoch 965/2000
 - 5s - loss: 0.2686 - mean_squared_error: 0.2686
Epoch 966/2000
 - 5s - loss: 0.2846 - mean_squared_error: 0.2846
Epoch 967/2000
 - 5s - loss: 0.2694 - mean_squared_error: 0.2694
Epoch 968/2000
 - 5s - loss: 0.2707 - mean_squared_error: 0.2707
Epoch 969/2000
 - 5s - loss: 0.2743 - mean_squared_error: 0.2743
Epoch 970/2000
 - 5s - loss: 0.2572 - mean_squared_error: 0.2572
Epoch 971/2000
 - 5s - loss: 0.2604 - mean_squared_error: 0.2604
Epoch 972/2000
 - 5s - loss: 0.2592 - mean_squared_error: 0.2592
Epoch 973/2000
 - 5s - loss: 0.2670 - mean_squared_error: 0.2670
Epoch 974/2000
 - 5s - loss: 0.2685 - mean_squared_error: 0.2685
Epoch 975/2000
 - 5s - loss: 0.2637 - mean_squared_error: 0.2637
Epoch 976/2000
 - 5s - loss: 0.2629 - mean_squared_error: 0.2629
Epoch 977/2000
 - 5s - loss: 0.2685 - mean_squared_error: 0.2685
Epoch 978/2000
 - 5s - loss: 0.2595 - mean_squared_error: 0.2595
Epoch 979/2000
 - 5s - loss: 0.2671 - mean_squared_error: 0.2671
Epoch 980/2000
 - 5s - loss: 0.2705 - mean_squared_error: 0.2705
Epoch 981/2000
 - 5s - loss: 0.2604 - mean_squared_error: 0.2604
Epoch 982/2000
 - 5s - loss: 0.2607 - mean_squared_error: 0.2607
Epoch 983/2000
 - 5s - loss: 0.2567 - mean_squared_error: 0.2567
Epoch 984/2000
 - 5s - loss: 0.2498 - mean_squared_error: 0.2498
Epoch 985/2000
 - 5s - loss: 0.2733 - mean_squared_error: 0.2733
Epoch 986/2000
 - 5s - loss: 0.2744 - mean_squared_error: 0.2744
Epoch 987/2000
 - 5s - loss: 0.2680 - mean_squared_error: 0.2680
Epoch 988/2000
 - 5s - loss: 0.2606 - mean_squared_error: 0.2606
Epoch 989/2000
 - 5s - loss: 0.2552 - mean_squared_error: 0.2552
Epoch 990/2000
 - 5s - loss: 0.2495 - mean_squared_error: 0.2495
Epoch 991/2000
 - 5s - loss: 0.2680 - mean_squared_error: 0.2680
Epoch 992/2000
 - 5s - loss: 0.2617 - mean_squared_error: 0.2617
Epoch 993/2000
 - 5s - loss: 0.2667 - mean_squared_error: 0.2667
Epoch 994/2000
 - 5s - loss: 0.2657 - mean_squared_error: 0.2657
Epoch 995/2000
 - 5s - loss: 0.2608 - mean_squared_error: 0.2608
Epoch 996/2000
 - 5s - loss: 0.2462 - mean_squared_error: 0.2462
Epoch 997/2000
 - 5s - loss: 0.2548 - mean_squared_error: 0.2548
Epoch 998/2000
 - 5s - loss: 0.2551 - mean_squared_error: 0.2551
Epoch 999/2000
 - 5s - loss: 0.2590 - mean_squared_error: 0.2590
Epoch 1000/2000
 - 5s - loss: 0.2499 - mean_squared_error: 0.2499
Epoch 1001/2000
 - 5s - loss: 0.2589 - mean_squared_error: 0.2589
Epoch 1002/2000
 - 5s - loss: 0.2546 - mean_squared_error: 0.2546
Epoch 1003/2000
 - 5s - loss: 0.2599 - mean_squared_error: 0.2599
Epoch 1004/2000
 - 5s - loss: 0.2623 - mean_squared_error: 0.2623
Epoch 1005/2000
 - 5s - loss: 0.2564 - mean_squared_error: 0.2564
Epoch 1006/2000
 - 5s - loss: 0.2600 - mean_squared_error: 0.2600
Epoch 1007/2000
 - 5s - loss: 0.2595 - mean_squared_error: 0.2595
Epoch 1008/2000
 - 5s - loss: 0.2700 - mean_squared_error: 0.2700
Epoch 1009/2000
 - 5s - loss: 0.2689 - mean_squared_error: 0.2689
Epoch 1010/2000
 - 5s - loss: 0.2511 - mean_squared_error: 0.2511
Epoch 1011/2000
 - 5s - loss: 0.2641 - mean_squared_error: 0.2641
Epoch 1012/2000
 - 5s - loss: 0.2537 - mean_squared_error: 0.2537
Epoch 1013/2000
 - 5s - loss: 0.2583 - mean_squared_error: 0.2583
Epoch 1014/2000
 - 5s - loss: 0.2605 - mean_squared_error: 0.2605
Epoch 1015/2000
 - 5s - loss: 0.2633 - mean_squared_error: 0.2633
Epoch 1016/2000
 - 5s - loss: 0.2590 - mean_squared_error: 0.2590
Epoch 1017/2000
 - 5s - loss: 0.2720 - mean_squared_error: 0.2720
Epoch 1018/2000
 - 5s - loss: 0.2533 - mean_squared_error: 0.2533
Epoch 1019/2000
 - 5s - loss: 0.2577 - mean_squared_error: 0.2577
Epoch 1020/2000
 - 5s - loss: 0.2609 - mean_squared_error: 0.2609
Epoch 1021/2000
 - 5s - loss: 0.2528 - mean_squared_error: 0.2528
Epoch 1022/2000
 - 5s - loss: 0.2566 - mean_squared_error: 0.2566
Epoch 1023/2000
 - 5s - loss: 0.2507 - mean_squared_error: 0.2507
Epoch 1024/2000
 - 5s - loss: 0.2618 - mean_squared_error: 0.2618
Epoch 1025/2000
 - 5s - loss: 0.2579 - mean_squared_error: 0.2579
Epoch 1026/2000
 - 5s - loss: 0.2697 - mean_squared_error: 0.2697
Epoch 1027/2000
 - 5s - loss: 0.2635 - mean_squared_error: 0.2635
Epoch 1028/2000
 - 5s - loss: 0.2551 - mean_squared_error: 0.2551
Epoch 1029/2000
 - 5s - loss: 0.2613 - mean_squared_error: 0.2613
Epoch 1030/2000
 - 5s - loss: 0.2527 - mean_squared_error: 0.2527
Epoch 1031/2000
 - 5s - loss: 0.2448 - mean_squared_error: 0.2448
Epoch 1032/2000
 - 5s - loss: 0.2585 - mean_squared_error: 0.2585
Epoch 1033/2000
 - 5s - loss: 0.2577 - mean_squared_error: 0.2577
Epoch 1034/2000
 - 5s - loss: 0.2507 - mean_squared_error: 0.2507
Epoch 1035/2000
 - 5s - loss: 0.2604 - mean_squared_error: 0.2604
Epoch 1036/2000
 - 5s - loss: 0.2502 - mean_squared_error: 0.2502
Epoch 1037/2000
 - 5s - loss: 0.2550 - mean_squared_error: 0.2550
Epoch 1038/2000
 - 5s - loss: 0.2608 - mean_squared_error: 0.2608
Epoch 1039/2000
 - 5s - loss: 0.2547 - mean_squared_error: 0.2547
Epoch 1040/2000
 - 5s - loss: 0.2530 - mean_squared_error: 0.2530
Epoch 1041/2000
 - 5s - loss: 0.2676 - mean_squared_error: 0.2676
Epoch 1042/2000
 - 5s - loss: 0.2623 - mean_squared_error: 0.2623
Epoch 1043/2000
 - 5s - loss: 0.2602 - mean_squared_error: 0.2602
Epoch 1044/2000
 - 5s - loss: 0.2554 - mean_squared_error: 0.2554
Epoch 1045/2000
 - 5s - loss: 0.2559 - mean_squared_error: 0.2559
Epoch 1046/2000
 - 5s - loss: 0.2563 - mean_squared_error: 0.2563
Epoch 1047/2000
 - 5s - loss: 0.2574 - mean_squared_error: 0.2574
Epoch 1048/2000
 - 5s - loss: 0.2542 - mean_squared_error: 0.2542
Epoch 1049/2000
 - 5s - loss: 0.2551 - mean_squared_error: 0.2551
Epoch 1050/2000
 - 5s - loss: 0.2529 - mean_squared_error: 0.2529
Epoch 1051/2000
 - 5s - loss: 0.2768 - mean_squared_error: 0.2768
Epoch 1052/2000
 - 5s - loss: 0.2601 - mean_squared_error: 0.2601
Epoch 1053/2000
 - 5s - loss: 0.2530 - mean_squared_error: 0.2530
Epoch 1054/2000
 - 5s - loss: 0.2538 - mean_squared_error: 0.2538
Epoch 1055/2000
 - 5s - loss: 0.2737 - mean_squared_error: 0.2737
Epoch 1056/2000
 - 5s - loss: 0.2572 - mean_squared_error: 0.2572
Epoch 1057/2000
 - 5s - loss: 0.2610 - mean_squared_error: 0.2610
Epoch 1058/2000
 - 5s - loss: 0.2566 - mean_squared_error: 0.2566
Epoch 1059/2000
 - 5s - loss: 0.2447 - mean_squared_error: 0.2447
Epoch 1060/2000
 - 5s - loss: 0.2627 - mean_squared_error: 0.2627
Epoch 1061/2000
 - 5s - loss: 0.2464 - mean_squared_error: 0.2464
Epoch 1062/2000
 - 5s - loss: 0.2488 - mean_squared_error: 0.2488
Epoch 1063/2000
 - 5s - loss: 0.2500 - mean_squared_error: 0.2500
Epoch 1064/2000
 - 5s - loss: 0.2552 - mean_squared_error: 0.2552
Epoch 1065/2000
 - 5s - loss: 0.2514 - mean_squared_error: 0.2514
Epoch 1066/2000
 - 5s - loss: 0.2455 - mean_squared_error: 0.2455
Epoch 1067/2000
 - 5s - loss: 0.2465 - mean_squared_error: 0.2465
Epoch 1068/2000
 - 5s - loss: 0.2500 - mean_squared_error: 0.2500
Epoch 1069/2000
 - 5s - loss: 0.2667 - mean_squared_error: 0.2667
Epoch 1070/2000
 - 5s - loss: 0.2702 - mean_squared_error: 0.2702
Epoch 1071/2000
 - 5s - loss: 0.2553 - mean_squared_error: 0.2553
Epoch 1072/2000
 - 5s - loss: 0.2535 - mean_squared_error: 0.2535
Epoch 1073/2000
 - 5s - loss: 0.2511 - mean_squared_error: 0.2511
Epoch 1074/2000
 - 5s - loss: 0.2629 - mean_squared_error: 0.2629
Epoch 1075/2000
 - 5s - loss: 0.2417 - mean_squared_error: 0.2417
Epoch 1076/2000
 - 5s - loss: 0.2570 - mean_squared_error: 0.2570
Epoch 1077/2000
 - 5s - loss: 0.2624 - mean_squared_error: 0.2624
Epoch 1078/2000
 - 5s - loss: 0.2531 - mean_squared_error: 0.2531
Epoch 1079/2000
 - 5s - loss: 0.2649 - mean_squared_error: 0.2649
Epoch 1080/2000
 - 5s - loss: 0.2626 - mean_squared_error: 0.2626
Epoch 1081/2000
 - 5s - loss: 0.2459 - mean_squared_error: 0.2459
Epoch 1082/2000
 - 5s - loss: 0.2439 - mean_squared_error: 0.2439
Epoch 1083/2000
 - 5s - loss: 0.2454 - mean_squared_error: 0.2454
Epoch 1084/2000
 - 5s - loss: 0.2734 - mean_squared_error: 0.2734
Epoch 1085/2000
 - 5s - loss: 0.2701 - mean_squared_error: 0.2701
Epoch 1086/2000
 - 5s - loss: 0.2448 - mean_squared_error: 0.2448
Epoch 1087/2000
 - 5s - loss: 0.2426 - mean_squared_error: 0.2426
Epoch 1088/2000
 - 5s - loss: 0.2584 - mean_squared_error: 0.2584
Epoch 1089/2000
 - 5s - loss: 0.2346 - mean_squared_error: 0.2346
Epoch 1090/2000
 - 5s - loss: 0.2525 - mean_squared_error: 0.2525
Epoch 1091/2000
 - 4s - loss: 0.2581 - mean_squared_error: 0.2581
Epoch 1092/2000
 - 5s - loss: 0.2593 - mean_squared_error: 0.2593
Epoch 1093/2000
 - 5s - loss: 0.2566 - mean_squared_error: 0.2566
Epoch 1094/2000
 - 5s - loss: 0.2447 - mean_squared_error: 0.2447
Epoch 1095/2000
 - 5s - loss: 0.2462 - mean_squared_error: 0.2462
Epoch 1096/2000
 - 5s - loss: 0.2457 - mean_squared_error: 0.2457
Epoch 1097/2000
 - 5s - loss: 0.2477 - mean_squared_error: 0.2477
Epoch 1098/2000
 - 5s - loss: 0.2509 - mean_squared_error: 0.2509
Epoch 1099/2000
 - 5s - loss: 0.2412 - mean_squared_error: 0.2412
Epoch 1100/2000
 - 5s - loss: 0.2422 - mean_squared_error: 0.2422
Epoch 1101/2000
 - 5s - loss: 0.2496 - mean_squared_error: 0.2496
Epoch 1102/2000
 - 5s - loss: 0.2433 - mean_squared_error: 0.2433
Epoch 1103/2000
 - 5s - loss: 0.2381 - mean_squared_error: 0.2381
Epoch 1104/2000
 - 5s - loss: 0.2413 - mean_squared_error: 0.2413
Epoch 1105/2000
 - 5s - loss: 0.2427 - mean_squared_error: 0.2427
Epoch 1106/2000
 - 5s - loss: 0.2528 - mean_squared_error: 0.2528
Epoch 1107/2000
 - 5s - loss: 0.2571 - mean_squared_error: 0.2571
Epoch 1108/2000
 - 5s - loss: 0.2733 - mean_squared_error: 0.2733
Epoch 1109/2000
 - 5s - loss: 0.2548 - mean_squared_error: 0.2548
Epoch 1110/2000
 - 5s - loss: 0.2568 - mean_squared_error: 0.2568
Epoch 1111/2000
 - 5s - loss: 0.2462 - mean_squared_error: 0.2462
Epoch 1112/2000
 - 5s - loss: 0.2403 - mean_squared_error: 0.2403
Epoch 1113/2000
 - 5s - loss: 0.2415 - mean_squared_error: 0.2415
Epoch 1114/2000
 - 5s - loss: 0.2602 - mean_squared_error: 0.2602
Epoch 1115/2000
 - 5s - loss: 0.2519 - mean_squared_error: 0.2519
Epoch 1116/2000
 - 5s - loss: 0.2464 - mean_squared_error: 0.2464
Epoch 1117/2000
 - 5s - loss: 0.2429 - mean_squared_error: 0.2429
Epoch 1118/2000
 - 5s - loss: 0.2472 - mean_squared_error: 0.2472
Epoch 1119/2000
 - 5s - loss: 0.2454 - mean_squared_error: 0.2454
Epoch 1120/2000
 - 5s - loss: 0.2560 - mean_squared_error: 0.2560
Epoch 1121/2000
 - 5s - loss: 0.2341 - mean_squared_error: 0.2341
Epoch 1122/2000
 - 5s - loss: 0.2414 - mean_squared_error: 0.2414
Epoch 1123/2000
 - 5s - loss: 0.2458 - mean_squared_error: 0.2458
Epoch 1124/2000
 - 5s - loss: 0.2387 - mean_squared_error: 0.2387
Epoch 1125/2000
 - 5s - loss: 0.2467 - mean_squared_error: 0.2467
Epoch 1126/2000
 - 5s - loss: 0.2409 - mean_squared_error: 0.2409
Epoch 1127/2000
 - 5s - loss: 0.2390 - mean_squared_error: 0.2390
Epoch 1128/2000
 - 5s - loss: 0.2504 - mean_squared_error: 0.2504
Epoch 1129/2000
 - 5s - loss: 0.2403 - mean_squared_error: 0.2403
Epoch 1130/2000
 - 5s - loss: 0.2368 - mean_squared_error: 0.2368
Epoch 1131/2000
 - 5s - loss: 0.2378 - mean_squared_error: 0.2378
Epoch 1132/2000
 - 5s - loss: 0.2432 - mean_squared_error: 0.2432
Epoch 1133/2000
 - 5s - loss: 0.2550 - mean_squared_error: 0.2550
Epoch 1134/2000
 - 5s - loss: 0.2477 - mean_squared_error: 0.2477
Epoch 1135/2000
 - 5s - loss: 0.2486 - mean_squared_error: 0.2486
Epoch 1136/2000
 - 5s - loss: 0.2539 - mean_squared_error: 0.2539
Epoch 1137/2000
 - 5s - loss: 0.2512 - mean_squared_error: 0.2512
Epoch 1138/2000
 - 5s - loss: 0.2480 - mean_squared_error: 0.2480
Epoch 1139/2000
 - 5s - loss: 0.2484 - mean_squared_error: 0.2484
Epoch 1140/2000
 - 5s - loss: 0.2568 - mean_squared_error: 0.2568
Epoch 1141/2000
 - 5s - loss: 0.2416 - mean_squared_error: 0.2416
Epoch 1142/2000
 - 5s - loss: 0.2564 - mean_squared_error: 0.2564
Epoch 1143/2000
 - 5s - loss: 0.2576 - mean_squared_error: 0.2576
Epoch 1144/2000
 - 5s - loss: 0.2404 - mean_squared_error: 0.2404
Epoch 1145/2000
 - 5s - loss: 0.2485 - mean_squared_error: 0.2485
Epoch 1146/2000
 - 5s - loss: 0.2495 - mean_squared_error: 0.2495
Epoch 1147/2000
 - 5s - loss: 0.2461 - mean_squared_error: 0.2461
Epoch 1148/2000
 - 5s - loss: 0.2679 - mean_squared_error: 0.2679
Epoch 1149/2000
 - 5s - loss: 0.2549 - mean_squared_error: 0.2549
Epoch 1150/2000
 - 5s - loss: 0.2763 - mean_squared_error: 0.2763
Epoch 1151/2000
 - 5s - loss: 0.2627 - mean_squared_error: 0.2627
Epoch 1152/2000
 - 5s - loss: 0.2462 - mean_squared_error: 0.2462
Epoch 1153/2000
 - 5s - loss: 0.2584 - mean_squared_error: 0.2584
Epoch 1154/2000
 - 5s - loss: 0.2452 - mean_squared_error: 0.2452
Epoch 1155/2000
 - 5s - loss: 0.2528 - mean_squared_error: 0.2528
Epoch 1156/2000
 - 5s - loss: 0.2450 - mean_squared_error: 0.2450
Epoch 1157/2000
 - 5s - loss: 0.2430 - mean_squared_error: 0.2430
Epoch 1158/2000
 - 5s - loss: 0.2514 - mean_squared_error: 0.2514
Epoch 1159/2000
 - 5s - loss: 0.2415 - mean_squared_error: 0.2415
Epoch 1160/2000
 - 5s - loss: 0.2503 - mean_squared_error: 0.2503
Epoch 1161/2000
 - 5s - loss: 0.2453 - mean_squared_error: 0.2453
Epoch 1162/2000
 - 5s - loss: 0.2527 - mean_squared_error: 0.2527
Epoch 1163/2000
 - 5s - loss: 0.2517 - mean_squared_error: 0.2517
Epoch 1164/2000
 - 5s - loss: 0.2530 - mean_squared_error: 0.2530
Epoch 1165/2000
 - 5s - loss: 0.2363 - mean_squared_error: 0.2363
Epoch 1166/2000
 - 5s - loss: 0.2458 - mean_squared_error: 0.2458
Epoch 1167/2000
 - 5s - loss: 0.2378 - mean_squared_error: 0.2378
Epoch 1168/2000
 - 5s - loss: 0.2569 - mean_squared_error: 0.2569
Epoch 1169/2000
 - 5s - loss: 0.2418 - mean_squared_error: 0.2418
Epoch 1170/2000
 - 5s - loss: 0.2382 - mean_squared_error: 0.2382
Epoch 1171/2000
 - 5s - loss: 0.2479 - mean_squared_error: 0.2479
Epoch 1172/2000
 - 5s - loss: 0.2347 - mean_squared_error: 0.2347
Epoch 1173/2000
 - 5s - loss: 0.2402 - mean_squared_error: 0.2402
Epoch 1174/2000
 - 5s - loss: 0.2378 - mean_squared_error: 0.2378
Epoch 1175/2000
 - 5s - loss: 0.2315 - mean_squared_error: 0.2315
Epoch 1176/2000
 - 5s - loss: 0.2483 - mean_squared_error: 0.2483
Epoch 1177/2000
 - 5s - loss: 0.2435 - mean_squared_error: 0.2435
Epoch 1178/2000
 - 5s - loss: 0.2371 - mean_squared_error: 0.2371
Epoch 1179/2000
 - 5s - loss: 0.2322 - mean_squared_error: 0.2322
Epoch 1180/2000
 - 5s - loss: 0.2584 - mean_squared_error: 0.2584
Epoch 1181/2000
 - 5s - loss: 0.2436 - mean_squared_error: 0.2436
Epoch 1182/2000
 - 5s - loss: 0.2385 - mean_squared_error: 0.2385
Epoch 1183/2000
 - 5s - loss: 0.2415 - mean_squared_error: 0.2415
Epoch 1184/2000
 - 5s - loss: 0.2463 - mean_squared_error: 0.2463
Epoch 1185/2000
 - 5s - loss: 0.2423 - mean_squared_error: 0.2423
Epoch 1186/2000
 - 5s - loss: 0.2318 - mean_squared_error: 0.2318
Epoch 1187/2000
 - 5s - loss: 0.2464 - mean_squared_error: 0.2464
Epoch 1188/2000
 - 5s - loss: 0.2375 - mean_squared_error: 0.2375
Epoch 1189/2000
 - 5s - loss: 0.2404 - mean_squared_error: 0.2404
Epoch 1190/2000
 - 5s - loss: 0.2525 - mean_squared_error: 0.2525
Epoch 1191/2000
 - 5s - loss: 0.2465 - mean_squared_error: 0.2465
Epoch 1192/2000
 - 5s - loss: 0.2393 - mean_squared_error: 0.2393
Epoch 1193/2000
 - 5s - loss: 0.2334 - mean_squared_error: 0.2334
Epoch 1194/2000
 - 5s - loss: 0.2253 - mean_squared_error: 0.2253
Epoch 1195/2000
 - 5s - loss: 0.2474 - mean_squared_error: 0.2474
Epoch 1196/2000
 - 5s - loss: 0.2322 - mean_squared_error: 0.2322
Epoch 1197/2000
 - 5s - loss: 0.2420 - mean_squared_error: 0.2420
Epoch 1198/2000
 - 5s - loss: 0.2407 - mean_squared_error: 0.2407
Epoch 1199/2000
 - 5s - loss: 0.2549 - mean_squared_error: 0.2549
Epoch 1200/2000
 - 5s - loss: 0.2457 - mean_squared_error: 0.2457
Epoch 1201/2000
 - 5s - loss: 0.2367 - mean_squared_error: 0.2367
Epoch 1202/2000
 - 5s - loss: 0.2417 - mean_squared_error: 0.2417
Epoch 1203/2000
 - 5s - loss: 0.2305 - mean_squared_error: 0.2305
Epoch 1204/2000
 - 5s - loss: 0.2383 - mean_squared_error: 0.2383
Epoch 1205/2000
 - 5s - loss: 0.2373 - mean_squared_error: 0.2373
Epoch 1206/2000
 - 5s - loss: 0.2456 - mean_squared_error: 0.2456
Epoch 1207/2000
 - 5s - loss: 0.2394 - mean_squared_error: 0.2394
Epoch 1208/2000
 - 5s - loss: 0.2401 - mean_squared_error: 0.2401
Epoch 1209/2000
 - 5s - loss: 0.2408 - mean_squared_error: 0.2408
Epoch 1210/2000
 - 5s - loss: 0.2468 - mean_squared_error: 0.2468
Epoch 1211/2000
 - 5s - loss: 0.2355 - mean_squared_error: 0.2355
Epoch 1212/2000
 - 5s - loss: 0.2469 - mean_squared_error: 0.2469
Epoch 1213/2000
 - 5s - loss: 0.2187 - mean_squared_error: 0.2187
Epoch 1214/2000
 - 5s - loss: 0.2350 - mean_squared_error: 0.2350
Epoch 1215/2000
 - 5s - loss: 0.2314 - mean_squared_error: 0.2314
Epoch 1216/2000
 - 5s - loss: 0.2381 - mean_squared_error: 0.2381
Epoch 1217/2000
 - 5s - loss: 0.2471 - mean_squared_error: 0.2471
Epoch 1218/2000
 - 5s - loss: 0.2308 - mean_squared_error: 0.2308
Epoch 1219/2000
 - 5s - loss: 0.2307 - mean_squared_error: 0.2307
Epoch 1220/2000
 - 5s - loss: 0.2410 - mean_squared_error: 0.2410
Epoch 1221/2000
 - 5s - loss: 0.2458 - mean_squared_error: 0.2458
Epoch 1222/2000
 - 5s - loss: 0.2386 - mean_squared_error: 0.2386
Epoch 1223/2000
 - 5s - loss: 0.2309 - mean_squared_error: 0.2309
Epoch 1224/2000
 - 5s - loss: 0.2356 - mean_squared_error: 0.2356
Epoch 1225/2000
 - 5s - loss: 0.2294 - mean_squared_error: 0.2294
Epoch 1226/2000
 - 5s - loss: 0.2377 - mean_squared_error: 0.2377
Epoch 1227/2000
 - 5s - loss: 0.2397 - mean_squared_error: 0.2397
Epoch 1228/2000
 - 5s - loss: 0.2435 - mean_squared_error: 0.2435
Epoch 1229/2000
 - 5s - loss: 0.2331 - mean_squared_error: 0.2331
Epoch 1230/2000
 - 5s - loss: 0.2246 - mean_squared_error: 0.2246
Epoch 1231/2000
 - 5s - loss: 0.2280 - mean_squared_error: 0.2280
Epoch 1232/2000
 - 5s - loss: 0.2309 - mean_squared_error: 0.2309
Epoch 1233/2000
 - 5s - loss: 0.2277 - mean_squared_error: 0.2277
Epoch 1234/2000
 - 5s - loss: 0.2386 - mean_squared_error: 0.2386
Epoch 1235/2000
 - 5s - loss: 0.2321 - mean_squared_error: 0.2321
Epoch 1236/2000
 - 5s - loss: 0.2328 - mean_squared_error: 0.2328
Epoch 1237/2000
 - 5s - loss: 0.2281 - mean_squared_error: 0.2281
Epoch 1238/2000
 - 5s - loss: 0.2406 - mean_squared_error: 0.2406
Epoch 1239/2000
 - 5s - loss: 0.2433 - mean_squared_error: 0.2433
Epoch 1240/2000
 - 5s - loss: 0.2453 - mean_squared_error: 0.2453
Epoch 1241/2000
 - 5s - loss: 0.2265 - mean_squared_error: 0.2265
Epoch 1242/2000
 - 5s - loss: 0.2278 - mean_squared_error: 0.2278
Epoch 1243/2000
 - 5s - loss: 0.2373 - mean_squared_error: 0.2373
Epoch 1244/2000
 - 5s - loss: 0.2342 - mean_squared_error: 0.2342
Epoch 1245/2000
 - 5s - loss: 0.2325 - mean_squared_error: 0.2325
Epoch 1246/2000
 - 5s - loss: 0.2371 - mean_squared_error: 0.2371
Epoch 1247/2000
 - 5s - loss: 0.2396 - mean_squared_error: 0.2396
Epoch 1248/2000
 - 5s - loss: 0.2317 - mean_squared_error: 0.2317
Epoch 1249/2000
 - 5s - loss: 0.2332 - mean_squared_error: 0.2332
Epoch 1250/2000
 - 5s - loss: 0.2377 - mean_squared_error: 0.2377
Epoch 1251/2000
 - 5s - loss: 0.2384 - mean_squared_error: 0.2384
Epoch 1252/2000
 - 5s - loss: 0.2271 - mean_squared_error: 0.2271
Epoch 1253/2000
 - 5s - loss: 0.2279 - mean_squared_error: 0.2279
Epoch 1254/2000
 - 5s - loss: 0.2359 - mean_squared_error: 0.2359
Epoch 1255/2000
 - 5s - loss: 0.2279 - mean_squared_error: 0.2279
Epoch 1256/2000
 - 5s - loss: 0.2400 - mean_squared_error: 0.2400
Epoch 1257/2000
 - 5s - loss: 0.2307 - mean_squared_error: 0.2307
Epoch 1258/2000
 - 5s - loss: 0.2398 - mean_squared_error: 0.2398
Epoch 1259/2000
 - 5s - loss: 0.2367 - mean_squared_error: 0.2367
Epoch 1260/2000
 - 5s - loss: 0.2404 - mean_squared_error: 0.2404
Epoch 1261/2000
 - 5s - loss: 0.2367 - mean_squared_error: 0.2367
Epoch 1262/2000
 - 5s - loss: 0.2377 - mean_squared_error: 0.2377
Epoch 1263/2000
 - 5s - loss: 0.2412 - mean_squared_error: 0.2412
Epoch 1264/2000
 - 5s - loss: 0.2278 - mean_squared_error: 0.2278
Epoch 1265/2000
 - 5s - loss: 0.2444 - mean_squared_error: 0.2444
Epoch 1266/2000
 - 5s - loss: 0.2410 - mean_squared_error: 0.2410
Epoch 1267/2000
 - 5s - loss: 0.2339 - mean_squared_error: 0.2339
Epoch 1268/2000
 - 5s - loss: 0.2378 - mean_squared_error: 0.2378
Epoch 1269/2000
 - 5s - loss: 0.2271 - mean_squared_error: 0.2271
Epoch 1270/2000
 - 5s - loss: 0.2240 - mean_squared_error: 0.2240
Epoch 1271/2000
 - 5s - loss: 0.2288 - mean_squared_error: 0.2288
Epoch 1272/2000
 - 5s - loss: 0.2275 - mean_squared_error: 0.2275
Epoch 1273/2000
 - 5s - loss: 0.2323 - mean_squared_error: 0.2323
Epoch 1274/2000
 - 5s - loss: 0.2468 - mean_squared_error: 0.2468
Epoch 1275/2000
 - 5s - loss: 0.2435 - mean_squared_error: 0.2435
Epoch 1276/2000
 - 5s - loss: 0.2332 - mean_squared_error: 0.2332
Epoch 1277/2000
 - 5s - loss: 0.2354 - mean_squared_error: 0.2354
Epoch 1278/2000
 - 5s - loss: 0.2339 - mean_squared_error: 0.2339
Epoch 1279/2000
 - 5s - loss: 0.2513 - mean_squared_error: 0.2513
Epoch 1280/2000
 - 5s - loss: 0.2474 - mean_squared_error: 0.2474
Epoch 1281/2000
 - 5s - loss: 0.2412 - mean_squared_error: 0.2412
Epoch 1282/2000
 - 5s - loss: 0.2343 - mean_squared_error: 0.2343
Epoch 1283/2000
 - 5s - loss: 0.2422 - mean_squared_error: 0.2422
Epoch 1284/2000
 - 5s - loss: 0.2342 - mean_squared_error: 0.2342
Epoch 1285/2000
 - 5s - loss: 0.2295 - mean_squared_error: 0.2295
Epoch 1286/2000
 - 5s - loss: 0.2335 - mean_squared_error: 0.2335
Epoch 1287/2000
 - 5s - loss: 0.2447 - mean_squared_error: 0.2447
Epoch 1288/2000
 - 5s - loss: 0.2363 - mean_squared_error: 0.2363
Epoch 1289/2000
 - 5s - loss: 0.2311 - mean_squared_error: 0.2311
Epoch 1290/2000
 - 5s - loss: 0.2347 - mean_squared_error: 0.2347
Epoch 1291/2000
 - 5s - loss: 0.2338 - mean_squared_error: 0.2338
Epoch 1292/2000
 - 5s - loss: 0.2322 - mean_squared_error: 0.2322
Epoch 1293/2000
 - 5s - loss: 0.2490 - mean_squared_error: 0.2490
Epoch 1294/2000
 - 5s - loss: 0.2350 - mean_squared_error: 0.2350
Epoch 1295/2000
 - 5s - loss: 0.2286 - mean_squared_error: 0.2286
Epoch 1296/2000
 - 5s - loss: 0.2287 - mean_squared_error: 0.2287
Epoch 1297/2000
 - 5s - loss: 0.2279 - mean_squared_error: 0.2279
Epoch 1298/2000
 - 5s - loss: 0.2191 - mean_squared_error: 0.2191
Epoch 1299/2000
 - 5s - loss: 0.2149 - mean_squared_error: 0.2149
Epoch 1300/2000
 - 5s - loss: 0.2330 - mean_squared_error: 0.2330
Epoch 1301/2000
 - 5s - loss: 0.2380 - mean_squared_error: 0.2380
Epoch 1302/2000
 - 5s - loss: 0.2189 - mean_squared_error: 0.2189
Epoch 1303/2000
 - 5s - loss: 0.2147 - mean_squared_error: 0.2147
Epoch 1304/2000
 - 5s - loss: 0.2302 - mean_squared_error: 0.2302
Epoch 1305/2000
 - 5s - loss: 0.2458 - mean_squared_error: 0.2458
Epoch 1306/2000
 - 5s - loss: 0.2250 - mean_squared_error: 0.2250
Epoch 1307/2000
 - 5s - loss: 0.2378 - mean_squared_error: 0.2378
Epoch 1308/2000
 - 5s - loss: 0.2295 - mean_squared_error: 0.2295
Epoch 1309/2000
 - 5s - loss: 0.2298 - mean_squared_error: 0.2298
Epoch 1310/2000
 - 5s - loss: 0.2330 - mean_squared_error: 0.2330
Epoch 1311/2000
 - 5s - loss: 0.2228 - mean_squared_error: 0.2228
Epoch 1312/2000
 - 5s - loss: 0.2357 - mean_squared_error: 0.2357
Epoch 1313/2000
 - 5s - loss: 0.2311 - mean_squared_error: 0.2311
Epoch 1314/2000
 - 5s - loss: 0.2134 - mean_squared_error: 0.2134
Epoch 1315/2000
 - 5s - loss: 0.2296 - mean_squared_error: 0.2296
Epoch 1316/2000
 - 5s - loss: 0.2218 - mean_squared_error: 0.2218
Epoch 1317/2000
 - 5s - loss: 0.2203 - mean_squared_error: 0.2203
Epoch 1318/2000
 - 5s - loss: 0.2262 - mean_squared_error: 0.2262
Epoch 1319/2000
 - 5s - loss: 0.2300 - mean_squared_error: 0.2300
Epoch 1320/2000
 - 5s - loss: 0.2323 - mean_squared_error: 0.2323
Epoch 1321/2000
 - 5s - loss: 0.2299 - mean_squared_error: 0.2299
Epoch 1322/2000
 - 5s - loss: 0.2312 - mean_squared_error: 0.2312
Epoch 1323/2000
 - 5s - loss: 0.2444 - mean_squared_error: 0.2444
Epoch 1324/2000
 - 5s - loss: 0.2306 - mean_squared_error: 0.2306
Epoch 1325/2000
 - 5s - loss: 0.2092 - mean_squared_error: 0.2092
Epoch 1326/2000
 - 5s - loss: 0.2310 - mean_squared_error: 0.2310
Epoch 1327/2000
 - 5s - loss: 0.2295 - mean_squared_error: 0.2295
Epoch 1328/2000
 - 5s - loss: 0.2150 - mean_squared_error: 0.2150
Epoch 1329/2000
 - 5s - loss: 0.2267 - mean_squared_error: 0.2267
Epoch 1330/2000
 - 5s - loss: 0.2123 - mean_squared_error: 0.2123
Epoch 1331/2000
 - 5s - loss: 0.2342 - mean_squared_error: 0.2342
Epoch 1332/2000
 - 5s - loss: 0.2306 - mean_squared_error: 0.2306
Epoch 1333/2000
 - 5s - loss: 0.2293 - mean_squared_error: 0.2293
Epoch 1334/2000
 - 5s - loss: 0.2316 - mean_squared_error: 0.2316
Epoch 1335/2000
 - 5s - loss: 0.2220 - mean_squared_error: 0.2220
Epoch 1336/2000
 - 5s - loss: 0.2281 - mean_squared_error: 0.2281
Epoch 1337/2000
 - 5s - loss: 0.2446 - mean_squared_error: 0.2446
Epoch 1338/2000
 - 5s - loss: 0.2273 - mean_squared_error: 0.2273
Epoch 1339/2000
 - 5s - loss: 0.2290 - mean_squared_error: 0.2290
Epoch 1340/2000
 - 5s - loss: 0.2203 - mean_squared_error: 0.2203
Epoch 1341/2000
 - 5s - loss: 0.2240 - mean_squared_error: 0.2240
Epoch 1342/2000
 - 5s - loss: 0.2246 - mean_squared_error: 0.2246
Epoch 1343/2000
 - 5s - loss: 0.2253 - mean_squared_error: 0.2253
Epoch 1344/2000
 - 5s - loss: 0.2195 - mean_squared_error: 0.2195
Epoch 1345/2000
 - 5s - loss: 0.2226 - mean_squared_error: 0.2226
Epoch 1346/2000
 - 5s - loss: 0.2351 - mean_squared_error: 0.2351
Epoch 1347/2000
 - 5s - loss: 0.2281 - mean_squared_error: 0.2281
Epoch 1348/2000
 - 5s - loss: 0.2266 - mean_squared_error: 0.2266
Epoch 1349/2000
 - 5s - loss: 0.2457 - mean_squared_error: 0.2457
Epoch 1350/2000
 - 5s - loss: 0.2311 - mean_squared_error: 0.2311
Epoch 1351/2000
 - 5s - loss: 0.2327 - mean_squared_error: 0.2327
Epoch 1352/2000
 - 5s - loss: 0.2268 - mean_squared_error: 0.2268
Epoch 1353/2000
 - 5s - loss: 0.2279 - mean_squared_error: 0.2279
Epoch 1354/2000
 - 5s - loss: 0.2113 - mean_squared_error: 0.2113
Epoch 1355/2000
 - 5s - loss: 0.2277 - mean_squared_error: 0.2277
Epoch 1356/2000
 - 5s - loss: 0.2161 - mean_squared_error: 0.2161
Epoch 1357/2000
 - 5s - loss: 0.2210 - mean_squared_error: 0.2210
Epoch 1358/2000
 - 5s - loss: 0.2343 - mean_squared_error: 0.2343
Epoch 1359/2000
 - 5s - loss: 0.2258 - mean_squared_error: 0.2258
Epoch 1360/2000
 - 5s - loss: 0.2296 - mean_squared_error: 0.2296
Epoch 1361/2000
 - 5s - loss: 0.2192 - mean_squared_error: 0.2192
Epoch 1362/2000
 - 5s - loss: 0.2151 - mean_squared_error: 0.2151
Epoch 1363/2000
 - 5s - loss: 0.2283 - mean_squared_error: 0.2283
Epoch 1364/2000
 - 5s - loss: 0.2244 - mean_squared_error: 0.2244
Epoch 1365/2000
 - 5s - loss: 0.2275 - mean_squared_error: 0.2275
Epoch 1366/2000
 - 5s - loss: 0.2253 - mean_squared_error: 0.2253
Epoch 1367/2000
 - 5s - loss: 0.2277 - mean_squared_error: 0.2277
Epoch 1368/2000
 - 5s - loss: 0.2165 - mean_squared_error: 0.2165
Epoch 1369/2000
 - 5s - loss: 0.2256 - mean_squared_error: 0.2256
Epoch 1370/2000
 - 5s - loss: 0.2280 - mean_squared_error: 0.2280
Epoch 1371/2000
 - 5s - loss: 0.2396 - mean_squared_error: 0.2396
Epoch 1372/2000
 - 5s - loss: 0.2275 - mean_squared_error: 0.2275
Epoch 1373/2000
 - 5s - loss: 0.2242 - mean_squared_error: 0.2242
Epoch 1374/2000
 - 5s - loss: 0.2234 - mean_squared_error: 0.2234
Epoch 1375/2000
 - 5s - loss: 0.2294 - mean_squared_error: 0.2294
Epoch 1376/2000
 - 5s - loss: 0.2124 - mean_squared_error: 0.2124
Epoch 1377/2000
 - 5s - loss: 0.2199 - mean_squared_error: 0.2199
Epoch 1378/2000
 - 5s - loss: 0.2197 - mean_squared_error: 0.2197
Epoch 1379/2000
 - 5s - loss: 0.2228 - mean_squared_error: 0.2228
Epoch 1380/2000
 - 5s - loss: 0.2232 - mean_squared_error: 0.2232
Epoch 1381/2000
 - 5s - loss: 0.2223 - mean_squared_error: 0.2223
Epoch 1382/2000
 - 5s - loss: 0.2374 - mean_squared_error: 0.2374
Epoch 1383/2000
 - 5s - loss: 0.2412 - mean_squared_error: 0.2412
Epoch 1384/2000
 - 5s - loss: 0.2139 - mean_squared_error: 0.2139
Epoch 1385/2000
 - 5s - loss: 0.2197 - mean_squared_error: 0.2197
Epoch 1386/2000
 - 5s - loss: 0.2326 - mean_squared_error: 0.2326
Epoch 1387/2000
 - 5s - loss: 0.2126 - mean_squared_error: 0.2126
Epoch 1388/2000
 - 5s - loss: 0.2310 - mean_squared_error: 0.2310
Epoch 1389/2000
 - 5s - loss: 0.2227 - mean_squared_error: 0.2227
Epoch 1390/2000
 - 5s - loss: 0.2297 - mean_squared_error: 0.2297
Epoch 1391/2000
 - 5s - loss: 0.2257 - mean_squared_error: 0.2257
Epoch 1392/2000
 - 5s - loss: 0.2204 - mean_squared_error: 0.2204
Epoch 1393/2000
 - 5s - loss: 0.2309 - mean_squared_error: 0.2309
Epoch 1394/2000
 - 5s - loss: 0.2631 - mean_squared_error: 0.2631
Epoch 1395/2000
 - 5s - loss: 0.2478 - mean_squared_error: 0.2478
Epoch 1396/2000
 - 5s - loss: 0.2238 - mean_squared_error: 0.2238
Epoch 1397/2000
 - 5s - loss: 0.2291 - mean_squared_error: 0.2291
Epoch 1398/2000
 - 5s - loss: 0.2370 - mean_squared_error: 0.2370
Epoch 1399/2000
 - 5s - loss: 0.2345 - mean_squared_error: 0.2345
Epoch 1400/2000
 - 5s - loss: 0.2242 - mean_squared_error: 0.2242
Epoch 1401/2000
 - 5s - loss: 0.2267 - mean_squared_error: 0.2267
Epoch 1402/2000
 - 5s - loss: 0.2206 - mean_squared_error: 0.2206
Epoch 1403/2000
 - 5s - loss: 0.2181 - mean_squared_error: 0.2181
Epoch 1404/2000
 - 5s - loss: 0.2207 - mean_squared_error: 0.2207
Epoch 1405/2000
 - 5s - loss: 0.2214 - mean_squared_error: 0.2214
Epoch 1406/2000
 - 5s - loss: 0.2229 - mean_squared_error: 0.2229
Epoch 1407/2000
 - 5s - loss: 0.2280 - mean_squared_error: 0.2280
Epoch 1408/2000
 - 5s - loss: 0.2103 - mean_squared_error: 0.2103
Epoch 1409/2000
 - 5s - loss: 0.2183 - mean_squared_error: 0.2183
Epoch 1410/2000
 - 5s - loss: 0.2262 - mean_squared_error: 0.2262
Epoch 1411/2000
 - 5s - loss: 0.2252 - mean_squared_error: 0.2252
Epoch 1412/2000
 - 5s - loss: 0.2171 - mean_squared_error: 0.2171
Epoch 1413/2000
 - 5s - loss: 0.2246 - mean_squared_error: 0.2246
Epoch 1414/2000
 - 5s - loss: 0.2219 - mean_squared_error: 0.2219
Epoch 1415/2000
 - 5s - loss: 0.2030 - mean_squared_error: 0.2030
Epoch 1416/2000
 - 5s - loss: 0.2174 - mean_squared_error: 0.2174
Epoch 1417/2000
 - 5s - loss: 0.2273 - mean_squared_error: 0.2273
Epoch 1418/2000
 - 5s - loss: 0.2204 - mean_squared_error: 0.2204
Epoch 1419/2000
 - 5s - loss: 0.2163 - mean_squared_error: 0.2163
Epoch 1420/2000
 - 5s - loss: 0.2269 - mean_squared_error: 0.2269
Epoch 1421/2000
 - 5s - loss: 0.2184 - mean_squared_error: 0.2184
Epoch 1422/2000
 - 5s - loss: 0.2228 - mean_squared_error: 0.2228
Epoch 1423/2000
 - 5s - loss: 0.2145 - mean_squared_error: 0.2145
Epoch 1424/2000
 - 5s - loss: 0.2107 - mean_squared_error: 0.2107
Epoch 1425/2000
 - 5s - loss: 0.2221 - mean_squared_error: 0.2221
Epoch 1426/2000
 - 5s - loss: 0.2148 - mean_squared_error: 0.2148
Epoch 1427/2000
 - 5s - loss: 0.2298 - mean_squared_error: 0.2298
Epoch 1428/2000
 - 5s - loss: 0.2226 - mean_squared_error: 0.2226
Epoch 1429/2000
 - 5s - loss: 0.2198 - mean_squared_error: 0.2198
Epoch 1430/2000
 - 5s - loss: 0.2290 - mean_squared_error: 0.2290
Epoch 1431/2000
 - 5s - loss: 0.2134 - mean_squared_error: 0.2134
Epoch 1432/2000
 - 5s - loss: 0.2155 - mean_squared_error: 0.2155
Epoch 1433/2000
 - 5s - loss: 0.2212 - mean_squared_error: 0.2212
Epoch 1434/2000
 - 5s - loss: 0.2266 - mean_squared_error: 0.2266
Epoch 1435/2000
 - 5s - loss: 0.2260 - mean_squared_error: 0.2260
Epoch 1436/2000
 - 5s - loss: 0.2168 - mean_squared_error: 0.2168
Epoch 1437/2000
 - 5s - loss: 0.2247 - mean_squared_error: 0.2247
Epoch 1438/2000
 - 5s - loss: 0.2146 - mean_squared_error: 0.2146
Epoch 1439/2000
 - 5s - loss: 0.2240 - mean_squared_error: 0.2240
Epoch 1440/2000
 - 5s - loss: 0.2118 - mean_squared_error: 0.2118
Epoch 1441/2000
 - 5s - loss: 0.2187 - mean_squared_error: 0.2187
Epoch 1442/2000
 - 5s - loss: 0.2154 - mean_squared_error: 0.2154
Epoch 1443/2000
 - 5s - loss: 0.2248 - mean_squared_error: 0.2248
Epoch 1444/2000
 - 5s - loss: 0.2199 - mean_squared_error: 0.2199
Epoch 1445/2000
 - 5s - loss: 0.2118 - mean_squared_error: 0.2118
Epoch 1446/2000
 - 5s - loss: 0.2221 - mean_squared_error: 0.2221
Epoch 1447/2000
 - 5s - loss: 0.2078 - mean_squared_error: 0.2078
Epoch 1448/2000
 - 5s - loss: 0.2160 - mean_squared_error: 0.2160
Epoch 1449/2000
 - 5s - loss: 0.2145 - mean_squared_error: 0.2145
Epoch 1450/2000
 - 5s - loss: 0.2138 - mean_squared_error: 0.2138
Epoch 1451/2000
 - 5s - loss: 0.2078 - mean_squared_error: 0.2078
Epoch 1452/2000
 - 5s - loss: 0.2200 - mean_squared_error: 0.2200
Epoch 1453/2000
 - 5s - loss: 0.2252 - mean_squared_error: 0.2252
Epoch 1454/2000
 - 5s - loss: 0.2228 - mean_squared_error: 0.2228
Epoch 1455/2000
 - 5s - loss: 0.2253 - mean_squared_error: 0.2253
Epoch 1456/2000
 - 5s - loss: 0.2198 - mean_squared_error: 0.2198
Epoch 1457/2000
 - 5s - loss: 0.2189 - mean_squared_error: 0.2189
Epoch 1458/2000
 - 5s - loss: 0.2107 - mean_squared_error: 0.2107
Epoch 1459/2000
 - 5s - loss: 0.2106 - mean_squared_error: 0.2106
Epoch 1460/2000
 - 5s - loss: 0.2159 - mean_squared_error: 0.2159
Epoch 1461/2000
 - 5s - loss: 0.2250 - mean_squared_error: 0.2250
Epoch 1462/2000
 - 5s - loss: 0.2230 - mean_squared_error: 0.2230
Epoch 1463/2000
 - 5s - loss: 0.2190 - mean_squared_error: 0.2190
Epoch 1464/2000
 - 5s - loss: 0.2150 - mean_squared_error: 0.2150
Epoch 1465/2000
 - 5s - loss: 0.2312 - mean_squared_error: 0.2312
Epoch 1466/2000
 - 5s - loss: 0.2194 - mean_squared_error: 0.2194
Epoch 1467/2000
 - 5s - loss: 0.2048 - mean_squared_error: 0.2048
Epoch 1468/2000
 - 5s - loss: 0.2261 - mean_squared_error: 0.2261
Epoch 1469/2000
 - 5s - loss: 0.2263 - mean_squared_error: 0.2263
Epoch 1470/2000
 - 5s - loss: 0.2217 - mean_squared_error: 0.2217
Epoch 1471/2000
 - 5s - loss: 0.2017 - mean_squared_error: 0.2017
Epoch 1472/2000
 - 5s - loss: 0.2293 - mean_squared_error: 0.2293
Epoch 1473/2000
 - 5s - loss: 0.2136 - mean_squared_error: 0.2136
Epoch 1474/2000
 - 5s - loss: 0.2177 - mean_squared_error: 0.2177
Epoch 1475/2000
 - 5s - loss: 0.2202 - mean_squared_error: 0.2202
Epoch 1476/2000
 - 5s - loss: 0.2082 - mean_squared_error: 0.2082
Epoch 1477/2000
 - 5s - loss: 0.2187 - mean_squared_error: 0.2187
Epoch 1478/2000
 - 5s - loss: 0.2111 - mean_squared_error: 0.2111
Epoch 1479/2000
 - 5s - loss: 0.2113 - mean_squared_error: 0.2113
Epoch 1480/2000
 - 5s - loss: 0.2085 - mean_squared_error: 0.2085
Epoch 1481/2000
 - 5s - loss: 0.2167 - mean_squared_error: 0.2167
Epoch 1482/2000
 - 5s - loss: 0.2137 - mean_squared_error: 0.2137
Epoch 1483/2000
 - 5s - loss: 0.2076 - mean_squared_error: 0.2076
Epoch 1484/2000
 - 5s - loss: 0.2129 - mean_squared_error: 0.2129
Epoch 1485/2000
 - 5s - loss: 0.2225 - mean_squared_error: 0.2225
Epoch 1486/2000
 - 5s - loss: 0.2238 - mean_squared_error: 0.2238
Epoch 1487/2000
 - 5s - loss: 0.2144 - mean_squared_error: 0.2144
Epoch 1488/2000
 - 5s - loss: 0.2155 - mean_squared_error: 0.2155
Epoch 1489/2000
 - 5s - loss: 0.2107 - mean_squared_error: 0.2107
Epoch 1490/2000
 - 5s - loss: 0.2208 - mean_squared_error: 0.2208
Epoch 1491/2000
 - 5s - loss: 0.2194 - mean_squared_error: 0.2194
Epoch 1492/2000
 - 5s - loss: 0.2207 - mean_squared_error: 0.2207
Epoch 1493/2000
 - 5s - loss: 0.2166 - mean_squared_error: 0.2166
Epoch 1494/2000
 - 5s - loss: 0.2338 - mean_squared_error: 0.2338
Epoch 1495/2000
 - 5s - loss: 0.2345 - mean_squared_error: 0.2345
Epoch 1496/2000
 - 5s - loss: 0.2294 - mean_squared_error: 0.2294
Epoch 1497/2000
 - 5s - loss: 0.2166 - mean_squared_error: 0.2166
Epoch 1498/2000
 - 5s - loss: 0.2145 - mean_squared_error: 0.2145
Epoch 1499/2000
 - 5s - loss: 0.2148 - mean_squared_error: 0.2148
Epoch 1500/2000
 - 5s - loss: 0.2156 - mean_squared_error: 0.2156
Epoch 1501/2000
 - 5s - loss: 0.2075 - mean_squared_error: 0.2075
Epoch 1502/2000
 - 5s - loss: 0.2113 - mean_squared_error: 0.2113
Epoch 1503/2000
 - 5s - loss: 0.2110 - mean_squared_error: 0.2110
Epoch 1504/2000
 - 5s - loss: 0.2170 - mean_squared_error: 0.2170
Epoch 1505/2000
 - 5s - loss: 0.2229 - mean_squared_error: 0.2229
Epoch 1506/2000
 - 5s - loss: 0.2301 - mean_squared_error: 0.2301
Epoch 1507/2000
 - 5s - loss: 0.2166 - mean_squared_error: 0.2166
Epoch 1508/2000
 - 5s - loss: 0.2085 - mean_squared_error: 0.2085
Epoch 1509/2000
 - 5s - loss: 0.2140 - mean_squared_error: 0.2140
Epoch 1510/2000
 - 5s - loss: 0.2241 - mean_squared_error: 0.2241
Epoch 1511/2000
 - 5s - loss: 0.2228 - mean_squared_error: 0.2228
Epoch 1512/2000
 - 5s - loss: 0.1990 - mean_squared_error: 0.1990
Epoch 1513/2000
 - 5s - loss: 0.2158 - mean_squared_error: 0.2158
Epoch 1514/2000
 - 5s - loss: 0.2235 - mean_squared_error: 0.2235
Epoch 1515/2000
 - 5s - loss: 0.2139 - mean_squared_error: 0.2139
Epoch 1516/2000
 - 5s - loss: 0.2064 - mean_squared_error: 0.2064
Epoch 1517/2000
 - 5s - loss: 0.2249 - mean_squared_error: 0.2249
Epoch 1518/2000
 - 5s - loss: 0.2261 - mean_squared_error: 0.2261
Epoch 1519/2000
 - 5s - loss: 0.2191 - mean_squared_error: 0.2191
Epoch 1520/2000
 - 5s - loss: 0.2018 - mean_squared_error: 0.2018
Epoch 1521/2000
 - 5s - loss: 0.2106 - mean_squared_error: 0.2106
Epoch 1522/2000
 - 5s - loss: 0.2121 - mean_squared_error: 0.2121
Epoch 1523/2000
 - 5s - loss: 0.2156 - mean_squared_error: 0.2156
Epoch 1524/2000
 - 5s - loss: 0.2064 - mean_squared_error: 0.2064
Epoch 1525/2000
 - 5s - loss: 0.2132 - mean_squared_error: 0.2132
Epoch 1526/2000
 - 5s - loss: 0.2072 - mean_squared_error: 0.2072
Epoch 1527/2000
 - 5s - loss: 0.2136 - mean_squared_error: 0.2136
Epoch 1528/2000
 - 5s - loss: 0.2103 - mean_squared_error: 0.2103
Epoch 1529/2000
 - 5s - loss: 0.2122 - mean_squared_error: 0.2122
Epoch 1530/2000
 - 5s - loss: 0.2202 - mean_squared_error: 0.2202
Epoch 1531/2000
 - 5s - loss: 0.2128 - mean_squared_error: 0.2128
Epoch 1532/2000
 - 5s - loss: 0.2078 - mean_squared_error: 0.2078
Epoch 1533/2000
 - 5s - loss: 0.2059 - mean_squared_error: 0.2059
Epoch 1534/2000
 - 5s - loss: 0.2075 - mean_squared_error: 0.2075
Epoch 1535/2000
 - 5s - loss: 0.2122 - mean_squared_error: 0.2122
Epoch 1536/2000
 - 5s - loss: 0.2075 - mean_squared_error: 0.2075
Epoch 1537/2000
 - 5s - loss: 0.2040 - mean_squared_error: 0.2040
Epoch 1538/2000
 - 5s - loss: 0.2122 - mean_squared_error: 0.2122
Epoch 1539/2000
 - 5s - loss: 0.2148 - mean_squared_error: 0.2148
Epoch 1540/2000
 - 5s - loss: 0.2126 - mean_squared_error: 0.2126
Epoch 1541/2000
 - 5s - loss: 0.2229 - mean_squared_error: 0.2229
Epoch 1542/2000
 - 5s - loss: 0.2172 - mean_squared_error: 0.2172
Epoch 1543/2000
 - 5s - loss: 0.2109 - mean_squared_error: 0.2109
Epoch 1544/2000
 - 5s - loss: 0.2224 - mean_squared_error: 0.2224
Epoch 1545/2000
 - 5s - loss: 0.2165 - mean_squared_error: 0.2165
Epoch 1546/2000
 - 5s - loss: 0.2078 - mean_squared_error: 0.2078
Epoch 1547/2000
 - 5s - loss: 0.2193 - mean_squared_error: 0.2193
Epoch 1548/2000
 - 5s - loss: 0.2036 - mean_squared_error: 0.2036
Epoch 1549/2000
 - 5s - loss: 0.2134 - mean_squared_error: 0.2134
Epoch 1550/2000
 - 5s - loss: 0.2086 - mean_squared_error: 0.2086
Epoch 1551/2000
 - 5s - loss: 0.2239 - mean_squared_error: 0.2239
Epoch 1552/2000
 - 5s - loss: 0.2091 - mean_squared_error: 0.2091
Epoch 1553/2000
 - 5s - loss: 0.2119 - mean_squared_error: 0.2119
Epoch 1554/2000
 - 5s - loss: 0.2128 - mean_squared_error: 0.2128
Epoch 1555/2000
 - 5s - loss: 0.2152 - mean_squared_error: 0.2152
Epoch 1556/2000
 - 5s - loss: 0.2078 - mean_squared_error: 0.2078
Epoch 1557/2000
 - 5s - loss: 0.2058 - mean_squared_error: 0.2058
Epoch 1558/2000
 - 5s - loss: 0.2115 - mean_squared_error: 0.2115
Epoch 1559/2000
 - 5s - loss: 0.2077 - mean_squared_error: 0.2077
Epoch 1560/2000
 - 5s - loss: 0.2121 - mean_squared_error: 0.2121
Epoch 1561/2000
 - 5s - loss: 0.2119 - mean_squared_error: 0.2119
Epoch 1562/2000
 - 5s - loss: 0.2018 - mean_squared_error: 0.2018
Epoch 1563/2000
 - 5s - loss: 0.2137 - mean_squared_error: 0.2137
Epoch 1564/2000
 - 5s - loss: 0.2235 - mean_squared_error: 0.2235
Epoch 1565/2000
 - 5s - loss: 0.2122 - mean_squared_error: 0.2122
Epoch 1566/2000
 - 5s - loss: 0.2110 - mean_squared_error: 0.2110
Epoch 1567/2000
 - 5s - loss: 0.2050 - mean_squared_error: 0.2050
Epoch 1568/2000
 - 5s - loss: 0.2144 - mean_squared_error: 0.2144
Epoch 1569/2000
 - 5s - loss: 0.2053 - mean_squared_error: 0.2053
Epoch 1570/2000
 - 5s - loss: 0.2121 - mean_squared_error: 0.2121
Epoch 1571/2000
 - 5s - loss: 0.2178 - mean_squared_error: 0.2178
Epoch 1572/2000
 - 5s - loss: 0.2106 - mean_squared_error: 0.2106
Epoch 1573/2000
 - 5s - loss: 0.2119 - mean_squared_error: 0.2119
Epoch 1574/2000
 - 5s - loss: 0.2182 - mean_squared_error: 0.2182
Epoch 1575/2000
 - 5s - loss: 0.2075 - mean_squared_error: 0.2075
Epoch 1576/2000
 - 5s - loss: 0.2119 - mean_squared_error: 0.2119
Epoch 1577/2000
 - 5s - loss: 0.2055 - mean_squared_error: 0.2055
Epoch 1578/2000
 - 5s - loss: 0.2032 - mean_squared_error: 0.2032
Epoch 1579/2000
 - 5s - loss: 0.2098 - mean_squared_error: 0.2098
Epoch 1580/2000
 - 5s - loss: 0.2079 - mean_squared_error: 0.2079
Epoch 1581/2000
 - 5s - loss: 0.2200 - mean_squared_error: 0.2200
Epoch 1582/2000
 - 5s - loss: 0.1975 - mean_squared_error: 0.1975
Epoch 1583/2000
 - 5s - loss: 0.2046 - mean_squared_error: 0.2046
Epoch 1584/2000
 - 5s - loss: 0.2103 - mean_squared_error: 0.2103
Epoch 1585/2000
 - 5s - loss: 0.2103 - mean_squared_error: 0.2103
Epoch 1586/2000
 - 5s - loss: 0.2108 - mean_squared_error: 0.2108
Epoch 1587/2000
 - 5s - loss: 0.2039 - mean_squared_error: 0.2039
Epoch 1588/2000
 - 5s - loss: 0.2049 - mean_squared_error: 0.2049
Epoch 1589/2000
 - 5s - loss: 0.1961 - mean_squared_error: 0.1961
Epoch 1590/2000
 - 5s - loss: 0.2177 - mean_squared_error: 0.2177
Epoch 1591/2000
 - 5s - loss: 0.2034 - mean_squared_error: 0.2034
Epoch 1592/2000
 - 5s - loss: 0.2090 - mean_squared_error: 0.2090
Epoch 1593/2000
 - 5s - loss: 0.2066 - mean_squared_error: 0.2066
Epoch 1594/2000
 - 5s - loss: 0.2074 - mean_squared_error: 0.2074
Epoch 1595/2000
 - 5s - loss: 0.2006 - mean_squared_error: 0.2006
Epoch 1596/2000
 - 5s - loss: 0.2178 - mean_squared_error: 0.2178
Epoch 1597/2000
 - 5s - loss: 0.2143 - mean_squared_error: 0.2143
Epoch 1598/2000
 - 5s - loss: 0.2081 - mean_squared_error: 0.2081
Epoch 1599/2000
 - 5s - loss: 0.2067 - mean_squared_error: 0.2067
Epoch 1600/2000
 - 5s - loss: 0.2099 - mean_squared_error: 0.2099
Epoch 1601/2000
 - 5s - loss: 0.2028 - mean_squared_error: 0.2028
Epoch 1602/2000
 - 5s - loss: 0.2105 - mean_squared_error: 0.2105
Epoch 1603/2000
 - 5s - loss: 0.2048 - mean_squared_error: 0.2048
Epoch 1604/2000
 - 5s - loss: 0.2038 - mean_squared_error: 0.2038
Epoch 1605/2000
 - 5s - loss: 0.2178 - mean_squared_error: 0.2178
Epoch 1606/2000
 - 5s - loss: 0.2018 - mean_squared_error: 0.2018
Epoch 1607/2000
 - 5s - loss: 0.2049 - mean_squared_error: 0.2049
Epoch 1608/2000
 - 5s - loss: 0.2071 - mean_squared_error: 0.2071
Epoch 1609/2000
 - 5s - loss: 0.2010 - mean_squared_error: 0.2010
Epoch 1610/2000
 - 5s - loss: 0.2062 - mean_squared_error: 0.2062
Epoch 1611/2000
 - 5s - loss: 0.2212 - mean_squared_error: 0.2212
Epoch 1612/2000
 - 5s - loss: 0.2129 - mean_squared_error: 0.2129
Epoch 1613/2000
 - 5s - loss: 0.2114 - mean_squared_error: 0.2114
Epoch 1614/2000
 - 5s - loss: 0.2093 - mean_squared_error: 0.2093
Epoch 1615/2000
 - 5s - loss: 0.2073 - mean_squared_error: 0.2073
Epoch 1616/2000
 - 5s - loss: 0.2152 - mean_squared_error: 0.2152
Epoch 1617/2000
 - 5s - loss: 0.2046 - mean_squared_error: 0.2046
Epoch 1618/2000
 - 5s - loss: 0.2067 - mean_squared_error: 0.2067
Epoch 1619/2000
 - 5s - loss: 0.2105 - mean_squared_error: 0.2105
Epoch 1620/2000
 - 5s - loss: 0.1990 - mean_squared_error: 0.1990
Epoch 1621/2000
 - 5s - loss: 0.2031 - mean_squared_error: 0.2031
Epoch 1622/2000
 - 5s - loss: 0.2179 - mean_squared_error: 0.2179
Epoch 1623/2000
 - 5s - loss: 0.2181 - mean_squared_error: 0.2181
Epoch 1624/2000
 - 5s - loss: 0.2214 - mean_squared_error: 0.2214
Epoch 1625/2000
 - 5s - loss: 0.2126 - mean_squared_error: 0.2126
Epoch 1626/2000
 - 5s - loss: 0.2142 - mean_squared_error: 0.2142
Epoch 1627/2000
 - 5s - loss: 0.2063 - mean_squared_error: 0.2063
Epoch 1628/2000
 - 5s - loss: 0.1986 - mean_squared_error: 0.1986
Epoch 1629/2000
 - 5s - loss: 0.2177 - mean_squared_error: 0.2177
Epoch 1630/2000
 - 5s - loss: 0.2095 - mean_squared_error: 0.2095
Epoch 1631/2000
 - 5s - loss: 0.2039 - mean_squared_error: 0.2039
Epoch 1632/2000
 - 5s - loss: 0.2028 - mean_squared_error: 0.2028
Epoch 1633/2000
 - 5s - loss: 0.2112 - mean_squared_error: 0.2112
Epoch 1634/2000
 - 5s - loss: 0.1964 - mean_squared_error: 0.1964
Epoch 1635/2000
 - 5s - loss: 0.2040 - mean_squared_error: 0.2040
Epoch 1636/2000
 - 5s - loss: 0.1994 - mean_squared_error: 0.1994
Epoch 1637/2000
 - 5s - loss: 0.2084 - mean_squared_error: 0.2084
Epoch 1638/2000
 - 5s - loss: 0.2064 - mean_squared_error: 0.2064
Epoch 1639/2000
 - 5s - loss: 0.2043 - mean_squared_error: 0.2043
Epoch 1640/2000
 - 5s - loss: 0.2049 - mean_squared_error: 0.2049
Epoch 1641/2000
 - 5s - loss: 0.2229 - mean_squared_error: 0.2229
Epoch 1642/2000
 - 5s - loss: 0.2075 - mean_squared_error: 0.2075
Epoch 1643/2000
 - 5s - loss: 0.2024 - mean_squared_error: 0.2024
Epoch 1644/2000
 - 5s - loss: 0.2206 - mean_squared_error: 0.2206
Epoch 1645/2000
 - 5s - loss: 0.2109 - mean_squared_error: 0.2109
Epoch 1646/2000
 - 5s - loss: 0.2044 - mean_squared_error: 0.2044
Epoch 1647/2000
 - 5s - loss: 0.2068 - mean_squared_error: 0.2068
Epoch 1648/2000
 - 5s - loss: 0.2147 - mean_squared_error: 0.2147
Epoch 1649/2000
 - 5s - loss: 0.2073 - mean_squared_error: 0.2073
Epoch 1650/2000
 - 5s - loss: 0.2104 - mean_squared_error: 0.2104
Epoch 1651/2000
 - 5s - loss: 0.2036 - mean_squared_error: 0.2036
Epoch 1652/2000
 - 5s - loss: 0.2129 - mean_squared_error: 0.2129
Epoch 1653/2000
 - 5s - loss: 0.2040 - mean_squared_error: 0.2040
Epoch 1654/2000
 - 5s - loss: 0.2133 - mean_squared_error: 0.2133
Epoch 1655/2000
 - 5s - loss: 0.2128 - mean_squared_error: 0.2128
Epoch 1656/2000
 - 5s - loss: 0.2071 - mean_squared_error: 0.2071
Epoch 1657/2000
 - 5s - loss: 0.1956 - mean_squared_error: 0.1956
Epoch 1658/2000
 - 5s - loss: 0.1984 - mean_squared_error: 0.1984
Epoch 1659/2000
 - 5s - loss: 0.2131 - mean_squared_error: 0.2131
Epoch 1660/2000
 - 5s - loss: 0.2144 - mean_squared_error: 0.2144
Epoch 1661/2000
 - 5s - loss: 0.2029 - mean_squared_error: 0.2029
Epoch 1662/2000
 - 5s - loss: 0.2049 - mean_squared_error: 0.2049
Epoch 1663/2000
 - 5s - loss: 0.2177 - mean_squared_error: 0.2177
Epoch 1664/2000
 - 5s - loss: 0.1992 - mean_squared_error: 0.1992
Epoch 1665/2000
 - 5s - loss: 0.2143 - mean_squared_error: 0.2143
Epoch 1666/2000
 - 5s - loss: 0.2021 - mean_squared_error: 0.2021
Epoch 1667/2000
 - 5s - loss: 0.2149 - mean_squared_error: 0.2149
Epoch 1668/2000
 - 5s - loss: 0.2086 - mean_squared_error: 0.2086
Epoch 1669/2000
 - 5s - loss: 0.2054 - mean_squared_error: 0.2054
Epoch 1670/2000
 - 5s - loss: 0.2057 - mean_squared_error: 0.2057
Epoch 1671/2000
 - 5s - loss: 0.2090 - mean_squared_error: 0.2090
Epoch 1672/2000
 - 5s - loss: 0.1998 - mean_squared_error: 0.1998
Epoch 1673/2000
 - 5s - loss: 0.2034 - mean_squared_error: 0.2034
Epoch 1674/2000
 - 5s - loss: 0.2106 - mean_squared_error: 0.2106
Epoch 1675/2000
 - 5s - loss: 0.2026 - mean_squared_error: 0.2026
Epoch 1676/2000
 - 5s - loss: 0.2050 - mean_squared_error: 0.2050
Epoch 1677/2000
 - 5s - loss: 0.2100 - mean_squared_error: 0.2100
Epoch 1678/2000
 - 5s - loss: 0.2134 - mean_squared_error: 0.2134
Epoch 1679/2000
 - 5s - loss: 0.2239 - mean_squared_error: 0.2239
Epoch 1680/2000
 - 5s - loss: 0.2138 - mean_squared_error: 0.2138
Epoch 1681/2000
 - 5s - loss: 0.2137 - mean_squared_error: 0.2137
Epoch 1682/2000
 - 5s - loss: 0.2120 - mean_squared_error: 0.2120
Epoch 1683/2000
 - 5s - loss: 0.1980 - mean_squared_error: 0.1980
Epoch 1684/2000
 - 5s - loss: 0.1975 - mean_squared_error: 0.1975
Epoch 1685/2000
 - 5s - loss: 0.1993 - mean_squared_error: 0.1993
Epoch 1686/2000
 - 5s - loss: 0.2121 - mean_squared_error: 0.2121
Epoch 1687/2000
 - 5s - loss: 0.2159 - mean_squared_error: 0.2159
Epoch 1688/2000
 - 5s - loss: 0.2051 - mean_squared_error: 0.2051
Epoch 1689/2000
 - 5s - loss: 0.2021 - mean_squared_error: 0.2021
Epoch 1690/2000
 - 5s - loss: 0.2088 - mean_squared_error: 0.2088
Epoch 1691/2000
 - 5s - loss: 0.2015 - mean_squared_error: 0.2015
Epoch 1692/2000
 - 5s - loss: 0.2041 - mean_squared_error: 0.2041
Epoch 1693/2000
 - 5s - loss: 0.2110 - mean_squared_error: 0.2110
Epoch 1694/2000
 - 5s - loss: 0.1953 - mean_squared_error: 0.1953
Epoch 1695/2000
 - 5s - loss: 0.2063 - mean_squared_error: 0.2063
Epoch 1696/2000
 - 5s - loss: 0.1993 - mean_squared_error: 0.1993
Epoch 1697/2000
 - 5s - loss: 0.2091 - mean_squared_error: 0.2091
Epoch 1698/2000
 - 5s - loss: 0.2138 - mean_squared_error: 0.2138
Epoch 1699/2000
 - 5s - loss: 0.2048 - mean_squared_error: 0.2048
Epoch 1700/2000
 - 5s - loss: 0.1996 - mean_squared_error: 0.1996
Epoch 1701/2000
 - 5s - loss: 0.2071 - mean_squared_error: 0.2071
Epoch 1702/2000
 - 5s - loss: 0.2027 - mean_squared_error: 0.2027
Epoch 1703/2000
 - 5s - loss: 0.2026 - mean_squared_error: 0.2026
Epoch 1704/2000
 - 5s - loss: 0.2033 - mean_squared_error: 0.2033
Epoch 1705/2000
 - 5s - loss: 0.2036 - mean_squared_error: 0.2036
Epoch 1706/2000
 - 5s - loss: 0.2137 - mean_squared_error: 0.2137
Epoch 1707/2000
 - 5s - loss: 0.2116 - mean_squared_error: 0.2116
Epoch 1708/2000
 - 5s - loss: 0.2108 - mean_squared_error: 0.2108
Epoch 1709/2000
 - 5s - loss: 0.2037 - mean_squared_error: 0.2037
Epoch 1710/2000
 - 5s - loss: 0.2098 - mean_squared_error: 0.2098
Epoch 1711/2000
 - 5s - loss: 0.2055 - mean_squared_error: 0.2055
Epoch 1712/2000
 - 5s - loss: 0.2104 - mean_squared_error: 0.2104
Epoch 1713/2000
 - 5s - loss: 0.1980 - mean_squared_error: 0.1980
Epoch 1714/2000
 - 5s - loss: 0.2022 - mean_squared_error: 0.2022
Epoch 1715/2000
 - 5s - loss: 0.1961 - mean_squared_error: 0.1961
Epoch 1716/2000
IOPub message rate exceeded.
The notebook server will temporarily stop sending output
to the client in order to avoid crashing it.
To change this limit, set the config variable
`--NotebookApp.iopub_msg_rate_limit`.

Current values:
NotebookApp.iopub_msg_rate_limit=1000.0 (msgs/sec)
NotebookApp.rate_limit_window=3.0 (secs)

In [164]:
prediction = model.predict(x_test)
prediction=prediction.reshape(-1)
#prediction[:5]
#y_test[:5]

import matplotlib.pyplot as plt2
prediction=model.predict(x_test)
plt2.plot(prediction,color='red', label='prediction',linewidth=3,zorder=2)
plt2.plot(y_test,color='blue', label='y_test',zorder=1)
plt2.legend(loc='upper left')
plt2.show()

prediction.reshape(-1)
df_test=pd.DataFrame(df2['fivedays_return'].iloc[train_set_size:train_set_size+test_set_size])
df_test['prediction']=prediction
df_test.dropna(inplace=True)

import matplotlib.pyplot as plt
df_test.plot()
plt.show()
trade_signal=[]

for row in df_test['prediction']:
    if row<-0.08:       
        trade_signal.append(-1)
    elif row>0:
        trade_signal.append(1)
    else:
        trade_signal.append(0)
            
df_test['trade_signal']=trade_signal

df_test
Out[164]:
fivedays_return prediction trade_signal
date
2016-02-25 -0.117647 -0.752833 -1
2016-02-26 0.034014 -0.474067 -1
2016-02-29 0.607144 -0.278120 -1
2016-03-01 0.517857 0.464071 1
2016-03-02 0.034188 0.730078 1
2016-03-03 -0.240550 0.571940 1
2016-03-04 -0.440678 0.050304 1
2016-03-07 -0.152543 -0.046305 0
2016-03-08 0.103806 -0.031802 0
2016-03-09 0.207254 -0.174802 -1
2016-03-10 0.602837 0.057704 1
2016-03-11 0.523560 -0.059986 0
2016-03-14 0.671256 0.035626 1
2016-03-15 0.497427 0.026806 1
2016-03-16 0.373514 -0.004988 0
2016-03-17 0.050000 -0.123482 -1
2016-03-18 0.049342 -0.053279 0
2016-03-21 -0.097245 -0.029458 0
2016-03-22 -0.164744 0.022855 1
2016-03-23 -0.065041 0.309910 1
2016-03-24 0.133333 0.490781 1
2016-03-25 -0.112721 0.482895 1
2016-03-28 0.366057 0.726330 1
2016-03-29 0.215946 0.826904 1
2016-03-30 -0.048940 0.888896 1
2016-03-31 0.000000 0.517099 1
2016-04-01 -0.129870 0.223805 1
2016-04-05 -0.290792 0.160359 1
2016-04-06 -0.097561 0.148714 1
2016-04-07 0.264026 0.113834 1
... ... ... ...
2018-10-11 -0.654396 0.329912 1
2018-10-12 -0.471311 0.238628 1
2018-10-15 0.207900 0.193433 1
2018-10-16 -0.082816 0.131299 1
2018-10-17 0.231093 0.229420 1
2018-10-18 0.731708 0.076599 1
2018-10-19 0.364807 -0.064426 0
2018-10-22 -0.061100 -0.094130 -1
2018-10-23 0.041152 -0.653145 -1
2018-10-24 0.660981 -0.534180 -1
2018-10-25 0.494845 -0.518564 -1
2018-10-26 1.479167 -0.286618 -1
2018-10-29 1.175258 -0.069145 0
2018-10-30 0.961145 -0.002256 0
2018-10-31 0.694444 0.107115 1
2018-11-01 -0.415163 0.114200 1
2018-11-02 -0.455374 -0.025466 0
2018-11-05 -0.257827 -0.361553 -1
2018-11-06 0.037243 -0.337116 -1
2018-11-07 0.018349 -0.192553 -1
2018-11-08 0.472590 -0.055736 0
2018-11-09 0.516253 0.119280 1
2018-11-12 0.536399 0.234209 1
2018-11-13 -0.704225 0.184513 1
2018-11-14 -0.165746 -0.205399 -1
2018-11-15 -0.180506 -0.030947 0
2018-11-16 -0.470163 0.480194 1
2018-11-19 -0.184502 0.421098 1
2018-11-20 -0.279330 0.310484 1
2018-11-21 -0.206767 -0.116354 -1

671 rows × 3 columns

In [165]:
def initialize(context):
    # 系统已经设置了默认的交易手续费和滑点,要修改手续费可使用如下函数
    context.set_commission(PerOrder(buy_cost=0.0003, sell_cost=0.0013, min_cost=5))
    # 传入预测数据和真实数据
    #cnt=0
In [166]:
def handle_data(context, data):
    current_dt = current_dt = data.current_dt.strftime('%Y-%m-%d')
    sid = context.symbol('600115.SHA')
    cur_position = context.portfolio.positions[sid].amount    # 持仓
    if cur_position==0:
        if df_test['trade_signal'].values[df_test.index==current_dt]==0:
            context.order_target_percent(sid, 0.7)
        elif df_test['trade_signal'].values[df_test.index==current_dt]==1:
            context.order_target_percent(sid, 1.0)
            #context.date=current_dt
            
    else:
        if df_test['trade_signal'].values[df_test.index==current_dt]==-1:
            context.order_target(sid, 0)
    
In [167]:
m=M.trade.v3(
    instruments='600115.SHA',
    start_date='2016-01-01',
    end_date='2018-11-09',
    initialize=initialize,
    handle_data=handle_data,
    order_price_field_buy='open',       # 表示 开盘 时买入
    order_price_field_sell='close',     # 表示 收盘 前卖出
    capital_base=100000, 
    benchmark='600115.SHA', 
    m_cached=False
)    
[2018-11-29 07:14:52.895852] INFO: bigquant: backtest.v7 开始运行..
[2018-11-29 07:14:52.914978] INFO: bigquant: biglearning backtest:V7.1.4
[2018-11-29 07:14:54.001552] INFO: algo: TradingAlgorithm V1.3.5
[2018-11-29 07:14:54.475873] INFO: algo: trading transform...
[2018-11-29 07:14:56.354358] INFO: Performance: Simulated 696 trading days out of 696.
[2018-11-29 07:14:56.355483] INFO: Performance: first open: 2016-01-04 09:30:00+00:00
[2018-11-29 07:14:56.356392] INFO: Performance: last close: 2018-11-09 15:00:00+00:00
  • 收益率10.84%
  • 年化收益率3.8%
  • 基准收益率-29.51%
  • 阿尔法0.09
  • 贝塔0.55
  • 夏普比率0.15
  • 胜率0.52
  • 盈亏比1.08
  • 收益波动率24.49%
  • 信息比率0.04
  • 最大回撤37.28%
[2018-11-29 07:15:08.288934] INFO: bigquant: backtest.v7 运行完成[15.400867s].
In [ ]:
 
In [ ]: