Skip to content

Commit 577945b

Browse files
committed
remove unused imports from NB
1 parent 3d299bc commit 577945b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

mllib/src/main/scala/org/apache/spark/mllib/classification/NaiveBayes.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,10 @@ package org.apache.spark.mllib.classification
2020
import breeze.linalg.{DenseMatrix => BDM, DenseVector => BDV, argmax => brzArgmax, sum => brzSum}
2121

2222
import org.apache.spark.annotation.Experimental
23-
import org.apache.spark.{Logging, SparkContext}
23+
import org.apache.spark.Logging
2424
import org.apache.spark.SparkContext._
2525
import org.apache.spark.mllib.linalg.Vector
2626
import org.apache.spark.mllib.regression.LabeledPoint
27-
import org.apache.spark.mllib.util.MLUtils
2827
import org.apache.spark.rdd.RDD
2928

3029
/**

0 commit comments

Comments
 (0)