public DeepBeliefNetwork(int[] layerSizes, double learningRate)
        {
            m_rbms = new RBM[layerSizes.Length - 1];

            for (int i = 0; i < layerSizes.Length - 1; i++)
            {
                var rbm = new RBM(layerSizes[i], layerSizes[i + 1], learningRate);
                rbm.EpochEnd += OnRbm_EpochEnd;
                m_rbms[i] = rbm;
            }
        }
Beispiel #2
0
        public DeepBeliefNetwork(int[] layerSizes, double learningRate)
        {
            m_rbms = new RBM[layerSizes.Length - 1];

            for (int i = 0; i < layerSizes.Length - 1; i++)
            {
                var rbm = new RBM(layerSizes[i], layerSizes[i + 1], learningRate);
                rbm.EpochEnd += OnRbm_EpochEnd;
                m_rbms[i]     = rbm;
            }
        }