Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function = main_xls_input(file, m, sigma, gamma, thres, nei);
- clc;clear;%close all;
- [num txt raw] = xlsread('wrap.xls');
- s = size(num);
- feature = num(:,s(2)-1);
- N = s(1);
- f = num(:,s(2));
- %% parameters
- m = ceil(N*.4); % sampling size
- sigma = 0.01;
- gamma = 1; % regularizer for optimization
- thres = 0.1;
- nei = 3;
- fprintf('Sample size: %d\n', m);
- fprintf('number of estimations: %d\n', N-m);
- fprintf('Thresholding edges less than: %f\n', thres);
- fprintf('Constructing %d - neighbor graph: %f\n', nei);
Advertisement