Skip to content

Conversation

@mengxr
Copy link
Contributor

@mengxr mengxr commented Aug 17, 2014

There is a bug determining the column index. @dorx

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should use zipWithIndex before slicing.

@SparkQA
Copy link

SparkQA commented Aug 17, 2014

QA tests have started for PR 1997 at commit 8fc2ab2.

  • This patch merges cleanly.

@mengxr mengxr changed the title [SPARK-3807][MLLIB] fix col indexing bug and add a check for number of distinct values [SPARK-3807][MLLIB] fix col indexing bug in chi-square and add a check for number of distinct values Aug 17, 2014
@mengxr mengxr changed the title [SPARK-3807][MLLIB] fix col indexing bug in chi-square and add a check for number of distinct values [SPARK-3087][MLLIB] fix col indexing bug in chi-square and add a check for number of distinct values Aug 17, 2014
@SparkQA
Copy link

SparkQA commented Aug 17, 2014

QA tests have finished for PR 1997 at commit 8fc2ab2.

  • This patch passes unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@jkbradley
Copy link
Member

@mengxr LGTM! I didn't find any bugs or style issues.

@mengxr
Copy link
Contributor Author

mengxr commented Aug 18, 2014

Thanks! I've merged this into master and branch-1.1.

@asfgit asfgit closed this in c77f406 Aug 18, 2014
asfgit pushed a commit that referenced this pull request Aug 18, 2014
…k for number of distinct values

There is a bug determining the column index. dorx

Author: Xiangrui Meng <[email protected]>

Closes #1997 from mengxr/chisq-index and squashes the following commits:

8fc2ab2 [Xiangrui Meng] fix col indexing bug and add a check for number of distinct values

(cherry picked from commit c77f406)
Signed-off-by: Xiangrui Meng <[email protected]>
xiliu82 pushed a commit to xiliu82/spark that referenced this pull request Sep 4, 2014
…k for number of distinct values

There is a bug determining the column index. dorx

Author: Xiangrui Meng <[email protected]>

Closes apache#1997 from mengxr/chisq-index and squashes the following commits:

8fc2ab2 [Xiangrui Meng] fix col indexing bug and add a check for number of distinct values
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants