Package org.encog.workbench.dialogs.common

Examples of org.encog.workbench.dialogs.common.DoubleField


    super(owner);
    setTitle("Random Training Data");
    setSize(400,200);
    addProperty(this.elements = new IntegerField("elements","Training Set Elements",true, 0, 1000000));
    addProperty(this.columns = new IntegerField("columns","Random Column Count",true, 1, 1000));
    addProperty(this.low = new DoubleField("low","Random Low Value",true, 0, -1));
    addProperty(this.high = new DoubleField("high","Random High Value",true, 0, -1));
    render();
  }
View Full Code Here


    super(owner);
    setTitle("Edit Population Info");
    setSize(400,300);
    setLocation(200,200);
   
    addProperty(oldAgePenalty = new DoubleField("old penalty","Old Age Penalty",true,0,1));
    addProperty(oldAgeThreshold = new IntegerField("old threshold","Old Age Threshold",true,0,Integer.MAX_VALUE));
    addProperty(populationSize = new IntegerField("max population","Max Population Size",true,0,Integer.MAX_VALUE));
    addProperty(survivalRate = new DoubleField("survival rate","Survival Rate",true,0,Integer.MAX_VALUE));
    addProperty(youngBonusAgeThreshold = new IntegerField("youth bonus","Youth Bonus",true,0,Integer.MAX_VALUE));
    addProperty(youngScoreBonus = new DoubleField("youth threshold","Youth Threshold",true,0,Integer.MAX_VALUE));   

  }
View Full Code Here

    errorMethods.add("Root Mean Square");
    errorMethods.add("Mean Square Error");
    setTitle("Encog Configuration");
    setSize(500,300);
    beginTab("Training");
    addProperty(this.defaultError = new DoubleField("default error","Default Error Percent",true,0,100));
    addProperty(this.errorCalculation = new ComboBoxField("error calculation", "Error Calculation", true, errorMethods));
    addProperty(this.threadCount = new IntegerField("thread count","Thread Count (0=auto)",true,0,10000));
    addProperty(this.useOpenCL = new CheckField("use opencl","Use Graphics Card(GPU)"));
    render();
  }
View Full Code Here

  public InputGenetic() {
    super(false);
    setTitle("Train Simulated Annealing");
   
    addProperty(this.populationSize = new IntegerField("population size","Learning Rate",true,1,-1));
    addProperty(this.mutationPercent = new DoubleField("mutation percent","Mutation Percent",true,0,1));
    addProperty(this.percentToMate = new DoubleField("percent to mate","Percent to Mate",true,0,1));
    render();
    this.populationSize.setValue(5000);
    this.mutationPercent.setValue(0.1);
    this.percentToMate.setValue(0.25);
  }
View Full Code Here

    list.add("iRPROP+");
    list.add("iRPROP-");
   
    setTitle("Train Resilient Propagation");
    addProperty(this.rpropType = new ComboBoxField("rprop type", "RPROP Type",true,list));
    addProperty(this.maxStep = new DoubleField("max step","Max Step",true,0,-1));
    addProperty(this.initialUpdate = new DoubleField("initial update","Initial Update",true,0,-1));
    render()
    this.maxStep.setValue(RPROPConst.DEFAULT_MAX_STEP);
    this.initialUpdate.setValue(RPROPConst.DEFAULT_INITIAL_UPDATE);
  }
View Full Code Here

    setLocation(200,200);
    addProperty(this.comboTraining = new ComboBoxField("training set","Training Set",true,this.trainingSets));
    addProperty(this.comboPopulation = new ComboBoxField("population","NEAT Population",true,this.populations));
    addProperty(this.loadToMemory = new CheckField("load to memory",
      "Load to Memory (better performance)"));
    addProperty(this.maxError = new DoubleField("max error",
        "Maximum Error Percent(0-100)", true, 0, 100));

   
    render();
    this.getLoadToMemory().setValue(true);
View Full Code Here

   */
  public InputOutstar() {
    super(false);
    setTitle("Train Outstar");

    addProperty(this.learningRate = new DoubleField("learning rate","Learning Rate",true,-1,-1));

    render();
    this.learningRate.setValue(0.7);
  }
View Full Code Here

   * @param owner
   */
  public InputQPROP() {
    super(true);
    setTitle("Train Quick Propagation");
    addProperty(this.learningRate = new DoubleField("learning rate","Learning Rate",true,-1,-1));
    render();
    this.learningRate.setValue(2.0);

    this.getMaxError().setValue(EncogWorkBench.getInstance().getConfig().getDefaultError());
  }
View Full Code Here

   */
  public InputAnneal() {
    super(false);
    setTitle("Train Simulated Annealing");

    addProperty(this.startTemp = new DoubleField("starting temperature","Starting Temperature",true,-1,-1));
    addProperty(this.endTemp = new DoubleField("ending temperature","Ending Temperature",true,-1,-1));
    addProperty(this.cycles = new IntegerField("cycles","Ending Temperature",true,0,-1));
    render();
   
    this.startTemp.setValue(1);
    this.endTemp.setValue(20);
View Full Code Here

   */
  public InputSearchSVM() {
    super(false);
    setSize(400,400);
    setTitle("Support Vector Machine (SVM) Cross Validation");
    addProperty(this.beginningGamma = new DoubleField("gamma begin","Gamma Begin",true,-1,-1));
    addProperty(this.endingGamma = new DoubleField("gamma end","Gamma End",true,-1,-1));
    addProperty(this.stepGamma = new DoubleField("gamma step","Gamma Step",true,-1,-1));
    addProperty(this.beginningC = new DoubleField("c begin","C Begin",true,-1,-1));
    addProperty(this.endingC = new DoubleField("c end","C End",true,-1,-1));
    addProperty(this.stepC = new DoubleField("c step","C Step",true,-1,-1));
    addProperty(this.threadCount = new IntegerField("thread count","Threads",true,1,20));
    render()
    this.threadCount.setValue(1);
  }
View Full Code Here

TOP

Related Classes of org.encog.workbench.dialogs.common.DoubleField

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.