Package com.ipeirotis.gal.engine

Examples of com.ipeirotis.gal.engine.Engine


        .split("\\s+"));

    assertEquals(ctx.getInputFile(), "data/AdultContent/test-unlabeled.txt");
    assertEquals(ctx.getCategoriesFile(), "data/AdultContent/test-categories.txt");
   
    Engine engine = new Engine(ctx);
   
    engine.execute();
  }
View Full Code Here


  @Test
  public void testMoreComplexPath() throws Exception {
    parser.parseArgument("--input data/BarzanMozafari/input.txt --categories data/BarzanMozafari/categories.txt --eval data/BarzanMozafari/evaluation.txt --dry-run"
        .split("\\s+"));
   
    Engine engine = new Engine(ctx);
   
    engine.execute();
  }
View Full Code Here

        .split("\\s+"));

    assertEquals(ctx.getInputFile(), "data/AdultContent/test-unlabeled.txt");
    assertEquals(ctx.getCategoriesFile(), "data/AdultContent/test-categories.txt");
   
    Engine engine = new Engine(ctx);
   
    engine.execute();
  }
View Full Code Here

  @Test
  public void testMoreComplexPath() throws Exception {
    parser.parseArgument("--input data/BarzanMozafari/input.txt --categories data/BarzanMozafari/categories-prior.txt --eval data/BarzanMozafari/evaluation.txt"
        .split("\\s+"));
   
    Engine engine = new Engine(ctx);
   
    engine.execute();
  }
View Full Code Here

  @Test
  public void testFullCase() throws Exception {
    parser.parseArgument("--input data/BarzanMozafari/input.txt --categories data/BarzanMozafari/categories-prior.txt --gold data/BarzanMozafari/gold-30items.txt --cost data/BarzanMozafari/costs.txt --eval data/BarzanMozafari/evaluation.txt"
        .split("\\s+"));
   
    Engine engine = new Engine(ctx);
   
    engine.execute();
  }
View Full Code Here

  @Test
  public void test5KDataPriorGold() throws Exception {
    parser.parseArgument("--iterations 100 --verbose --input data/BarzanMozafari/input.txt --categories data/BarzanMozafari/categories-prior.txt --gold data/BarzanMozafari/gold-30items.txt --eval data/BarzanMozafari/evaluation.txt"
        .split("\\s+"));
   
    Engine engine = new Engine(ctx);
   
    engine.execute();
  }
View Full Code Here

  @Test
  public void test5KDataNoPriorGold() throws Exception {
    parser.parseArgument("--input data/BarzanMozafari/input.txt --categories data/BarzanMozafari/categories.txt --gold data/BarzanMozafari/gold-30items.txt --eval data/BarzanMozafari/evaluation.txt"
        .split("\\s+"));
   
    Engine engine = new Engine(ctx);
   
    engine.execute();
  }
View Full Code Here

  @Test
  public void test5KDataPriorNoGold() throws Exception {
    parser.parseArgument("--input data/BarzanMozafari/input.txt --categories data/BarzanMozafari/categories-prior.txt --eval data/BarzanMozafari/evaluation.txt"
        .split("\\s+"));
   
    Engine engine = new Engine(ctx);
   
    engine.execute();
  }
View Full Code Here

  @Test
  public void test5KDataNoPriorNoGold() throws Exception {
    parser.parseArgument("--input data/BarzanMozafari/input.txt --categories data/BarzanMozafari/categories.txt --eval data/BarzanMozafari/evaluation.txt"
        .split("\\s+"));
   
    Engine engine = new Engine(ctx);
   
    engine.execute();
   
    //engine.getDs().g
  }
View Full Code Here

      showUsage(parser);
     
      return;
    }

    Engine engine = new Engine(ctx);
   
    engine.execute();
  }
View Full Code Here

TOP

Related Classes of com.ipeirotis.gal.engine.Engine

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.