Repository: incubator-systemml Updated Branches: refs/heads/master 17134646c -> ee33ec62d
[MINOR] Remove non-existent OutlierWrapper and SGDWrapper references Closes $419. Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-systemml/commit/ee33ec62 Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/ee33ec62 Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/ee33ec62 Branch: refs/heads/master Commit: ee33ec62d2b8184e39b7de4877cfef0ef064546c Parents: 1713464 Author: Deron Eriksson <[email protected]> Authored: Tue Mar 7 07:44:31 2017 -0800 Committer: Deron Eriksson <[email protected]> Committed: Tue Mar 7 07:44:31 2017 -0800 ---------------------------------------------------------------------- src/test/scripts/functions/external/Outlier.dml | 41 ------------------- .../scripts/functions/external/SGDMFTest.dml | 43 -------------------- .../scripts/functions/unary/matrix/QRsolve.dml | 3 -- 3 files changed, 87 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/ee33ec62/src/test/scripts/functions/external/Outlier.dml ---------------------------------------------------------------------- diff --git a/src/test/scripts/functions/external/Outlier.dml b/src/test/scripts/functions/external/Outlier.dml deleted file mode 100644 index 1e0668d..0000000 --- a/src/test/scripts/functions/external/Outlier.dml +++ /dev/null @@ -1,41 +0,0 @@ -#------------------------------------------------------------- -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -#------------------------------------------------------------- - - -# Note this script is externalized to customers, please do not change w/o consulting component owner. -# How to invoke this dml script Outlier.dml? -# Assume OUTLIER_HOME is set to the home of the dml script -# Assume input and output directories are on hdfs as INPUT_DIR and OUTPUT_DIR -# Assume rows = 100, cols = 10 for input matrix M -# hadoop jar SystemML.jar -f $OUTLIER_HOME/Outlier.dml -args "$INPUT_DIR/M" 100 10 "$OUPUT_DIR/o" - -outliers = externalFunction(Matrix[Double] D, Integer m, Integer k) -return (Matrix[Double] C) -implemented in (classname="org.apache.sysml.udf.lib.OutlierWrapper",execlocation="master") - -M = read( $1, rows=$2, cols=$3, format="text"); - -k = 2; -m = 5; - -o = outliers(M,m,k); - -write(o, $4, format="text"); \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/ee33ec62/src/test/scripts/functions/external/SGDMFTest.dml ---------------------------------------------------------------------- diff --git a/src/test/scripts/functions/external/SGDMFTest.dml b/src/test/scripts/functions/external/SGDMFTest.dml deleted file mode 100644 index 5498978..0000000 --- a/src/test/scripts/functions/external/SGDMFTest.dml +++ /dev/null @@ -1,43 +0,0 @@ -#------------------------------------------------------------- -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -#------------------------------------------------------------- - -sgd = externalFunction(Matrix[Double] V, Integer n, Integer m, Integer e, Integer factors) -return (Matrix[Double] W, Matrix[Double] tH) -implemented in (classname="org.apache.sysml.udf.lib.SGDWrapper", execlocation="master") - -#n X m is the number of blocks the ratings matrix is divided into -#each block is of size rows(V)/n X cols(V)/m cells -n = 5; -m = 5; -# maximum number of (outer) iterations -max_epochs = 10; -# number of latent factors -latent_factors = 5; - -V = read("$$indir$$V", rows=$$rows$$, cols=$$cols$$, format="text"); - -#invokation returns W and transpose of H -[W, tH] = sgd(V, n, m, max_epochs, latent_factors) - -#ith row in W contains ith user's factors -write(W, "$$outdir$$W", format="text"); -#jth row in H contains jth item's factors -write(tH, "$$outdir$$tH", format="text"); http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/ee33ec62/src/test/scripts/functions/unary/matrix/QRsolve.dml ---------------------------------------------------------------------- diff --git a/src/test/scripts/functions/unary/matrix/QRsolve.dml b/src/test/scripts/functions/unary/matrix/QRsolve.dml index 6cd7f26..fb10d27 100644 --- a/src/test/scripts/functions/unary/matrix/QRsolve.dml +++ b/src/test/scripts/functions/unary/matrix/QRsolve.dml @@ -21,9 +21,6 @@ # Ax = b: solve for x via QR decomposition -#solve = externalFunction(Matrix[Double] a, Matrix[Double] b) return(Matrix[Double] c) -# implemented in (classname="org.apache.sysml.udf.lib.LinearSolverWrapperCP",exectype="mem") - A = read($1); b = read($2);
