Skip to content

Commit 564eb11

Browse files
committed
cleanup GetCategorical Map
1 parent 8b4f3ce commit 564eb11

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/main/java/org/apache/sysds/runtime/instructions/cp/BinaryFrameScalarCPInstruction.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,18 +64,14 @@ public void processGetCategorical(ExecutionContext ec, FrameBlock f, ScalarObjec
6464
// MatrixBlock ret = new MatrixBlock();
6565
int nCol = f.getNumColumns();
6666

67-
// System.out.println(spec);
6867
JSONObject jSpec = new JSONObject(spec.getStringValue());
69-
// System.out.println(jSpec);
68+
7069
if(!jSpec.containsKey("ids") && jSpec.getBoolean("ids")) {
7170
throw new DMLRuntimeException("not supported non ID based spec for get_categorical_mask");
7271
}
7372

7473
String recode = TfMethod.RECODE.toString();
7574
String dummycode = TfMethod.DUMMYCODE.toString();
76-
String hashCode = TfMethod.HASH.toString();
77-
78-
System.out.println(jSpec.keySet());
7975

8076
int[] lengths = new int[nCol];
8177
// assume all columns encode to at least one column.

0 commit comments

Comments
 (0)