File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
mllib/src/test/scala/org/apache/spark/mllib/tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -253,8 +253,8 @@ class DecisionTreeSuite extends FunSuite with LocalSparkContext {
253253
254254 val stats = bestSplits(0 )._2
255255 assert(stats.gain > 0 )
256- assert(stats.predict > 0.4 )
257- assert(stats.predict < 0.5 )
256+ assert(stats.predict > 0.5 )
257+ assert(stats.predict < 0.7 )
258258 assert(stats.impurity > 0.2 )
259259 }
260260
@@ -280,8 +280,8 @@ class DecisionTreeSuite extends FunSuite with LocalSparkContext {
280280
281281 val stats = bestSplits(0 )._2
282282 assert(stats.gain > 0 )
283- assert(stats.predict > 0.4 )
284- assert(stats.predict < 0.5 )
283+ assert(stats.predict > 0.5 )
284+ assert(stats.predict < 0.7 )
285285 assert(stats.impurity > 0.2 )
286286 }
287287
You can’t perform that action at this time.
0 commit comments