Contents tagged with Neural Network

  • Encog create simple network

    Hello everybody,

    today I want to share how to create simple neural network in Encog. It's very simple process:

    var network = BasicNetwork();

    Each neural network have layer. 

    Example of layer creating: 

    network.AddLayer(new BasicLayer(new ActivationSigmoid(), true, 5));

    The first paramether of BasicLayer is activation function, which is in our case ActivationSigmoid,

    The second paramether is Bias neuron. True means that layer will have bias layer also. 

    The third paramether represents number of neurons in layer. 

    If you think that creating network is enough for training, you are wrong. As a lot of staff in our world, in Encog you need to call FinalizeStructure. It looks like … more