Package com.rapidminer.example.table

Examples of com.rapidminer.example.table.DoubleArrayDataRow


              Map<String,Double> res;
              int minR=getParameterAsInt("Min Rating");
              int maxR=getParameterAsInt("Range")+minR;
              res=RatingEval.Evaluate(predicted,minR,maxR);
              double [] a1={res.get("RMSE"),res.get("MAE"),res.get("NMAE")};
              DoubleArrayDataRow row=new DoubleArrayDataRow(a1);
              a.addDataRow(row);
             
              PerformanceVector result1 = new PerformanceVector();
              EstimatedPerformance performance = new EstimatedPerformance("RMSE", a1[0],1,true);
              EstimatedPerformance performance1 = new EstimatedPerformance("MAE", a1[1],1,true);
View Full Code Here


              attr.add(m1); attr.add(m2); attr.add(m3); attr.add(m4); attr.add(m5); attr.add(m6);
              MemoryExampleTable a=new MemoryExampleTable(attr);
             
             
              double [] a1={result.get("AUC"),result.get("prec@5"),result.get("prec@10"), result.get("prec@15"),result.get("NDCG"),result.get("MAP")};
              DoubleArrayDataRow row=new DoubleArrayDataRow(a1);
              a.addDataRow(row);
             
            PerformanceVector result1 = new PerformanceVector();
            EstimatedPerformance performance = new EstimatedPerformance("AUC", a1[0],1,false);
            EstimatedPerformance performance1 = new EstimatedPerformance("prec@5", a1[1],1,false);
View Full Code Here

TOP

Related Classes of com.rapidminer.example.table.DoubleArrayDataRow

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.