Is it possible to have different type of activation functions in different layer in Opencv neural network? -
i know there 3 types of activation functions provided in opencv neural network , sigmoid function default. ask possible have sigmoid function activation function @ hidden layer while having identity function @ output layer?
i @ page here: @ method create. @ create method description:
activatefunc – parameter specifying activation function each neuron: 1 of cvann_mlp::identity, cvann_mlp::sigmoid_sym, , cvann_mlp::gaussian. nont see way set or modify activation function, assume if not mentioned in documentation, you'll not able create such network different activation functions. nothing prevents downloading source code , modifying construrctor , learning algorithm purpose.