Examples of ParameterVector


Examples of tv.floe.metronome.linearregression.ParameterVector

         
     
      // now average the parameter vectors together
      this.global_parameter_vector.AverageVectors(workerUpdates.size());
     
      ParameterVector vec_msg = new ParameterVector();
      vec_msg.parameter_vector = this.global_parameter_vector.parameter_vector
          .clone();
     
      if ( iteration_count == 0 ) {
        vec_msg.y_avg = this.global_parameter_vector.y_avg;
View Full Code Here

Examples of tv.floe.metronome.linearregression.ParameterVector

     
    } // setup()
   
    public void SetupPOLR() {
     
    this.global_parameter_vector = new ParameterVector()
     
      String[] predictor_label_names = this.PredictorLabelNames.split(",");
     
      String[] variable_types = this.PredictorVariableTypes.split(",");
     
View Full Code Here

Examples of tv.floe.metronome.linearregression.ParameterVector

   * parameter vectors to the master - this method plugs the local parameter
   * vector into the message
   */
  public ParameterVector GenerateUpdate() {

    ParameterVector vector = new ParameterVector();
    vector.parameter_vector = this.polr.getBeta().clone(); // this.polr.getGamma().getMatrix().clone();

    if (this.lineParser.hasMoreRecords()) {
      vector.IterationComplete = 0;
    } else {
View Full Code Here

Examples of tv.floe.metronome.linearregression.ParameterVector

   * here we - replace the gradient vector with the new global gradient vector
   *
   */
  @Override
  public void update(ParameterVectorUpdateable t) {
    ParameterVector global_update = t.get();
   
    // set the local parameter vector to the global aggregate ("beta")
    this.polr.SetBeta(global_update.parameter_vector);

  }
View Full Code Here

Examples of tv.floe.metronome.linearregression.ParameterVector

  public void fromBytes(ByteBuffer b) {

    b.rewind();

    try {
      this.param_msg = new ParameterVector();
      this.param_msg.Deserialize(b.array());
     
    } catch (IOException e) {
      e.printStackTrace();
    }
View Full Code Here

Examples of tv.floe.metronome.linearregression.ParameterVector

   * parameter vectors to the master - this method plugs the local parameter
   * vector into the message
   */
  public ParameterVector GenerateUpdate() {

    ParameterVector vector = new ParameterVector();
    vector.parameter_vector = this.polr.getBeta().clone(); // this.polr.getGamma().getMatrix().clone();

    if (this.lineParser.hasMoreRecords()) {
      vector.IterationComplete = 0;
    } else {
View Full Code Here

Examples of tv.floe.metronome.linearregression.ParameterVector

   *
   */
  @Override
  public void update(ParameterVectorUpdateable t) {
   
    ParameterVector global_update = t.get();
   
    if ( 0 == this.CurrentIteration ) {
      this.y_bar = global_update.y_avg;
    }
   
View Full Code Here
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.