Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix scalastyle
  • Loading branch information
Jacky Li committed Feb 3, 2015
commit 737d8bb7b3a2e1a8a4fe55d3be4dbf21d3b82c3c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ class FPGrowth private (
new FPGrowthModel(freqItemsets)
}

def run[Item: ClassTag, Basket <: JavaIterable[Item]](data: JavaRDD[Basket]): FPGrowthModel[Item] = {
def run[Item: ClassTag, Basket <: JavaIterable[Item]](
data: JavaRDD[Basket]): FPGrowthModel[Item] = {
this.run(data.rdd.map(_.asScala))
}

Expand Down