{"push_id":1597043187,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"926543664f9d785e70f8314ed6ecc6ecda96d0f4","before":"9991c2dad6d09d77d5a61e4c4dcd1770e5d984d4","commits":[{"sha":"926543664f9d785e70f8314ed6ecc6ecda96d0f4","author":{"name":"wm624@hotmail.com","email":"b6c6222622ee4c4512cfd0b24fc74f0642b6e399@hotmail.com"},"message":"[SPARK-19382][ML] Test sparse vectors in LinearSVCSuite\n\n## What changes were proposed in this pull request?\n\nAdd unit tests for testing SparseVector.\n\nWe can't add mixed DenseVector and SparseVector test case, as discussed in JIRA 19382.\n\n def merge(other: MultivariateOnlineSummarizer): this.type = {\nif (this.totalWeightSum != 0.0 && other.totalWeightSum != 0.0) {\nrequire(n == other.n, s\"Dimensions mismatch when merging with another summarizer. \" +\ns\"Expecting $n but got $\n{other.n}\n\n.\")\n\n## How was this patch tested?\n\nUnit tests\n\nAuthor: wm624@hotmail.com <wm624@hotmail.com>\nAuthor: Miao Wang <wangmiao1981@users.noreply.github.com>\n\nCloses #16784 from wangmiao1981/bk.","distinct":true,"url":"https://api.github.com/repos/apache/spark/commits/926543664f9d785e70f8314ed6ecc6ecda96d0f4"}]}
{"actor":{"display_login":"asfgit"}}