[ https://issues.apache.org/jira/browse/SPARK-8717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen resolved SPARK-8717. ------------------------------ Resolution: Duplicate This was actually a duplicate of an issue already fixed. Look at the docs in master. > Update mllib-data-types docs to include missing "matrix" Python examples > ------------------------------------------------------------------------ > > Key: SPARK-8717 > URL: https://issues.apache.org/jira/browse/SPARK-8717 > Project: Spark > Issue Type: Documentation > Components: Documentation, MLlib, PySpark > Reporter: Rosstin Murphy > Priority: Minor > > Currently, the documentation for MLLib Data Types (docs/mllib-data-types.md > in the repo, https://spark.apache.org/docs/latest/mllib-data-types.html in > the latest online docs) stops listing Python examples at "Labeled point". > "Local vector" and "Labeled point" have Python examples, however none of the > "matrix" entries have Python examples. > The "matrix" entries could be updated to include python examples. > I'm not 100% sure that all the matrices currently have implemented Python > equivalents, but I'm pretty sure that at least the first one ("Local matrix") > could have an entry. > from pyspark.mllib.linalg import DenseMatrix > dm = DenseMatrix(3, 2, [1.0, 3.0, 5.0, 2.0, 4.0, 6.0]) -- 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