Skip to content
Snippets Groups Projects
Commit 7a8a81d7 authored by WeichenXu's avatar WeichenXu Committed by Sean Owen
Browse files

[SPARK-17363][ML][MLLIB] fix MultivariantOnlineSummerizer.numNonZeros

## What changes were proposed in this pull request?

fix `MultivariantOnlineSummerizer.numNonZeros` method,
return `nnz` array, instead of  `weightSum` array

## How was this patch tested?

Existing test.

Author: WeichenXu <WeichenXu123@outlook.com>

Closes #14923 from WeichenXu123/fix_MultivariantOnlineSummerizer_numNonZeros.
parent d2fde6b7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment