Skip to content

Commit c713a77

Browse files
committed
Some more bugfixes
1 parent 05f5033 commit c713a77

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

src/test/java/org/apache/sysds/test/applications/ApplyTransformTest.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -181,17 +181,5 @@ public void testApplyTransform() {
181181
if(!XDML.containsKey(cell4)) success = false;
182182
else success = success && (dummy_coding_maps != " ") ? (XDML.get(cell4).doubleValue() == 1) : (XDML.get(cell4).doubleValue() == 2);
183183
}
184-
185-
NGramBuilder<String, Statistics.NGramStats>[] builders = Statistics.mergeNGrams();
186-
for (int i = 0; i < builders.length; i++) {
187-
try (FileWriter writer = new FileWriter("/Users/janniklindemann/Dev/MScThesis/NGramAnalysis/" + TEST_NAME + testCtr + "_" + DMLScript.STATISTICS_NGRAM_SIZES[i] + "-grams.csv")) {
188-
writer.write(NGramBuilder.toCSV(new String[] { "N-Gram", "Time[s]", "StdDev(Time[s])/Mean(Time[s])", "Count" }, builders[i].getTopK(100000, Statistics.NGramStats.getComparator(), true), e -> Statistics.getNGramStdDevs(e.getStats(), 5).replace("-", "").replace(",", ";")));
189-
} catch (IOException e) {
190-
191-
}
192-
}
193-
testCtr++;
194184
}
195-
196-
public static int testCtr = 1;
197185
}

0 commit comments

Comments
 (0)