Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

how to use CvANN_MLP::get_weights()

hello, how should we use the double array which return by CvANN_MLP::get_weights(). Imagine we have a 3 layer network. layer0: 4 nerouns, layer1: 2 neruon, layer2: 4 nerouns. when i call CvANN_MLP::get_weights(0), I think this should give me the weights between layer0 and layer1, is that right? and something else: weights between two layer should be 2D array. how should I convert this 1D array to 2D one? Thanks in advance.