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,190 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 5,118 12 View
Suggest major mistakes in writing patent.
03 April 2018 7,462 3 View
Suggest thumb rules.
01 February 2018 4,179 5 View
Whether smartphone is useful in teaching learning ?
01 February 2018 5,693 6 View
Suggest algorithms 1. Neural networks 2. Keywords based approach 3. Dictionary based approach
31 December 2017 6,935 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,381 0 View
Courses like, software engineering, database engineering, programming courses, cloud computing etc.
10 November 2017 5,317 6 View
Web technology? Mobile application? Computing facilities? ? ?
10 November 2017 3,609 8 View
Please share your views and suggest good articles for the same.
10 November 2017 1,638 3 View
“Here is a thought experiment. Let's place Rodolpho Llinas's jarred-brain on top of a body (Fig. 1). I bet Llinas would argue that his jarred-brain retains its own consciousness, and the android...
11 August 2024 2,483 1 View
I recently came across an anatomy text by Carl Moller that was published in 1915 but it is in German or Dutch neither of which I can understand. I would like to know if there is an English...
10 August 2024 4,346 1 View
The rate of glucose consumption by the neocortex is reduced by over 80% during anesthesia (Sibson et al. 1998), which disables the synapses (Richards 2002) that are inundated by glial tissue (Engl...
08 August 2024 3,117 0 View
I attempted to make a privately uploaded text public but a window appeared that said an error occurred. There was no explanation provided as to why there was an error or what might be done to...
05 August 2024 8,025 7 View
Larger brains, which typically contain more neurons, store and transfer more information (Tehovnik and Chen 2015), but the precise relationship between number of neurons and information has yet to...
05 August 2024 1,236 2 View
Brain and body mass together are positively correlated with lifespan (Hofman 1993). The duration of neural development is one of the best predictors of brain size, and conception is the best...
05 August 2024 6,246 3 View
I need the python code to forecast what crop production will be in the next decade considering climate and crop production variables as seen in the attached.csv file.
05 August 2024 2,976 3 View
Hello everyone, I am currently working on a research project that aims to integrate machine learning techniques into an open source SIEM tool to automate the creation of security use cases from...
04 August 2024 3,192 2 View
When the entire neocortex is ablated in rodents, although they are still able to swim, all the limbs move continuously and asynchronously (Vanderwolf 2006; Vanderwolf et al. 1978). Normal animals...
03 August 2024 833 3 View
Machine learning (ML) has shown great potential in predicting the compressive strength of concrete, an important property for structural engineering. However, its practical application comes with...
03 August 2024 2,545 2 View