Package org.cspoker.ai.opponentmodels.weka

Examples of org.cspoker.ai.opponentmodels.weka.WekaOptions


@Deprecated
public class RunExperimentC {

  public static void main(String[] args) throws IOException, ClassNotFoundException {

    WekaOptions config = new WekaOptions();
    config.setUseOnlineLearning(false);

    if(args[0].equals("time")){

      int time = Integer.parseInt(args[1]);
View Full Code Here


//    });
    stats = new StatisticsVisitor.Factory();   
   
    BotFactory botFactory;
    try {
      WekaOptions configPersist = new WekaOptions();
      configPersist.setContinuousLearning(false);
      configPersist.setModelCreationTreshold(100);
      botFactory = new MCTSBotFactory("MCTSBot",
          WekaRegressionModelFactory.createForZip(
              "org/cspoker/ai/opponentmodels/weka/models/model1.zip", configPersist/*, kullbackLeibler*/),
          new SamplingToFunctionSelector(50,new UCTSelector(2000)),
          new SamplingSelector(),
View Full Code Here

@Deprecated
public class RunExperimentB {

  public static void main(String[] args) throws IOException, ClassNotFoundException {

    WekaOptions config = new WekaOptions();
    config.setUseOnlineLearning(false);

    if(args[0].equals("time")){

      int time = Integer.parseInt(args[1]);
     
View Full Code Here

@Deprecated
public class RunExperimentF {

  public static void main(String[] args) throws IOException, ClassNotFoundException {

    WekaOptions config = new WekaOptions();
    config.setUseOnlineLearning(false);

    if(args[0].equals("time")){

      int time = Integer.parseInt(args[1]);
     
View Full Code Here

@Deprecated
public class RunExperimentD {

  public static void main(String[] args) throws IOException, ClassNotFoundException {

    WekaOptions config = new WekaOptions();
    config.setUseOnlineLearning(false);
   
    if(args[0].equals("time")){

      int time = Integer.parseInt(args[1]);
View Full Code Here

//        throw new IOException();
//      }
//      if(false){
//        throw new ClassNotFoundException();
//      }
      WekaOptions configNoPersist = new WekaOptions();
      configNoPersist.setUseOnlineLearning(false);
     
      WekaOptions configPersist = new WekaOptions();
      configPersist.setContinuousLearning(true);
      configPersist.setModelCreationTreshold(8000);
      configPersist.setContinueAfterCreation(false);
      configPersist.setSolveConceptDrift(false);
     
      Sampler s = new BucketSampler(0.01);
//      Sampler s = new StochasticUniversalSampler(9);
//      Sampler s = new RouletteWheelSampler(9);
//      Sampler s = new RandomSampler(9);
View Full Code Here

  private final RemoteCSPokerServer server;
  private final BotFactory botFactory;
  private Bot bot;

  public Lore(RemoteCSPokerServer server) throws Exception {
    WekaOptions config = new WekaOptions();
    config.setUseOnlineLearning(false);
    this.server = server;
    this.botFactory =
      //       new CallBotFactory();
      new MCTSBotFactory(
          "CSPoker Bot",
View Full Code Here

TOP

Related Classes of org.cspoker.ai.opponentmodels.weka.WekaOptions

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.