How to train "timedelaynet" using "trainNetwork" function in Deep Learning Toolbox?
    4 views (last 30 days)
  
       Show older comments
    
I have build a Time delay neural network and I wanna avoid use "train" function, and I want to train it using "trainNetwork" function to be able to use 'Adam' optimizer. is it possible ? If yes,  How?
0 Comments
Answers (1)
  Varun Sai Alaparthi
    
 on 21 Oct 2022
        
      Edited: Varun Sai Alaparthi
    
 on 21 Oct 2022
  
      Hello Abdelwahab,  
As of now it is not possible to train ‘timedelaynet’ using ‘trainNetwork’. If you are interested in using ‘trainNetwork’, it might be better to model your data using ‘LSTM’ or ‘GRU’ networks which are supported by ‘trainNetwork’. 
Please refer to this link for examples on time series analysis using our deep learning API:
Other possible work around to use ‘trainNetwork’ would be to design custom training loop for ‘timedelaynet’ and use ‘Adam’ optimiser in the training.  
Please refer to this link for example on custom training loop: 
0 Comments
See Also
Categories
				Find more on Deep Learning Toolbox in Help Center and File Exchange
			
	Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
