systemml-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arijit chakraborty <ak...@hotmail.com>
Subject Table
Date Fri, 21 Apr 2017 11:00:20 GMT
Hi,


I was trying to understand what the "table" function does. In the documents, it says:


"Returns the contingency table of two vectors A and B. The resulting table F consists of max(A)
rows and max(B) columns."


Suppose I've 2 matrix A and B of this form:


A = matrix(1, 1, 10)
B = matrix(seq(10,1, -1), 10, 1)


I should have a matrix of form

C = matrix(1, 10, 1).


But I'm getting

C  = matrix(1, 1, 10).


Also, what is the difference between "Group form" and "Scalar form"?


Thank you!

Arijit

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