# Update tensorflow model with new data

I have trained the time series prediction model using old data, and as time goes by, I get more data and want to update my model with it. But it seems like my model perform worse as I update the model.

Here is what I did. First I trained with the existing data.

model = build()
model.fit(X_old, y_old, validation_data = (X_old_val, y_old_val), epochs=100, batch_size=32, verbose=0, callback = earlystopping)
model.save_weight(path)


I used this model for a while, and then I gathered new data and update the model.

model = build()