| 15 | } |
| 16 | |
| 17 | void Neuron::randomizeWeights() { |
| 18 | for (unsigned int a = 0; a < weights.size(); a++) weights[a] = Neuron::randomWeight(); |
| 19 | } |
| 20 | |
| 21 | double Neuron::getOutput(std::vector<double> inputs) { |
| 22 | if(inputs.size() != weights.size() - 1) { |
no test coverage detected