Comments (3)
I see you are using fit method rather fit_generator. One is you can go back to 2.2 TF version and use fit_generator. I will try to change the code against latest version and update
from end-to-end-time-series.
Hi, I was able to make the same code work on TF 2.5 as well. instead of fit_generated which is deprecated fit works as well. I am hardening the code and will upload in upcoming week
This is what I used in TF 2.5
early_stopping = tf.keras.callbacks.EarlyStopping(monitor='val_loss',
patience=2,
mode='min')
model.compile(loss=tf.losses.MeanSquaredError(),
optimizer=tf.optimizers.Adam(),
metrics=[tf.metrics.MeanAbsoluteError()])
history = model.fit(train_generator, epochs=20,
validation_data=val_generator,
shuffle=False,
callbacks=[early_stopping])
from end-to-end-time-series.
from end-to-end-time-series.
Related Issues (7)
- is there any ML algorithm to work with non linear and non stationary data of two columns (time in mm and displacement) to find an anomaly
- Multivariant time series data HOT 1
- Wrong variable name on file "Timeseries_Data_analysis.ipynb"
- Deprecation warning about DataFrame index on "Timeseries_Data_analysis.ipynb" HOT 1
- Please help
- Forecasting
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from end-to-end-time-series.