From 769ce76960875643720d4af2da7dd29da5bfdfc6 Mon Sep 17 00:00:00 2001 From: NickEdwards7502 Date: Thu, 19 Sep 2024 14:26:43 +1000 Subject: [PATCH] CHORE: Remove print statements from RF reproducibility test (#237) --- .../scala/au/csiro/variantspark/misc/ReproducibilityTest.scala | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/test/scala/au/csiro/variantspark/misc/ReproducibilityTest.scala b/src/test/scala/au/csiro/variantspark/misc/ReproducibilityTest.scala index 6f4e82d1..066f6e33 100644 --- a/src/test/scala/au/csiro/variantspark/misc/ReproducibilityTest.scala +++ b/src/test/scala/au/csiro/variantspark/misc/ReproducibilityTest.scala @@ -31,12 +31,9 @@ class ReproducibilityTest extends SparkTest { val rfModel1 = RFModelTrainer.trainModel(features, label, params, 40, 20) val impAnalysis1 = new ImportanceAnalysis(sqlContext, features, rfModel1) val topVariables1 = impAnalysis1.importantVariables(20, false) - topVariables1.foreach(println) - println() val rfModel2 = RFModelTrainer.trainModel(features, label, params, 40, 20) val impAnalysis2 = new ImportanceAnalysis(sqlContext, features, rfModel2) val topVariables2 = impAnalysis2.importantVariables(20, false) - topVariables2.foreach(println) topVariables1.zip(topVariables2).foreach { p => assertEquals(p._1, p._2) } } }