@Test public void testAsciiMatrixTracer() { Matrix mtx = makeRandomMatrix(10, 10); Tracer.showAscii(mtx); Tracer.showAscii(mtx, "%2f"); Tracer.showAscii(mtx, "%.3g"); }
public static void showAscii(Vector vec, IgniteLogger log, String fmt) { String cls = vec.getClass().getSimpleName(); if (log.isInfoEnabled()) log.info(String.format(LOCALE, "%s(%d) [%s]", cls, vec.size(), mkString(vec, fmt))); }
Tracer { public static void showAscii(Vector vec, IgniteLogger log, String fmt) { String cls = vec.getClass().getSimpleName(); if (log.isInfoEnabled()) log.info(String.format(LOCALE, "%s(%d) [%s]", cls, vec.size(), mkString(vec, fmt))); } }
Tracer { public static void showAscii(Vector vec, IgniteLogger log, String fmt) { String cls = vec.getClass().getSimpleName(); if (log.isInfoEnabled()) log.info(String.format(LOCALE, "%s(%d) [%s]", cls, vec.size(), mkString(vec, fmt))); }  }
Tracer { public static void showAscii(Vector vec, IgniteLogger log, String fmt) { String cls = vec.getClass().getSimpleName(); if (log.isInfoEnabled()) log.info(String.format(LOCALE, "%s(%d) [%s]", cls, vec.size(), mkString(vec, fmt))); }  static void showAscii(Vector vec, IgniteLogger log, String fmt); static void showAscii(Vector vec, IgniteLogger log); static void showAscii(Vector vec, String fmt); static String asAscii(Vector vec, String fmt, boolean showMeta); static void showAscii(Matrix mtx); static void showAscii(Matrix mtx, String fmt); static String asAscii(Matrix mtx, String fmt); static void showAscii(Matrix mtx, IgniteLogger log, String fmt); static void showAscii(Vector vec); static void saveAsCsv(Vector vec, String fmt, String filePath); static void saveAsCsv(Matrix mtx, String fmt, String filePath); static void showHtml(Matrix mtx); static void showHtml(Matrix mtx, boolean useAsciiFallback); static void showHtml(Matrix mtx, ColorMapper cm); static void showHtml(Matrix mtx, ColorMapper cm, boolean useAsciiFallback); static void showHtml(Vector vec); static void showHtml(Vector vec, boolean useAsciiFallback); static void showRegressionDatasetInHtml(String name, DataStreamGenerator generator, int limit,
        int xIdx); static void showRegressionDatasetInHtml(DataStreamGenerator generator, int limit,
        int xIdx); static void showClassificationDatasetHtml(DataStreamGenerator generator, int limit,
        int xIdx, int yIdx, boolean isLabeled); static void showClassificationDatasetHtml(String name, DataStreamGenerator generator, int limit,
        int xIdx, int yIdx, boolean isLabeled); static void showHtml(Vector vec, ColorMapper cm); static void showHtml(Vector vec, ColorMapper cm, boolean useAsciiFallback); }
Tracer { public static void showAscii(Vector vec, IgniteLogger log, String fmt) { String cls = vec.getClass().getSimpleName(); if (log.isInfoEnabled()) log.info(String.format(LOCALE, "%s(%d) [%s]", cls, vec.size(), mkString(vec, fmt))); }  static void showAscii(Vector vec, IgniteLogger log, String fmt); static void showAscii(Vector vec, IgniteLogger log); static void showAscii(Vector vec, String fmt); static String asAscii(Vector vec, String fmt, boolean showMeta); static void showAscii(Matrix mtx); static void showAscii(Matrix mtx, String fmt); static String asAscii(Matrix mtx, String fmt); static void showAscii(Matrix mtx, IgniteLogger log, String fmt); static void showAscii(Vector vec); static void saveAsCsv(Vector vec, String fmt, String filePath); static void saveAsCsv(Matrix mtx, String fmt, String filePath); static void showHtml(Matrix mtx); static void showHtml(Matrix mtx, boolean useAsciiFallback); static void showHtml(Matrix mtx, ColorMapper cm); static void showHtml(Matrix mtx, ColorMapper cm, boolean useAsciiFallback); static void showHtml(Vector vec); static void showHtml(Vector vec, boolean useAsciiFallback); static void showRegressionDatasetInHtml(String name, DataStreamGenerator generator, int limit,
        int xIdx); static void showRegressionDatasetInHtml(DataStreamGenerator generator, int limit,
        int xIdx); static void showClassificationDatasetHtml(DataStreamGenerator generator, int limit,
        int xIdx, int yIdx, boolean isLabeled); static void showClassificationDatasetHtml(String name, DataStreamGenerator generator, int limit,
        int xIdx, int yIdx, boolean isLabeled); static void showHtml(Vector vec, ColorMapper cm); static void showHtml(Vector vec, ColorMapper cm, boolean useAsciiFallback);  }