Package tv.floe.metronome.linearregression.iterativereduce

Source Code of tv.floe.metronome.linearregression.iterativereduce.TestSimMiniBatchLinearRegressionIR

package tv.floe.metronome.linearregression.iterativereduce;

import static org.junit.Assert.*;

import org.junit.Test;

import tv.floe.metronome.irunit.IRUnitDriver;
import tv.floe.metronome.utils.Utils;

/**
* Not Complete!
*
* @author josh
*
*/
public class TestSimMiniBatchLinearRegressionIR {

  @Test
  public void test() {
    IRUnitDriver polr_ir = new IRUnitDriver("src/test/resources/run_profiles/unit_tests/app.unit_test_linearReg_miniBatch.properties");
    polr_ir.Setup();
    polr_ir.SimulateRun();
   
    MasterNode master = (MasterNode) polr_ir.getMaster();
   
    System.out.println("\n\nComplete: ");
    Utils.PrintVector( master.polr.getBeta().viewRow(0) );
   
  }

}
TOP

Related Classes of tv.floe.metronome.linearregression.iterativereduce.TestSimMiniBatchLinearRegressionIR

TOP
Copyright © 2018 www.massapi.com. 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.