You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Shixiong Zhu (JIRA)" <ji...@apache.org> on 2014/05/26 07:22:02 UTC
[jira] [Updated] (SPARK-1925) Typo in
org.apache.spark.mllib.tree.DecisionTree.isSampleValid
[ https://issues.apache.org/jira/browse/SPARK-1925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shixiong Zhu updated SPARK-1925:
--------------------------------
Description:
I believe this is a typo:
if ((level > 0) & (parentFilters.length == 0)) {
return false
}
Should use "&&" here.
was:
I believe this is a type:
if ((level > 0) & (parentFilters.length == 0)) {
return false
}
Should use "&&" here.
> Typo in org.apache.spark.mllib.tree.DecisionTree.isSampleValid
> --------------------------------------------------------------
>
> Key: SPARK-1925
> URL: https://issues.apache.org/jira/browse/SPARK-1925
> Project: Spark
> Issue Type: Bug
> Components: MLlib
> Reporter: Shixiong Zhu
> Priority: Minor
> Labels: easyfix
>
> I believe this is a typo:
> if ((level > 0) & (parentFilters.length == 0)) {
> return false
> }
> Should use "&&" here.
--
This message was sent by Atlassian JIRA
(v6.2#6252)