[
https://issues.apache.org/jira/browse/SYSTEMML-903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nick Pentreath updated SYSTEMML-903:
------------------------------------
Description:
Hitting this exception when doing something (admittedly trivial) in Python API,
following on from the website example code:
{code}
import numpy as np
from sklearn import datasets
import systemml as sml
from pyspark.sql import SQLContext
# Load the diabetes dataset
diabetes = datasets.load_diabetes()
# Use only one feature
diabetes_X = diabetes.data[:, np.newaxis, 2]
## -- End pasted text --
In [16]: X = sml.matrix(diabetes_X)
In [17]: diff = X - X
In [18]: diff.toNumPyArray()
{code}
> [Python API] Sparse to dense conversion is not yet implemented
> --------------------------------------------------------------
>
> Key: SYSTEMML-903
> URL: https://issues.apache.org/jira/browse/SYSTEMML-903
> Project: SystemML
> Issue Type: Bug
> Reporter: Nick Pentreath
>
> Hitting this exception when doing something (admittedly trivial) in Python
> API, following on from the website example code:
> {code}
> import numpy as np
> from sklearn import datasets
> import systemml as sml
> from pyspark.sql import SQLContext
> # Load the diabetes dataset
> diabetes = datasets.load_diabetes()
> # Use only one feature
> diabetes_X = diabetes.data[:, np.newaxis, 2]
> ## -- End pasted text --
> In [16]: X = sml.matrix(diabetes_X)
> In [17]: diff = X - X
> In [18]: diff.toNumPyArray()
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)