#include #include #include "Net.h" int main() { try { std::cout << "Neuro running" << std::endl; std::vector inputValues = { 1.0, 4.0, 5.0 }; std::vector targetValues = { 3.0 }; Net myNet({ inputValues.size(), 4, targetValues.size() }); myNet.feedForward(inputValues); std::vector outputValues = myNet.getOutput(); std::cout << "Result: "; for (double &value : outputValues) { std::cout << value << " "; } std::cout << std::endl; myNet.backProp(targetValues); } catch (std::exception &ex) { std::cerr << "Error: " << ex.what() << std::endl; return 1; } return 0; }