Package weka.core.converters

Examples of weka.core.converters.JEXTableWriter


    for(Entry<DimensionMap,String> e : fileTable.data.entrySet())
    {
      DimTable lower = JEXTableReader.getDimTable(e.getValue());
      union = DimTable.union(union,lower);
    }
    JEXTableWriter writer = new JEXTableWriter("UnionTable");
    writer.writeNumericTableHeader(union);
   
    for(Entry<DimensionMap,String> e : fileTable.data.entrySet())
    {
      if(canceler.isCanceled())
      {
        return null;
      }
      Table<Double> data = JEXTableReader.getNumericTable(e.getValue());
      for(Entry<DimensionMap,Double> e2 : data.data.entrySet())
      {
        writer.writeData(e2.getKey(), e2.getValue());
      }
    }
    String path = writer.getPath();
    writer.close();
   
    return path;
  }
View Full Code Here

TOP

Related Classes of weka.core.converters.JEXTableWriter

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.