Package com.clearnlp.classification.train

Examples of com.clearnlp.classification.train.InstanceCollector


  protected Random            r_shuffle;
 
  /** Constructs a string online model for training. */
  public StringModelAD()
  {
    i_collector = new InstanceCollector();
    init();
  }
View Full Code Here


    a_labels    = (List<String>)in.readObject();
    n_labels    = (int)in.readObject();
    m_features  = (Map<String,ObjectIntHashMap<String>>)in.readObject();
    n_features  = (int)in.readObject();
    f_weights   = (FloatArrayList)in.readObject();
    i_collector = new InstanceCollector();
  }
View Full Code Here

    a_labels    = Lists.newArrayList();
    n_labels    = 0;
    m_features  = Maps.newHashMap();
    n_features  = 1;
    f_weights   = new FloatArrayList();
    i_collector = new InstanceCollector();
  }
View Full Code Here

    a_labels    = (List<String>)in.readObject();
    n_labels    = (int)in.readObject();
    m_features  = (Map<String,ObjectIntHashMap<String>>)in.readObject();
    n_features  = (int)in.readObject();
    f_weights   = (FloatArrayList)in.readObject();
    i_collector = new InstanceCollector();
  }
View Full Code Here

TOP

Related Classes of com.clearnlp.classification.train.InstanceCollector

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.