Q1: How to tune the "hidden" hyperparameter in "classif.h2o.deeplearning"?
I am getting different approaches from stackOverFlow
makeDiscreteParam("hidden", values = list(one = 10, two = c(10, 5, 10)))
makeDiscreteParam(id = "hidden", values = list(a = c(10,10), b = c(20,20,20), c = c(30,30,30)))
makeDiscreteParam(id = "hidden", values = list(a = c(10,10), b = c(100,100)))
makeIntegerVectorParam("hidden", len = 2, lower = 10, upper = 100)
As per definition
hidden: Specifies the number and size of each hidden layer in the model. For example, if c(100,200,100) is specified, a model with 3 hidden layers is generated. The middle hidden layer will have 200 neurons and the first and third hidden layers will have 100 neurons each. The default is c(200,200). For grid search, use the following format: list(c(10,10), c(20,20)). Refer to the section on Performing a Trial Run for more details.
hidden is "integervector", so I can use makeIntegerVectorParam, may I know the syntax for that for below 2 cases (I have Def(200,200) for hidden in getParamSet)
2 hidden layers and 30 neurons in each?
2 hidden layers with different neurons in each say 30,20?
Q2: if I tune say 5 parameters at once it takes long time, shall I tune one by one in makeParamSet and get the optimum value, then shall I combine all with specific values in makeParamSet, is this a right approach?
Regarding Q2: this may not be a correct approach for tune one by one hyperparameters then combine, or atleast whether this gives a starting point
Q3: I am getting 33 Hyperparameters for classif.h2o.deeplearning, is there a way choose the right ones to tune?