Questions tagged [systemml]

for questions about SystemML's declarative large-scale machine learning

Apache SystemML is a framework for large scale machine learning. Algorithms are specified using the Declarative Machine Learning (DML) language, which has an R-like syntax and built-in support for linear algebra, mathematical and I/O operations. DML is compiled and optimized into a program for distributed execution over Spark or Hadoop.

SystemML uses database compression techniques to allow in-memory computation over large datasets that would otherwise require streaming computation.

References:

21 questions
4
votes
1 answer

How to train a neural network autoencoder (Keras) on Spark dataframe

I created a very large Spark Dataframe with PySpark on my cluster, which is too big to fit into memory. I also have an autoencoder model with Keras, which takes in a Pandas dataframe (in-memory object). What is the best way to bring those two…
BobBetter
  • 195
  • 3
  • 14
3
votes
3 answers

SystemML:Cannot import the submodule mllearn (and therefore Keras2DML function)

I am using IBM Watson Studio (Default spark python environment) and trying to convert a Keras model to systemml DML and train it on Spark. !pip install systemml import systemml this executes just fine. But this - from systemml import mllearn…
1
vote
1 answer

What's the difference between sparkML and systemML?

What's the difference between spark ML and system ML ? There is Problem solved by both system ml and spark ml in apache spark engine on IBM, want to know what the main difference ?
1
vote
1 answer

Error while running Systemml ,Can not import imap

Hi I'm trying to use systemml for keras parallelization in IBMcloud but when I run the code: sysml_model = Keras2DML(spark, keras_Model, input_shape=(1,1), weights='weights_dir', batch_size=batch_size, max_iter=max_iter, test_interval=0,…
Farhad
  • 147
  • 2
  • 9
1
vote
0 answers

Traing a keras model on spark by uisng a 3d-shape spark dataframe

I am training to write a distributed keras model in which both data and the model itself could be run on spark in parallel. The problem is that, I am working with 3-d shape image data as input, but I am not sure how to make dataframe from my 3d…
Allianz1
  • 31
  • 2
1
vote
1 answer

which() Function in SystemML

I’m a developer want to use SystemMl for running R-Code from our business people on a Spark cluster. I’ve studied http://apache.github.io/systemml/dml-language-reference , however, haven’t found a implementation of the R function “which” or any…
Qnob
  • 31
  • 4
1
vote
1 answer

SystemML load file from HDFS?

How can I load a csv file from HDFS in systemML DSL? I tried some like: X = read("hdfs://ip-XXX-XXX-XXX-XXX:9000/SystemML/data/NN_X_100_10.csv"); And I checked the file is actually located in this HDFS position. When I run the dsl by: …
1
vote
1 answer

SystemML Decision Tree - "NUMBER OF SAMPLES AT NODE 1.0 CANNOT BE REDUCED TO MATCH 10"

I am trying to run a decision tree on SystemML standalone version on Windows (https://github.com/apache/incubator-systemml/blob/master/scripts/algorithms/decision-tree.dml) but I keep receiving the error "NUMBER OF SAMPLES AT NODE 1.0 CANNOT BE…
0
votes
2 answers

How to run example systemml code on e.g. IBM Watson Studio

I'm trying to follow the quide https://towardsdatascience.com/how-to-train-your-neural-networks-in-parallel-with-keras-and-apache-spark-ea8a3f48cae6# to try out keras with systemml and spark. Anyway I could not find the mentioned free spark plan on…
Idefix
  • 15
  • 6
0
votes
1 answer

convert formula into DML in SystemML (Java)

How would you convert this formula. formula = sum(U' (W . (U S))) Legend ' transpose of a matrix * matrix-matrix multiplication . scalar multiplication from python u = np.random.rand(1000,10000) s = np.random.rand(10000,1000) w =…
Bbrown44
  • 29
  • 6
0
votes
1 answer

SystemML build failed on MacOS

I recently started to contribute in SystemML. When I tried build the systemml source by maven in my macbook, build fails everytime. It seems it has some issue with scala but I cannot figure it out. Tried changing scala version, reinstalling sbt,…
Govinda Malavipathirana
  • 1,095
  • 2
  • 11
  • 29
0
votes
1 answer

NoneType has no attribute 'select' KerasDML SystemML

Im have some issue while running example Keras2DML code in this page. While running the code, i've got this error: Traceback (most recent call last): File "/home/fregy/kerasplayground/sysml/examplenn.py", line 12, in sysml_model =…
Fregy
  • 111
  • 1
  • 7
0
votes
1 answer

systemML:'JavaPackage' is not callable. when I use MLContext

I follow the tutorial from the website,I choose the "Sample notebook"--Deep Learning Image Classification,(look here) and when I run ml = MLContext(sc), errors occur as…
C.Y.Liao
  • 1
  • 1
0
votes
1 answer

Pyspark Systemml writing/reading from /tmp

I am running a Flask App with a systemml SVM component through pyspark. The app runs for about a day or so, then it begins to error out whenever the SVM is used to make a prediction. The error that is thrown is: Caused by:…
DMAR
  • 200
  • 1
  • 1
  • 7
0
votes
1 answer

Apache SystemML scalar-martix (elementwise) multiplication not working

please consider the following code: #update W1 = W1 - learningRate * dJdW1 W2 = W2 - learningRate * dJdW2 Where learningRate is double and dJdW1/dJdW1 2d matrices. I'm getting this error: ERROR: Runtime error in program block generated from…
Romeo Kienzler
  • 3,373
  • 3
  • 36
  • 58
1
2