GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — NeuralNetwork/Sample.cpp at master · 768897663/NeuralNetwork Expand file tree/ Copy pathSample.cppMore file actions 21 lines (15 loc) · 465 Bytes / Copy pathSample.cppFile metadata and controls21 lines (15 loc) · 465 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 #include "NeuralNetwork.hpp" int main() { /// 1. 创建一个输入层,两个隐含层,一个输出层的神经网络 mtl::BPNeuralNet<20, 30, 20, 2> mynn; /// 2. 初始化 mynn.init(0.1, 0.8); mtl::Matrix<double, 1, 20> inMatrix; mtl::Matrix<double, 1, 2> outMatrix; /// 3. ... 录入你的矩阵数据 /// 4. 训练 mynn.train(inMatrix, outMatrix, 100); /// 5. 仿真 mynn.simulat(inMatrix, outMatrix); } |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |