Package org.encog.neural.networks.structure

Examples of org.encog.neural.networks.structure.AnalyzeNetwork


    g.drawString("High:", 300, y);
    g.drawString("Mean:", 410, y);
    g.drawString("S.Dev:", 530, y);
    y+=fm.getHeight();
   
    AnalyzeNetwork analyze = this.owner.getAnalyze();
   
    y = fm.getHeight();
    g.setFont(WorkbenchFonts.getTextFont());
    g.drawString(Format.formatInteger(analyze.getTotalConnections()), 200, y);
    g.drawString(Format.formatInteger(analyze.getDisabledConnections()), 450, y);
    y+=fm.getHeight();
    g.drawString(Format.formatInteger(analyze.getWeightsAndBias().getSamples()), 120, y);
    g.drawString(Format.formatDouble(analyze.getWeightsAndBias().getLow(), 6), 220, y);
    g.drawString(Format.formatDouble(analyze.getWeightsAndBias().getHigh(), 6), 350, y);
    g.drawString(Format.formatDouble(analyze.getWeightsAndBias().getMean(), 6), 460, y);
    g.drawString(Format.formatDouble(analyze.getWeightsAndBias().getStandardDeviation(), 6), 580, y);
    y+=fm.getHeight();
    g.drawString(Format.formatInteger(analyze.getBias().getSamples()), 120, y);
    g.drawString(Format.formatDouble(analyze.getBias().getLow(), 6), 220, y);
    g.drawString(Format.formatDouble(analyze.getBias().getHigh(), 6), 350, y);
    g.drawString(Format.formatDouble(analyze.getBias().getMean(), 6), 460, y);
    g.drawString(Format.formatDouble(analyze.getBias().getStandardDeviation(), 6), 580, y);
    y+=fm.getHeight();
    g.drawString(Format.formatInteger(analyze.getWeights().getSamples()), 120, y);
    g.drawString(Format.formatDouble(analyze.getWeights().getLow(), 6), 220, y);
    g.drawString(Format.formatDouble(analyze.getWeights().getHigh(), 6), 350, y);
    g.drawString(Format.formatDouble(analyze.getWeights().getMean(), 6), 460, y);
    g.drawString(Format.formatDouble(analyze.getWeights().getStandardDeviation(), 6), 580, y);
   
  }
View Full Code Here


    if( !(encogObject.getObject() instanceof BasicNetwork) ) {
      throw new WorkBenchError("Can't visualize weights of " + encogObject.getObject().getClass().getSimpleName());
    }
   
    this.network = (BasicNetwork)encogObject.getObject();
    this.analyze = new AnalyzeNetwork(this.network);
   
    this.setLayout(new BorderLayout());
   
    JPanel buttonPanel = new JPanel();
    add(buttonPanel,BorderLayout.SOUTH);
View Full Code Here

TOP

Related Classes of org.encog.neural.networks.structure.AnalyzeNetwork

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.