Skip to content

Commit

Permalink
Make the points for a test be fewer
Browse files Browse the repository at this point in the history
  • Loading branch information
yu-iskw committed Jul 1, 2015
1 parent c758692 commit 92c3efc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public void setUp() {
sc = new JavaSparkContext("local", "JavaKMeansSuite");
sql = new SQLContext(sc);

dataset = KMeansSuite.generateKMeansData(sql, 1000, 3, k);
dataset = KMeansSuite.generateKMeansData(sql, 50, 3, k);
}

@After
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class KMeansSuite extends SparkFunSuite with MLlibTestSparkContext {
override def beforeAll(): Unit = {
super.beforeAll()

dataset = KMeansSuite.generateKMeansData(sqlContext, 1000, 3, k)
dataset = KMeansSuite.generateKMeansData(sqlContext, 50, 3, k)
}

test("default parameters") {
Expand Down

0 comments on commit 92c3efc

Please sign in to comment.