View-Model for the Use tab.
Inheritance: INotifyPropertyChanged
コード例 #1
0
ファイル: MainViewModel.cs プロジェクト: accord-net/framework
        public MainViewModel()
        {
            // Create settings for Optidigits dataset
            Network = new DeepBeliefNetwork(new BernoulliFunction(), 1024, 50, 10);

            Database = new Optdigits()
            {
                IsNormalized = false
            };

            new GaussianWeights(Network).Randomize();
            Network.UpdateVisibleWeights();
            

            Learn = new LearnViewModel(this);
            Use = new UseViewModel(this);
            Dream = new DreamViewModel(this);
            Discover = new DiscoverViewModel(this);

            NewLayerNeurons = 10;
        }
コード例 #2
0
        public MainViewModel()
        {
            // Create settings for Optidigits dataset
            Network = new DeepBeliefNetwork(new BernoulliFunction(), 1024, 50, 10);

            Database = new Optdigits()
            {
                IsNormalized = false
            };

            new GaussianWeights(Network).Randomize();
            Network.UpdateVisibleWeights();


            Learn    = new LearnViewModel(this);
            Use      = new UseViewModel(this);
            Dream    = new DreamViewModel(this);
            Discover = new DiscoverViewModel(this);

            NewLayerNeurons = 10;
        }