[ https://issues.apache.org/jira/browse/SPARK-4956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiangrui Meng closed SPARK-4956. -------------------------------- Resolution: Won't Fix I'm closing this PR per discussion on the PR page. > Vector Initialization error when initialize a Sparse Vector by calling > Vectors.sparse(size, indices, values) > ------------------------------------------------------------------------------------------------------------ > > Key: SPARK-4956 > URL: https://issues.apache.org/jira/browse/SPARK-4956 > Project: Spark > Issue Type: Bug > Components: MLlib > Affects Versions: 1.3.0 > Reporter: liaoyuxi > Priority: Minor > Labels: patch > Original Estimate: 1m > Remaining Estimate: 1m > > When I initialize a sparse vector by calling the Vectors.sparse(size, > indices, values), the vector will be all zeros if the indices is not ordered > without giving any error or warning. > A simple sentence to order the indicies with values can fix this bug -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org