본문 바로가기

KNN-regression Super simple K-NN regression algorithm in MATLABmain.mrange = 1;xall = [1 3 5 7 9 11 13 20 21 23 24 25 30]'*range;yall = [0 3 2 6 1 0 2 4 5 6 10 5 0]';xs = linspace(0, 30*range, 100)';k = 5;func = @(X)(get_knnregression(X, xall, yall, k));outs = func(xs); figure(1); clf; hold on;plot(xall, yall, 'ko', 'MarkerSize', 15, 'LineWidth', 2);plot(xs, outs, 'b-', 'LineWidth', 2);title(sprintf('KNN REGRE.. 더보기
Another Reject from ICRA 2017 Another counter-example collected.. Review 1 (BAD, BAD, BAD) This paper proposes intention aware apprenticeship learning (IAAL) for planning actions in cooperative human-robot settings. This addresses the dual problem of understanding human intention, and then planning actions based on this. A Gaussian process model is used for intention inference, once the different demonstrations have been clu.. 더보기
TensorFlow-trained network in MATLAB TensorFlow Code MATLAB Codemain.mccc %% LOAD TENSORFLOW WEIGHTS ccc % LOAD TRAINED NETWORK PARAMETERS l = load('data/mlp.mat'); % MLP FORWARD PATH out = mlp(l.testimg, l.w1, l.w2, l.wout ... , l.b1, l.b2, l.bout); [~, pred] = max(out, [], 2); [~, answ] = max(l.testlabel, [], 2); % CHECK TEST ACCUARACY iseq = (answ == pred); acc = mean(iseq); fprintf('TEST ACCURACY IS %.2f%% \n', acc*100); mlp.mf.. 더보기
도커와 텐서플로우 설치하기 #. 우분투를 받는다. (16.04 64bit Desktop)http://releases.ubuntu.com/16.04/ # USB에 이미지를 쓰기 위한 프로그램을 받는다. https://sourceforge.net/projects/win32diskimager/?source=typ_redirect # 설치를 한다. # 이제 진짜 시작이다. sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgradesudo apt-get install make cmake gitsudo apt-get install dkms build-essential linux-headers-generic #아래 부분을 추가/수정한다. sudo gedit /etc/def.. 더보기