Package cc.mallet.classify.evaluate

Examples of cc.mallet.classify.evaluate.GraphItem


  public void addDataToGraph(double [] accValues, int nBuckets, String name)
  {
    Vector values = new Vector(nBuckets);
    for(int i=0; i<nBuckets; i++)
    {
      GraphItem temp = new GraphItem("",
                                     (int)(accValues[i]*100),
                                     Color.black);
      values.add(temp);
    }
    logger.info("Sending "+values.size()+" elements to graph");
View Full Code Here

TOP

Related Classes of cc.mallet.classify.evaluate.GraphItem

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.