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.


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -