OpenCV :: ML - can we tell openCV which parts of the data we want to send to which neuron?

So here is a simple example - 2 floats as data + 1 float as output:

Layer 1: 2 neurons (2 inputs) Layer 2: 3 neurons (hidden layer) Layer 3: 3 neurons (hidden layer) Layer 4: 1 neurons (1 output) 

And we create ANs with something like

  cvSet1D(&neuralLayers1, 0, cvScalar(2)); cvSet1D(&neuralLayers1, 1, cvScalar(3)); cvSet1D(&neuralLayers1, 2, cvScalar(3)); cvSet1D(&neuralLayers1, 3, cvScalar(1)); 

And than we are just high openCV for training our network.

I wonder if we had Nx2 floats with data + 1 float as for output, and we would like to give the first neuron as the first input line (N floats) and the second second neuron line (N floating point data elements), what we need add to our code?

+6
source share
1 answer

I would definitely use the mentioned KNN.

+1
source

Source: https://habr.com/ru/post/885539/


All Articles