Please share good references.
Hi Amol,
Fine tuning Lstm is always an intensive task, try something as below,
Once a sequence model is set try hyperparameter tuning!! example as below !! it is very intensive !! try with fewer data and one parameter after the another !!
batch_size = [10, 20, 40, 60, 80, 100]
epochs = [10, 50, 100]
optimizer = ['SGD', 'RMSprop', 'Adagrad', 'Adadelta', 'Adam', 'Adamax', 'Nadam']
learn_rate = [0.001, 0.01, 0.1, 0.2, 0.3]
momentum = [0.0, 0.2, 0.4, 0.6, 0.8, 0.9]
init_mode = ['uniform', 'lecun_uniform', 'normal', 'zero', 'glorot_normal', 'glorot_uniform', 'he_normal', 'he_uniform']
activation = ['softmax', 'softplus', 'softsign', 'relu', 'tanh', 'sigmoid', 'hard_sigmoid', 'linear']
weight_constraint = [1, 2, 3, 4, 5]
dropout_rate = [0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9]
neurons = [1, 5, 10, 15, 20, 25, 30]
param_grid = dict(neurons=neurons, dropout_rate=dropout_rate, weight_constraint=weight_constraint, activation=activation, batch_size=batch_size, epochs=epochs, optimizer=optimizer, learn_rate=learn_rate, momentum=momentum, init_mode=init_mode)
grid_search = GridSearchCV(estimator=model, param_grid=param_grid, n_jobs=-1, scoring='accuracy')
other things to do,
Best,
Athiq
Thank you Athiq. We will try incorporate all suggestion.
You cannot use GridSearchCV with LSTM the way that was shown in the first post. That will work if the model is simple MLP.
Emin Mamedov so any other suggestion to tune parameters of LSTM model please?
Rawia Sammout I am sure that quick google search will return many results but the popular options are talos, hyperas/hyperopt.
It is still possible to use GridSearch for LSTM but not in the way that was shown in the first post.
Suggest application of blockchain in educational field.
05 June 2018 9,016 5 View
Which way is better 1. Work with guide / mentor 2. Attend training program 3. Online courses on research methodology 4. Books
04 May 2018 4,953 12 View
Suggest major mistakes in writing patent.
03 April 2018 7,292 3 View
Suggest thumb rules.
01 February 2018 4,010 5 View
Whether smartphone is useful in teaching learning ?
01 February 2018 5,494 6 View
Suggest algorithms 1. Neural networks 2. Keywords based approach 3. Dictionary based approach
31 December 2017 6,757 2 View
Many journals in computer engineering domain are expecting development of mathematical models. Is it only way to carry out research in computer engineering?
11 December 2017 5,211 0 View
Courses like, software engineering, database engineering, programming courses, cloud computing etc.
10 November 2017 5,149 6 View
Please share your views and suggest good articles for the same.
10 November 2017 1,491 3 View
What is next after cloud computing?
10 November 2017 9,465 3 View
What Characteristics makes CNN work better?
03 March 2021 1,458 4 View
i would to know some of the research gaps in the artificial intelligence field in most african countries.
03 March 2021 6,145 3 View
I have selected brain tumor images ...but now found that already lots of research done n this topic.
03 March 2021 5,774 3 View
i am try to classify the x-ray images. During classification , can i block unwanted images (except x-ray image).
03 March 2021 7,100 1 View
dear community, my model is based feature extraction from non stationary signals using discrete Wavelet Transform and then using statistical features then machine learning classifiers in order to...
03 March 2021 6,994 5 View
The range of forms and sizes of cavities in rock is very big. Is there a classification scheme for rock cavities regarding their size and shape?
02 March 2021 4,511 3 View
Do you have some recommendations approaches on Image processing and classification of plant diseases using TensorFlow/Keras?
02 March 2021 1,493 4 View
Please provide Book Title and author name
02 March 2021 9,059 3 View
I feel that the practice in teacher education in my country is below the expected performance level due to very poor management system. Hope I will learn something from your experiences.
02 March 2021 1,516 4 View
NFL theorem is valid for algorithms training in fixed training set. However, the general characteristic of algorithms in expanded or open dataset has not been proved yet. Could you show your...
01 March 2021 1,189 3 View