Search in sources :

Example 1 with PerformanceEvaluator

use of ml.shifu.shifu.core.PerformanceEvaluator in project shifu by ShifuML.

the class PerformanceEvaluatorTest method reviewTest.

@Test(expectedExceptions = FileNotFoundException.class)
public void reviewTest() throws IOException {
    ModelConfig model = ModelConfig.createInitModelConfig("test", ALGORITHM.NN, ".", false);
    EvalConfig eval = new EvalConfig();
    eval.setName("test");
    eval.setDataSet(new RawSourceData());
    model.getBasic().setRunMode(RunMode.LOCAL);
    PerformanceEvaluator actor = new PerformanceEvaluator(model, eval);
    actor.review();
}
Also used : EvalConfig(ml.shifu.shifu.container.obj.EvalConfig) ModelConfig(ml.shifu.shifu.container.obj.ModelConfig) PerformanceEvaluator(ml.shifu.shifu.core.PerformanceEvaluator) RawSourceData(ml.shifu.shifu.container.obj.RawSourceData) Test(org.testng.annotations.Test) AfterTest(org.testng.annotations.AfterTest)

Aggregations

EvalConfig (ml.shifu.shifu.container.obj.EvalConfig)1 ModelConfig (ml.shifu.shifu.container.obj.ModelConfig)1 RawSourceData (ml.shifu.shifu.container.obj.RawSourceData)1 PerformanceEvaluator (ml.shifu.shifu.core.PerformanceEvaluator)1 AfterTest (org.testng.annotations.AfterTest)1 Test (org.testng.annotations.Test)1