From 25d94aa8aabb8ac3e8bbea0bc439ea6148444cc8 Mon Sep 17 00:00:00 2001 From: leochanj Date: Wed, 21 Oct 2020 01:52:54 -0400 Subject: debug libextra and remove matlab --- SD-VBS/benchmarks/svm/src/matlab/cal_learned_func.m | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 SD-VBS/benchmarks/svm/src/matlab/cal_learned_func.m (limited to 'SD-VBS/benchmarks/svm/src/matlab/cal_learned_func.m') diff --git a/SD-VBS/benchmarks/svm/src/matlab/cal_learned_func.m b/SD-VBS/benchmarks/svm/src/matlab/cal_learned_func.m deleted file mode 100644 index de0804b..0000000 --- a/SD-VBS/benchmarks/svm/src/matlab/cal_learned_func.m +++ /dev/null @@ -1,11 +0,0 @@ -function ret=cal_learned_func(k, a, b, N, Y, X,dim) - -s=0; -for i=1:N - if a(i,1) > 0 - s = s +a(i,1)*Y(i,1)*polynomial(3,X(i,:),X(k,:),dim); - end -end -s = s - b; -ret=s; - -- cgit v1.2.2