Exemplo n.º 1
0
 @Override
 public boolean toHTML(StringBuilder sb) {
   if (classification) {
     DocGen.HTML.section(sb, "Confusion Matrix");
     if (cm == null) return true;
     printConfusionMatrix(sb, cm, domain, true);
   } else {
     DocGen.HTML.section(sb, "Mean Squared Error");
     if (mse == Double.NaN) return true;
     DocGen.HTML.arrayHead(sb);
     sb.append("<tr class='warning'><td>" + mse + "</td></tr>");
     DocGen.HTML.arrayTail(sb);
   }
   return true;
 }
Exemplo n.º 2
0
 @Override
 public boolean toHTML(StringBuilder sb) {
   DocGen.HTML.section(
       sb,
       "Export done. Key '"
           + src_key.toString()
           + "' was written to "
           + (_local && H2O.CLOUD.size() > 1 ? H2O.SELF_ADDRESS + ":" : "")
           + path.toString());
   return true;
 }