Hello,
I have problems setting up dev environment to work with python DML.

Step taken:

cd systemml
mvn clean package
cd src/main/python/
sudo pip3 install -e .

Sample Code that I ran,

#!/usr/bin/env python3

import numpy as np
import systemml as sml
from pyspark import SparkContext

sc = SparkContext("local")
ml = sml.MLContext(sc)
m1 = sml.matrix(np.ones((3, 3)) + 2)


Error:
https://gist.github.com/krishnakalyan3/efa93053a1c4fa88fa2569c71ff24069
(TypeError: 'JavaPackage' object is not callable)

Some Questions
a) How can I resolve this error?.
b) Can I use MLContext context in standalone mode?.

Basically I want to work on this
https://issues.apache.org/jira/browse/SYSTEMML-976. So that I can test my
changes.

Thank you so much,
Krishna

Reply via email to