Skip to content

Commit

Permalink
remove blank lines
Browse files Browse the repository at this point in the history
  • Loading branch information
chouqin committed Oct 19, 2014
1 parent ffc920f commit 8dc28ab
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1023,8 +1023,6 @@ object DecisionTree extends Serializable with Logging {
/**
* Find splits for a continuous feature
* NOTE: Returned number of splits is set based on `featureSamples` and
* may be different with `numSplits`.
* NOTE: Returned number of splits is set based on `featureSamples` and
* could be different from the specified `numSplits`.
* The `numSplits` attribute in the `DecisionTreeMetadata` class will be set accordingly.
* @param featureSamples feature values of each sample
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ class DecisionTreeSuite extends FunSuite with LocalSparkContext {
assert(splits(1) === 3.0)
}


// find splits when most samples close to the maximum
{
val fakeMetadata = new DecisionTreeMetadata(1, 0, 0, 0,
Expand All @@ -163,7 +162,6 @@ class DecisionTreeSuite extends FunSuite with LocalSparkContext {
assert(fakeMetadata.numBins(0) === 2)
assert(splits(0) === 1.0)
}

}

test("Multiclass classification with unordered categorical features:" +
Expand Down

0 comments on commit 8dc28ab

Please sign in to comment.