systemml-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krishna Kalyan <krishnakaly...@gmail.com>
Subject Setting up python3 dev environment
Date Sun, 10 Sep 2017 03:09:10 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message