Git Product home page Git Product logo

deeplearning-1's Introduction

Meta-programming neural network 元编程神经网络,纯头文件,无依赖

Compile-time matrix constructions, headonly 构造编译期矩阵以及数据传递代码

Usage, the process is very simple 使用方法,过程极其简单

/// 1. Create a neural network with an input layer two hide layers and an output layer 创建一个输入层,两个隐含层,一个输出层的神经网络 
mtl::BPNN<20, 30, 20, 2> bpnn;

/// 2. initialization 初始化
bpnn.init(0.001, 0.8);

/// 3. enter your matrix data... 录入你的矩阵数据
mtl::Matrix<double, 1, 20> inMatrix;
mtl::Matrix<double, 1, 2> outMatrix;
///    ... 

/// 4. training 训练 
bpnn.train(inMatrix, outMatrix, 100);

/// 5. simuation 仿真
bpnn.simulate(inMatrix, outMatrix);
``

deeplearning-1's People

Contributors

bowdar avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.