plateform stringclasses 1
value | repo_name stringlengths 13 113 | name stringlengths 3 74 | ext stringclasses 1
value | path stringlengths 12 229 | size int64 23 843k | source_encoding stringclasses 9
values | md5 stringlengths 32 32 | text stringlengths 23 843k |
|---|---|---|---|---|---|---|---|---|
github | jbukala/heart_rate_head_motion-master | all.m | .m | heart_rate_head_motion-master/MATLABfiles/biosig/biosig4matlab/maybe-missing/freemat3.5/all.m | 2,136 | utf_8 | f5136c2223c98e094d8dff1a6e16ada2 | %!
%@Module ALL All True Function
%@@Section ELEMENTARY
%@@Usage
%Reduces a logical array along a given DIMension by testing for all
%logical 1s. The general
%syntax for its use is
%@[
% y = all(x,d)
%@]
%where @|x| is an @|n|-DIMensions array of @|logical| type.
%The output is of @|logical| type. The argument @|d|... |
github | jbukala/heart_rate_head_motion-master | strmatch.m | .m | heart_rate_head_motion-master/MATLABfiles/biosig/biosig4matlab/maybe-missing/freemat3.5/strmatch.m | 1,921 | utf_8 | f94bbd2c6085e1894851d1a8a2e9c210 | %% Copyright (C) 2000 Paul Kienzle
%% Jun 2003 Alois Schloegl, support for cell arrays.
%%
%% This program is free software; you can redistribute it and/or modify
%% it under the terms of the GNU General Public License as published by
%% the Free Software Foundation; either version 2 of the License, or
%% ... |
github | jbukala/heart_rate_head_motion-master | realmax.m | .m | heart_rate_head_motion-master/MATLABfiles/biosig/biosig4matlab/maybe-missing/freemat3.5/realmax.m | 876 | utf_8 | 297079cef0c205935c87a96223d705bf | %% Copyright (C) 2008 Alois Schloegl
%%
%% This program is free software; you can redistribute it and/or modify
%% it under the terms of the GNU General Public License as published by
%% the Free Software Foundation; either version 2 of the License, or
%% (at your option) any later version.
%%
%% This program is distr... |
github | jbukala/heart_rate_head_motion-master | int2str.m | .m | heart_rate_head_motion-master/MATLABfiles/biosig/biosig4matlab/maybe-missing/freemat3.5/int2str.m | 853 | utf_8 | 9d0a536a1256406a26d86f2a50a73a28 | %% Copyright (C) 2007 Alois Schloegl
%%
%% This program is free software; you can redistribute it and/or modify
%% it under the terms of the GNU General Public License as published by
%% the Free Software Foundation; either version 2 of the License, or
%% (at your option) any later version.
%%
%% This program is distr... |
github | jbukala/heart_rate_head_motion-master | realmin.m | .m | heart_rate_head_motion-master/MATLABfiles/biosig/biosig4matlab/maybe-missing/freemat3.5/realmin.m | 883 | utf_8 | 7cbe999462feecefbdd39693ff60d121 | %% Copyright (C) 2008 Alois Schloegl
%%
%% This program is free software; you can redistribute it and/or modify
%% it under the terms of the GNU General Public License as published by
%% the Free Software Foundation; either version 2 of the License, or
%% (at your option) any later version.
%%
%% This program is distr... |
github | jbukala/heart_rate_head_motion-master | fgetl.m | .m | heart_rate_head_motion-master/MATLABfiles/biosig/biosig4matlab/maybe-missing/freemat3.5/fgetl.m | 887 | utf_8 | c316f0323aa92119b508b19015474f75 | %% Copyright (C) 2008 Alois Schloegl
%%
%% This program is free software; you can redistribute it and/or modify
%% it under the terms of the GNU General Public License as published by
%% the Free Software Foundation; either version 2 of the License, or
%% (at your option) any later version.
%%
%% This program is distr... |
github | jbukala/heart_rate_head_motion-master | bilinear.m | .m | heart_rate_head_motion-master/MATLABfiles/biosig/biosig4matlab/maybe-missing/freemat3.5/bilinear.m | 4,530 | utf_8 | 35e434f13229c68b9f5022b3bb718e74 | %% Copyright (C) 2008 Alois Schloegl
%% $Id: bilinear.m,v 1.1 2008-01-19 21:55:45 schloegl Exp $
%% This function is part of BioSig http://biosig.sf.net
%% Originally, it was part of Octave. It was modified for the use with FreeMat
%%
%% This program is free software; you can redistribute it and/or modify
%% it under ... |
github | jbukala/heart_rate_head_motion-master | filter.m | .m | heart_rate_head_motion-master/MATLABfiles/biosig/biosig4matlab/maybe-missing/freemat3.5/filter.m | 1,344 | utf_8 | 5d47205293dae801894c696b7b6027a0 | %% Copyright (C) 2008 Alois Schloegl
%% $Id: filter.m,v 1.1 2008-01-19 21:55:45 schloegl Exp $
%% This function is part of BioSig http://biosig.sf.net
%% This function is needed, if your system does not provide it (e.g. FreeMat v3.5)
%%
%% This program is free software; you can redistribute it and/or modify
%% it unde... |
github | jbukala/heart_rate_head_motion-master | isfinite.m | .m | heart_rate_head_motion-master/MATLABfiles/biosig/biosig4matlab/maybe-missing/freemat3.5/isfinite.m | 613 | utf_8 | e26dca54376b244472c1463aa042336a | %% Copyright (C) 2008 Alois Schloegl
%% $Id: isfinite.m,v 1.1 2008-02-01 21:14:50 schloegl Exp $
%% This function is part of BioSig http://biosig.sf.net
%% Originally, it was part of Octave. It was modified for the use with FreeMat
%%
%% BioSig is free software; you can redistribute it and/or modify it
%% under the te... |
github | jbukala/heart_rate_head_motion-master | any.m | .m | heart_rate_head_motion-master/MATLABfiles/biosig/biosig4matlab/maybe-missing/freemat3.5/any.m | 2,220 | utf_8 | 8a637b1ce7f6bc5ca152029a93fffddd | %!
%@Module ANY Any True Function
%@@Section ELEMENTARY
%@@Usage
%Reduces a logical array along a given dimension by testing for any
%logical 1s. The general
%syntax for its use is
%@[
% y = any(x,d)
%@]
%where @|x| is an @|n|-dimensions array of @|logical| type.
%The output is of @|logical| type. The argument @|d|... |
github | jbukala/heart_rate_head_motion-master | lcm.m | .m | heart_rate_head_motion-master/MATLABfiles/biosig/biosig4matlab/maybe-missing/freemat3.5/lcm.m | 626 | utf_8 | 9a31f07e0c8389c14275efce65951b20 | %% Copyright (C) 2008 Alois Schloegl
%% $Id: lcm.m,v 1.1 2008-02-01 21:14:50 schloegl Exp $
%% This function is part of BioSig http://biosig.sf.net
%% Originally, it was part of Octave. It was modified for the use with FreeMat
%%
%% BioSig is free software; you can redistribute it and/or modify it
%% under the terms o... |
github | jbukala/heart_rate_head_motion-master | trace.m | .m | heart_rate_head_motion-master/MATLABfiles/biosig/biosig4matlab/maybe-missing/freemat3.5/trace.m | 1,001 | utf_8 | 1264baaf6b6e1c78c375dc1ce72bdd24 | %% Copyright (C) 2008 Alois Schloegl
%%
%% This program is free software; you can redistribute it and/or modify
%% it under the terms of the GNU General Public License as published by
%% the Free Software Foundation; either version 3 of the License, or
%% (at your option) any later version.
%%
%% This program is distr... |
github | jbukala/heart_rate_head_motion-master | sign.m | .m | heart_rate_head_motion-master/MATLABfiles/biosig/biosig4matlab/maybe-missing/freemat3.5/sign.m | 892 | utf_8 | 38e86763465452af4ace0d5c91d84302 | %% Copyright (C) 2008 Alois Schloegl
%%
%% This program is free software; you can redistribute it and/or modify
%% it under the terms of the GNU General Public License as published by
%% the Free Software Foundation; either version 2 of the License, or
%% (at your option) any later version.
%%
%% This program is distr... |
github | jbukala/heart_rate_head_motion-master | diff.m | .m | heart_rate_head_motion-master/MATLABfiles/biosig/biosig4matlab/maybe-missing/freemat3.5/diff.m | 1,297 | utf_8 | ec0fe247ed0991a61a782ad42e7c3fa8 | %% Copyright (C) 2008 Alois Schloegl
%%
%% This program is free software; you can redistribute it and/or modify
%% it under the terms of the GNU General Public License as published by
%% the Free Software Foundation; either version 2 of the License, or
%% (at your option) any later version.
%%
%% This program is distr... |
github | jbukala/heart_rate_head_motion-master | gcd.m | .m | heart_rate_head_motion-master/MATLABfiles/biosig/biosig4matlab/maybe-missing/freemat3.5/gcd.m | 637 | utf_8 | cb4eb6a56fcb254f7024d58a9927ade0 | %% Copyright (C) 2008 Alois Schloegl
%% $Id: gcd.m,v 1.1 2008-02-01 21:14:50 schloegl Exp $
%% This function is part of BioSig http://biosig.sf.net
%% Originally, it was part of Octave. It was modified for the use with FreeMat
%%
%% BioSig is free software; you can redistribute it and/or modify it
%% under the terms o... |
github | jbukala/heart_rate_head_motion-master | erfinv.m | .m | heart_rate_head_motion-master/MATLABfiles/biosig/biosig4matlab/maybe-missing/freemat3.5/erfinv.m | 1,298 | utf_8 | 2b50eead1679944c2a94bc424003ac96 | %% Copyright (C) 1994, 1995, 1996 Kurt Hornik
%% Copyright (C) 2008 Alois Schloegl
%% $Id: erfinv.m,v 1.3 2008-01-23 09:34:40 schloegl Exp $
%% This function is part of BioSig http://biosig.sf.net
%% Originally, it was part of Octave. It was modified for the use with FreeMat
%%
%% BioSig is free software; you can red... |
github | jbukala/heart_rate_head_motion-master | beta.m | .m | heart_rate_head_motion-master/MATLABfiles/biosig/biosig4matlab/maybe-missing/freemat3.5/beta.m | 1,589 | utf_8 | 29b42d05066a733b8f0c902ce12aea21 | %% Copyright (C) 2008 Alois Schloegl
%% $Id: beta.m,v 1.1 2008-01-19 21:55:45 schloegl Exp $
%% This function is part of BioSig http://biosig.sf.net
%% Originally, it was part of Octave. It was modified for the use with FreeMat
%%
%% This is free software; you can redistribute it and/or modify it
%% under the terms of... |
github | jbukala/heart_rate_head_motion-master | wilcoxon_test.m | .m | heart_rate_head_motion-master/MATLABfiles/biosig/biosig4matlab/t450_MultipleTestStatistic/wilcoxon_test.m | 2,820 | utf_8 | 2a4395d345a5792eee116a5d6f662083 | %% Copyright (C) 1995, 1996, 1997 Kurt Hornik
%% 2006, 2011 Alois Schloegl
%%
%% This file is part of Biosig.
%%
%% Biosig is free software; you can redistribute it and/or modify it
%% under the terms of the GNU General Public License as published by
%% the Free Software Foundation; either version 3, or... |
github | jbukala/heart_rate_head_motion-master | zahlen.m | .m | heart_rate_head_motion-master/MATLABfiles/biosig/biosig4matlab/t450_MultipleTestStatistic/zahlen.m | 1,560 | utf_8 | b65c51c493dbd707cf49629af881e164 | % M1-1 Zufallszahlen aus dem Intervall [1,N]
% The function [g] = zahlen(M,N) is a subfunction in the main-function fdp.m.
%For help use the main-function.
%
%
%Copyright (C) 2006 by Claudia Hemmelmann <claudia.hemmelmann@mti.uni-jena.de>
%Institute of Medical Statistics, Computer Sciences and Documantation
%University... |
github | jbukala/heart_rate_head_motion-master | u_test.m | .m | heart_rate_head_motion-master/MATLABfiles/biosig/biosig4matlab/t450_MultipleTestStatistic/u_test.m | 3,143 | utf_8 | 67d8af1525ff8daa618f71ee0a619fd5 | %% Copyright (C) 1995, 1996, 1997 Kurt Hornik
%%
%% This file is part of Octave.
%%
%% Octave is free software; you can redistribute it and/or modify it
%% under the terms of the GNU General Public License as published by
%% the Free Software Foundation; either version 2, or (at your option)
%% any later version.
%%
%... |
github | jbukala/heart_rate_head_motion-master | signtest.m | .m | heart_rate_head_motion-master/MATLABfiles/biosig/biosig4matlab/t450_MultipleTestStatistic/signtest.m | 2,961 | utf_8 | ac9d4edaffa15e03cf43948d0e5cdbc4 | %% Copyright (C) 1995, 1996, 1997 Kurt Hornik
%% 2006, 2011 Alois Schloegl
%%
%% This file is part of Octave.
%%
%% biosig is free software; you can redistribute it and/or modify it
%% under the terms of the GNU General Public License as published by
%% the Free Software Foundation; either version 3, or ... |
github | jbukala/heart_rate_head_motion-master | viewedf.m | .m | heart_rate_head_motion-master/MATLABfiles/biosig/biosig4matlab/viewer/viewedf.m | 78,079 | utf_8 | db42dc1e61248be20267f1c2c2e9cd2f | function viewedf(Action, ActOption)
% viewedf
% Display EDF (European Data Format) files
% This program requires Matlab Version >= 5.2 and should work with Matlab 6.x
%
% Command line functionality (note: all commands are case sensitive):
% viewedf : start program
% viewedf('OpenEDFFile', FILENAME) : open FILENAME
% vi... |
github | jbukala/heart_rate_head_motion-master | sviewer.m | .m | heart_rate_head_motion-master/MATLABfiles/biosig/biosig4matlab/viewer/sviewer.m | 77,317 | utf_8 | cd8b5b9e3d57950b380b10ad717c896d | function varargout = sviewer(varargin)
% SVIEWER
% Select HELP in the Info menu
%
% $Id: sviewer.m,v 1.16 2008-09-02 10:10:31 schloegl Exp $
% Copyright by (C) 2004 Franz Einspieler <znarfi5@hotmail.com> and
% (C) 2004,2008,2010 Alois Schloegl <a.schloegl@ieee.org>
% University of Technology Graz, Austria... |
github | jbukala/heart_rate_head_motion-master | sviewer_fileinfo.m | .m | heart_rate_head_motion-master/MATLABfiles/biosig/biosig4matlab/viewer/utils/sviewer_fileinfo.m | 4,709 | utf_8 | 1b3bda9ac2a07fb4f5a21958b01b1a1c | function varargout = sviewer_fileinfo(varargin)
% SVIEWER_FILEINFO
% Select HELP in the Info menu
%
% Version 1.0, November 2004
% Copyright by (C) Franz Einspieler <znarfi5@hotmail.com> and
% Alois Schloegl <a.schloegl@ieee.org>
% University of Technology Graz, Austria
%
% This is part of the BIOSI... |
github | jbukala/heart_rate_head_motion-master | sviewer_display.m | .m | heart_rate_head_motion-master/MATLABfiles/biosig/biosig4matlab/viewer/utils/sviewer_display.m | 7,648 | utf_8 | 8b3ec87c3550a88e19ad4b12e475c335 | function varargout = sviewer_display(varargin)
% SVIEWER_DISPLAY
% Select HELP in the Info menu
%
% Version 1.0, November 2004
% Copyright by (C) Franz Einspieler <znarfi5@hotmail.com> and
% Alois Schloegl <a.schloegl@ieee.org>
% University of Technology Graz, Austria
%
% This is part of the BIOSIG-... |
github | jbukala/heart_rate_head_motion-master | sviewer_channel_conf.m | .m | heart_rate_head_motion-master/MATLABfiles/biosig/biosig4matlab/viewer/utils/sviewer_channel_conf.m | 9,043 | utf_8 | 691daa6cfec092afed856f1b7906ee80 | function varargout = sviewer_channel_conf(varargin)
% SVIEWER_CHANNEL_CONF
% Select HELP in the Info menu
%
% Version 1.0, November 2004
% Copyright by (C) Franz Einspieler <znarfi5@hotmail.com> and
% Alois Schloegl <a.schloegl@ieee.org>
% University of Technology Graz, Austria
%
% This is part of t... |
github | jbukala/heart_rate_head_motion-master | sviewer_channel.m | .m | heart_rate_head_motion-master/MATLABfiles/biosig/biosig4matlab/viewer/utils/sviewer_channel.m | 6,722 | utf_8 | 39181a6146ab367c7ca3d83e10179ed8 | function varargout = sviewer_channel(varargin)
% SVIEWER_CHANNEL
% Select HELP in the Info menu
%
% Version 1.0, November 2004
% Copyright by (C) Franz Einspieler <znarfi5@hotmail.com> and
% Alois Schloegl <a.schloegl@ieee.org>
% University of Technology Graz, Austria
%
% This is part of the BIOSIG-... |
github | jbukala/heart_rate_head_motion-master | viewedf.m | .m | heart_rate_head_motion-master/MATLABfiles/biosig/viewer/viewedf.m | 78,079 | utf_8 | db42dc1e61248be20267f1c2c2e9cd2f | function viewedf(Action, ActOption)
% viewedf
% Display EDF (European Data Format) files
% This program requires Matlab Version >= 5.2 and should work with Matlab 6.x
%
% Command line functionality (note: all commands are case sensitive):
% viewedf : start program
% viewedf('OpenEDFFile', FILENAME) : open FILENAME
% vi... |
github | jbukala/heart_rate_head_motion-master | sviewer.m | .m | heart_rate_head_motion-master/MATLABfiles/biosig/viewer/sviewer.m | 77,317 | utf_8 | cd8b5b9e3d57950b380b10ad717c896d | function varargout = sviewer(varargin)
% SVIEWER
% Select HELP in the Info menu
%
% $Id: sviewer.m,v 1.16 2008-09-02 10:10:31 schloegl Exp $
% Copyright by (C) 2004 Franz Einspieler <znarfi5@hotmail.com> and
% (C) 2004,2008,2010 Alois Schloegl <a.schloegl@ieee.org>
% University of Technology Graz, Austria... |
github | jbukala/heart_rate_head_motion-master | sviewer_fileinfo.m | .m | heart_rate_head_motion-master/MATLABfiles/biosig/viewer/utils/sviewer_fileinfo.m | 4,709 | utf_8 | 1b3bda9ac2a07fb4f5a21958b01b1a1c | function varargout = sviewer_fileinfo(varargin)
% SVIEWER_FILEINFO
% Select HELP in the Info menu
%
% Version 1.0, November 2004
% Copyright by (C) Franz Einspieler <znarfi5@hotmail.com> and
% Alois Schloegl <a.schloegl@ieee.org>
% University of Technology Graz, Austria
%
% This is part of the BIOSI... |
github | jbukala/heart_rate_head_motion-master | sviewer_display.m | .m | heart_rate_head_motion-master/MATLABfiles/biosig/viewer/utils/sviewer_display.m | 7,648 | utf_8 | 8b3ec87c3550a88e19ad4b12e475c335 | function varargout = sviewer_display(varargin)
% SVIEWER_DISPLAY
% Select HELP in the Info menu
%
% Version 1.0, November 2004
% Copyright by (C) Franz Einspieler <znarfi5@hotmail.com> and
% Alois Schloegl <a.schloegl@ieee.org>
% University of Technology Graz, Austria
%
% This is part of the BIOSIG-... |
github | jbukala/heart_rate_head_motion-master | sviewer_channel_conf.m | .m | heart_rate_head_motion-master/MATLABfiles/biosig/viewer/utils/sviewer_channel_conf.m | 9,043 | utf_8 | 691daa6cfec092afed856f1b7906ee80 | function varargout = sviewer_channel_conf(varargin)
% SVIEWER_CHANNEL_CONF
% Select HELP in the Info menu
%
% Version 1.0, November 2004
% Copyright by (C) Franz Einspieler <znarfi5@hotmail.com> and
% Alois Schloegl <a.schloegl@ieee.org>
% University of Technology Graz, Austria
%
% This is part of t... |
github | jbukala/heart_rate_head_motion-master | sviewer_channel.m | .m | heart_rate_head_motion-master/MATLABfiles/biosig/viewer/utils/sviewer_channel.m | 6,722 | utf_8 | 39181a6146ab367c7ca3d83e10179ed8 | function varargout = sviewer_channel(varargin)
% SVIEWER_CHANNEL
% Select HELP in the Info menu
%
% Version 1.0, November 2004
% Copyright by (C) Franz Einspieler <znarfi5@hotmail.com> and
% Alois Schloegl <a.schloegl@ieee.org>
% University of Technology Graz, Austria
%
% This is part of the BIOSIG-... |
github | jbukala/heart_rate_head_motion-master | LMFsolve.m | .m | heart_rate_head_motion-master/MATLABfiles/SSD/LMFsolve.m | 9,775 | utf_8 | 8a76a79f73462109c348346466a3c71a | function [xf, S, cnt] = LMFsolve(varargin)
% LMFSOLVE Solve a Set of Nonlinear Equations in Least-Squares Sense.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% A solution is obtained by a shortened Fletcher version of the
% Levenberg-Maquardt algoritm for minimization of a sum of squares
% of equation residua... |
github | jbukala/heart_rate_head_motion-master | train_sc.m | .m | heart_rate_head_motion-master/MATLABfiles/NaN/inst/train_sc.m | 46,274 | utf_8 | 0425975648830a5f833958b28dc6206c | function [CC]=train_sc(D,classlabel,MODE,W)
% Train a (statistical) classifier
%
% CC = train_sc(D,classlabel)
% CC = train_sc(D,classlabel,MODE)
% CC = train_sc(D,classlabel,MODE, W)
% weighting D(k,:) with weight W(k) (not all classifiers supported weighting)
%
% CC contains the model parameters of a classifier w... |
github | jbukala/heart_rate_head_motion-master | fss.m | .m | heart_rate_head_motion-master/MATLABfiles/NaN/inst/fss.m | 5,572 | utf_8 | a0597f666fb0be19395e292a0b1f6d03 | function [idx,score] = fss(D,cl,N,MODE)
% FSS - feature subset selection and feature ranking
% the method is motivated by the max-relevance-min-redundancy (mRMR)
% approach [1]. However, the default method uses partial correlation,
% which has been developed from scratch. PCCM [3] describes
% a similar idea, ... |
github | shreenibhar/larsenMRI-master | larsen.m | .m | larsenMRI-master/cpu/larsen.m | 3,546 | utf_8 | 88f4c654290600d36e25d1b8616e5087 | % Change Log
% L1 norm(b) changed everywhere to L1 norm(b(A))
% Implemented correction equations
function [b, l1_out, err_out, g_out, step] = larsen(flat_mri, model_index, max_l1, min_l2, g, max_ss, max_steps)
X = double(flat_mri);
X(:, model_index) = [];
X = X(1: end - 1, :);
y = flat_mri(2: end, model_index);
X = z... |
github | ChielBruin/tomatenplukkers-master | extractROI.m | .m | tomatenplukkers-master/matlab/extractROI.m | 2,753 | utf_8 | 27fa9d7e429b9aa9ce8d6b2a498b3ad3 | % This function converts the ROI table to the correct file structure
% (see: https://sgsai.blogspot.nl/2016/02/training-faster-r-cnn-on-custom-dataset.html)
% -table > The exported table
% -path > The location to store the annotation files
% -preview > Show the result when true
function extractROI(table, path, preview)... |
github | yihui-he/Parsing-Natural-Scenes-and-Natural-Language-with-Recursive-Neural-Networks-master | WolfeLineSearch.m | .m | Parsing-Natural-Scenes-and-Natural-Language-with-Recursive-Neural-Networks-master/code/tools/minFunc/WolfeLineSearch.m | 11,395 | utf_8 | 3d2acf1139093fe11df95ccdf888aab8 | function [t,f_new,g_new,funEvals,H] = WolfeLineSearch(...
x,t,d,f,g,gtd,c1,c2,LS,maxLS,tolX,debug,doPlot,saveHessianComp,funObj,varargin)
%
% Bracketing Line Search to Satisfy Wolfe Conditions
%
% Inputs:
% x: starting location
% t: initial step size
% d: descent direction
% f: function value at st... |
github | yihui-he/Parsing-Natural-Scenes-and-Natural-Language-with-Recursive-Neural-Networks-master | minFunc_processInputOptions.m | .m | Parsing-Natural-Scenes-and-Natural-Language-with-Recursive-Neural-Networks-master/code/tools/minFunc/minFunc_processInputOptions.m | 3,704 | utf_8 | dc74c67d849970de7f16c873fcf155bc |
function [verbose,verboseI,debug,doPlot,maxFunEvals,maxIter,tolFun,tolX,method,...
corrections,c1,c2,LS_init,LS,cgSolve,qnUpdate,cgUpdate,initialHessType,...
HessianModify,Fref,useComplex,numDiff,LS_saveHessianComp,...
DerivativeCheck,Damped,HvFunc,bbType,cycle,...
HessianIter,outputFcn,useMex,use... |
github | karaimer/camera-pipeline-demosaic-experiment-master | ridwt2.m | .m | camera-pipeline-demosaic-experiment-master/onestep_ap/onestep_ap/DemoPOCS/ridwt2.m | 792 | utf_8 | 051b04679cad0942fef40d9ad53b2ed6 | %
% RIDWT2 -> 2D Redundant Inverse Discrete Wavelet Transform
% RIDWT2 reconstructs the image from its subbands.
%
% x = ridwt2(a,h,v,d,g0,g1)
% x -> Reconstructed image
% a,h,v,d -> approximation, horizontal detail, vertical detail, and diagonal detail subbands
% g0,g1 -> Synthesizing filters
%
% Baha... |
github | karaimer/camera-pipeline-demosaic-experiment-master | d_pocs.m | .m | camera-pipeline-demosaic-experiment-master/onestep_ap/onestep_ap/DemoPOCS/d_pocs.m | 3,808 | utf_8 | a9f4f2766f3f26f92c9d6c927b0ec040 | %
% d_pocs -> Demosaicing Using Alternating Projections
% d_pocs simulates the projections onto convex sets (POCS) based demosaicing algorithm.
%
% [out_pocs] = d_pocs(X, N_iter, T)
% X -> Bayer sampled mosaic
% N_iter -> Number of iterations
% T -> Threshold
% out_pocs -> Interpolated image using... |
github | karaimer/camera-pipeline-demosaic-experiment-master | interp_edgeG.m | .m | camera-pipeline-demosaic-experiment-master/onestep_ap/onestep_ap/DemoPOCS/interp_edgeG.m | 1,815 | utf_8 | a8c15e75a995ef621fa17b517840e8b5 | %
% interp_edgeG -> Edge-directed interpolation of G channel from a Bayer mosaic
%
% [RGB] = interp_edgeG(X)
% RGB -> R and B are bilinearly interpolated, G is edge-directed interpolated
% X -> Bayer sampled mosaic
%
% Bahadir K. Gunturk
% Department of Electrical and Computer Engineering
% Louisiana State... |
github | karaimer/camera-pipeline-demosaic-experiment-master | normalize.m | .m | camera-pipeline-demosaic-experiment-master/onestep_ap/onestep_ap/DemoPOCS/normalize.m | 361 | utf_8 | b8213b1fd1409a252b98087255fb1194 |
function Y = normalize(X, min, max)
% Normalize the data into the range of 0 and 1 according to the name of the
% camera
% input:
% X: data needed to be normalized
% min: minimum value
% max: maximum value
% output:
% Y: data after normalizing
% Normalize the data X
X = double(X);
Y = (X - mi... |
github | karaimer/camera-pipeline-demosaic-experiment-master | rdwt2.m | .m | camera-pipeline-demosaic-experiment-master/onestep_ap/onestep_ap/DemoPOCS/rdwt2.m | 883 | utf_8 | 23863ed76f6d75fc94692ed89fe88ffd | %
% RDWT2 -> 2D Redundant Discrete Wavelet Transform
% RDWT2 decomposes an image into its subbands.
%
% [a,h,v,d] = rdwt2(x,h0,h1)
% x -> Input image
% h0,h1 -> Low-pass and high-pass filters for subband decomposition
% a,h,v,d -> approximation, horizontal detail, vertical detail, and diagonal detail s... |
github | karaimer/camera-pipeline-demosaic-experiment-master | interp_bilinear.m | .m | camera-pipeline-demosaic-experiment-master/onestep_ap/onestep_ap/DemoPOCS/interp_bilinear.m | 982 | utf_8 | 971e9ab8fb62ff79c773ca540c920b93 | %
% interp_bilinear -> Bilinear interpolation from a Bayer mosaic
%
% [RGB] = interp_bilinear(X)
% RGB -> Bilinearly interpolated image
% X -> Bayer sampled mosaic
%
% Bahadir K. Gunturk
% Department of Electrical and Computer Engineering
% Louisiana State University
% Email: bahadir@ece.lsu.edu
% URL : h... |
github | karaimer/camera-pipeline-demosaic-experiment-master | mosaic.m | .m | camera-pipeline-demosaic-experiment-master/onestep_ap/onestep_ap/DemoPOCS/mosaic.m | 605 | utf_8 | 9f44f959cb27d10eb9a6927e07d1e868 | %
% mosaic -> Creates a Bayer mosaic from an RGB image
%
% [X] = mosaic(RGB)
% RGB -> Input image
% X -> Bayer sampled mosaic
%
% Bahadir K. Gunturk
% Department of Electrical and Computer Engineering
% Louisiana State University
% Email: bahadir@ece.lsu.edu
% URL : http://www.ece.lsu.edu/~bahadir
functi... |
github | karaimer/camera-pipeline-demosaic-experiment-master | Lipschitz_const.m | .m | camera-pipeline-demosaic-experiment-master/onestep_ap/onestep_ap/Matlab/Lipschitz_const.m | 1,421 | utf_8 | a3888bd22bdef4ed6e46ab57771093a1 | %--------------------------------------------------------------------------
%
% Yue M. Lu
% Ecole Polytechnique Federale de Lausanne (EPFL)
%
%--------------------------------------------------------------------------
%
% Lipschitz_const.m
%
% First created: 01-11-2009
% Last modified: 06-09-2009
%
%--------------... |
github | karaimer/camera-pipeline-demosaic-experiment-master | generate_poly_filters.m | .m | camera-pipeline-demosaic-experiment-master/onestep_ap/onestep_ap/Matlab/generate_poly_filters.m | 3,135 | utf_8 | 750d6f494a7ccf73ae9fa8dabf660479 | %--------------------------------------------------------------------------
%
% Yue M. Lu
% Ecole Polytechnique Federale de Lausanne (EPFL)
%
%--------------------------------------------------------------------------
%
% generate_poly_filters.m
%
% First created: 01-12-2009
% Last modified: 06-09-2009
%
%--------... |
github | karaimer/camera-pipeline-demosaic-experiment-master | simplify_filters.m | .m | camera-pipeline-demosaic-experiment-master/onestep_ap/onestep_ap/Matlab/simplify_filters.m | 2,819 | utf_8 | 8f655af5cda4b2dc65e3f08a2d30ac78 | %--------------------------------------------------------------------------
%
% Yue M. Lu
% Ecole Polytechnique Federale de Lausanne (EPFL)
%
%--------------------------------------------------------------------------
%
% simplify_filters.m
%
% First created: 03-06-2009
% Last modified: 06-09-2009
%
%-------------... |
github | karaimer/camera-pipeline-demosaic-experiment-master | cfa_Bayer.m | .m | camera-pipeline-demosaic-experiment-master/onestep_ap/onestep_ap/Matlab/cfa_Bayer.m | 922 | utf_8 | d535dd724c517f7d12bd4f96fe63ae6e | %--------------------------------------------------------------------------
%
% Yue M. Lu
% Ecole Polytechnique Federale de Lausanne (EPFL)
%
%--------------------------------------------------------------------------
%
% cfa_Bayer.m
%
% First created: 12-04-2007
% Last modified: 06-09-2009
%
%--------------------... |
github | karaimer/camera-pipeline-demosaic-experiment-master | d_pocs_rec.m | .m | camera-pipeline-demosaic-experiment-master/onestep_ap/onestep_ap/Matlab/d_pocs_rec.m | 2,315 | utf_8 | caa305d001420d260764d7d9f472ea44 | % Recording the mse value at each iteration
% Modified by Yue M. Lu
% 04-10-2009
% (See d_pocs.m for the original version.)
function [R, R_init, mse_list] = d_pocs_rec(X, N_iter, varargin)
% G R
% B G
if nargin == 2
mode = 1; % obtain the convergence value with initial bilinear interpolation
else
mode = ... |
github | karaimer/camera-pipeline-demosaic-experiment-master | get_L_polymtx.m | .m | camera-pipeline-demosaic-experiment-master/onestep_ap/onestep_ap/Matlab/get_L_polymtx.m | 2,467 | utf_8 | a3227bfd6e1c15ccc1ad7540019e39ad | %--------------------------------------------------------------------------
%
% Yue M. Lu
% Ecole Polytechnique Federale de Lausanne (EPFL)
%
%--------------------------------------------------------------------------
%
% get_L_polymtx.m
%
% First created: 01-12-2009
% Last modified: 06-11-2009
%
%----------------... |
github | karaimer/camera-pipeline-demosaic-experiment-master | d_pocs2.m | .m | camera-pipeline-demosaic-experiment-master/onestep_ap/onestep_ap/Matlab/d_pocs2.m | 3,589 | utf_8 | 78e94bec1fff8199ed0dcc1c136c01a4 | %
% d_pocs -> Demosaicing Using Alternating Projections
% d_pocs simulates the projections onto convex sets (POCS) based demosaicing algorithm.
%
% [out_pocs, t] = d_pocs2(X, N_iter)
% X -> Bayer sampled mosaic
% N_iter -> Number of iterations
% out_pocs -> Interpolated image using the POCS algorithm
% ... |
github | karaimer/camera-pipeline-demosaic-experiment-master | esi_g.m | .m | camera-pipeline-demosaic-experiment-master/onestep_ap/onestep_ap/Matlab/esi_g.m | 1,950 | utf_8 | e0e9b1b733f02a6d4faffa92bb2af9e2 | %--------------------------------------------------------------------------
%
% Yue M. Lu
% Ecole Polytechnique Federale de Lausanne (EPFL)
%
%--------------------------------------------------------------------------
%
% esi_g.m
%
% First created: 02-27-2009
% Last modified: 06-09-2009
%
%------------------------... |
github | karaimer/camera-pipeline-demosaic-experiment-master | onestep_demosaicking_part.m | .m | camera-pipeline-demosaic-experiment-master/onestep_ap/onestep_ap/Matlab/onestep_demosaicking_part.m | 8,228 | utf_8 | 512c714fac8c95b3e5f7ceab27746d94 | %--------------------------------------------------------------------------
%
% Yue M. Lu
% Ecole Polytechnique Federale de Lausanne (EPFL)
%
%--------------------------------------------------------------------------
%
% onestep_demosaicking_part.m
%
% First created: 01-12-2009
% Last modified: 06-09-2009
%
%----... |
github | karaimer/camera-pipeline-demosaic-experiment-master | polyphase_components.m | .m | camera-pipeline-demosaic-experiment-master/onestep_ap/onestep_ap/Matlab/polyphase_components.m | 1,482 | utf_8 | 48f0d573fe370b7755e4528e11c1efdd | %--------------------------------------------------------------------------
%
% Yue M. Lu
% Ecole Polytechnique Federale de Lausanne (EPFL)
%
%--------------------------------------------------------------------------
%
% polyphase_components.m
%
% First created: 03-26-2008
% Last modified: 06-09-2009
%
%---------... |
github | karaimer/camera-pipeline-demosaic-experiment-master | compare_imgs.m | .m | camera-pipeline-demosaic-experiment-master/onestep_ap/onestep_ap/Matlab/compare_imgs.m | 1,185 | utf_8 | 05653a34027e432305fb3df92473a6b7 | %--------------------------------------------------------------------------
%
% Yue M. Lu
% Ecole Polytechnique Federale de Lausanne (EPFL)
%
%--------------------------------------------------------------------------
%
% compare_imgs.m
%
% First created: 06-08-2008
% Last modified: 06-11-2009
%
%-----------------... |
github | karaimer/camera-pipeline-demosaic-experiment-master | onestep_demosaicking_conv.m | .m | camera-pipeline-demosaic-experiment-master/onestep_ap/onestep_ap/Matlab/onestep_demosaicking_conv.m | 4,275 | utf_8 | 0b274fe9f20183df9952e9538746d735 | %--------------------------------------------------------------------------
%
% Yue M. Lu
% Ecole Polytechnique Federale de Lausanne (EPFL)
%
%--------------------------------------------------------------------------
%
% onestep_demosaicking_conv.m
%
% First created: 01-12-2009
% Last modified: 06-09-2009
%
%----... |
github | rosrad/SteeringVec-Est-master | mixGaussEm.m | .m | SteeringVec-Est-master/mixGaussEm.m | 2,170 | utf_8 | 1ab778ae194a8de9f1ca7a086d8a2480 | function [label, model, llh] = mixGaussEm(X, init)
% Perform EM algorithm for fitting the Gaussian mixture model.
% Input:
% X: d x n data matrix
% init: k (1 x 1) number of components or label (1 x n, 1<=label(i)<=k) or model structure
% Output:
% label: 1 x n cluster label
% model: trained model structure
% ... |
github | rosrad/SteeringVec-Est-master | mixGaussRnd.m | .m | SteeringVec-Est-master/mixGaussRnd.m | 2,158 | utf_8 | 52f9bf0a4af64e106c82d240cab9f77c | function [X, z, model] = mixGaussRnd(d, k, n)
% Genarate samples form a Gaussian mixture model.
% Input:
% d: dimension of data
% k: number of components
% n: number of data
% Output:
% X: d x n data matrix
% z: 1 x n response variable
% model: model structure
% Written by Mo Chen (sth4nth@gmail.com).
alpha... |
github | rosrad/SteeringVec-Est-master | CGMM_EM.m | .m | SteeringVec-Est-master/CGMM_EM.m | 2,001 | utf_8 | 2bf6d42d9b6887f65816c5f309578496 | function [L,R,Q] = CGMM_EM(X, init)
% Perform EM algorithm for fitting the Complex Gaussian mixture model.
% Written by Bo Ren (justnow.ren@gmail.com).
%% init
fprintf('EM for Complex Gaussian mixture: running ... \n');
tol = 1e-6;
maxiter = 50;
Q = -inf(1,maxiter);
[L,R]= initialization(X,init);
for iter = 2:maxiter... |
github | rosrad/SteeringVec-Est-master | beampattern.m | .m | SteeringVec-Est-master/beampattern.m | 746 | utf_8 | c8b8b5743923c0f133bb1eb88e1d9872 | %D= 0:180;G= beampattern(ones(1,5)/5, ULA*0.2, 1000, D);figure,plot(D,G)
function G = beampattern(wop, array,fs, D)
m =size(array,1);
%fs =1000;
am = zeros(m,length(D));
%wop=ones(1,m)/m;
L = -2:2;
for k = 1:length(D)
h = [cosd(D(k)), sind(D(k))].';
coefficient = 2 * pi * fs/ 340;
%tau1 = L*0.2*sind(90-D(k... |
github | rosrad/SteeringVec-Est-master | mixGaussPred.m | .m | SteeringVec-Est-master/mixGaussPred.m | 916 | utf_8 | 936d9c9031b78d903591b31113228e5c | function [label, R] = mixGaussPred(X, model)
% Predict label and responsibility for Gaussian mixture model.
% Input:
% X: d x n data matrix
% model: trained model structure outputed by the EM algirthm
% Output:
% label: 1 x n cluster label
% R: k x n responsibility
% Written by Mo Chen (sth4nth@gmail.com).
mu =... |
github | martin-danelljan/Continuous-ConvOp-master | mtimesx_test_ssspeed.m | .m | Continuous-ConvOp-master/external_libs/mtimesx/mtimesx_test_ssspeed.m | 415,311 | utf_8 | c663b5bc66edbfec752f88862a1805d1 | % Test routine for mtimesx, op(single) * op(single) speed vs MATLAB
%******************************************************************************
%
% MATLAB (R) is a trademark of The Mathworks (R) Corporation
%
% Function: mtimesx_test_ssspeed
% Filename: mtimesx_test_ssspeed.m
% Programmer: James Tursa
% ... |
github | martin-danelljan/Continuous-ConvOp-master | mtimesx_build.m | .m | Continuous-ConvOp-master/external_libs/mtimesx/mtimesx_build.m | 16,162 | utf_8 | 1133797528213727d31a9a075188a4d0 | % mtimesx_build compiles mtimesx.c with BLAS libraries
%******************************************************************************
%
% MATLAB (R) is a trademark of The Mathworks (R) Corporation
%
% Function: mtimesx_build
% Filename: mtimesx_build.m
% Programmer: James Tursa
% Version: 1.40
% Dat... |
github | martin-danelljan/Continuous-ConvOp-master | mtimesx_test_nd.m | .m | Continuous-ConvOp-master/external_libs/mtimesx/mtimesx_test_nd.m | 14,364 | utf_8 | 0d3b436cea001bccb9c6cccdaa21b34d | % Test routine for mtimesx, multi-dimensional speed and equality to MATLAB
%******************************************************************************
%
% MATLAB (R) is a trademark of The Mathworks (R) Corporation
%
% Function: mtimesx_test_nd
% Filename: mtimesx_test_nd.m
% Programmer: James Tursa
% ... |
github | martin-danelljan/Continuous-ConvOp-master | mtimesx_test_sdequal.m | .m | Continuous-ConvOp-master/external_libs/mtimesx/mtimesx_test_sdequal.m | 350,821 | utf_8 | 7e6a367b3ad6154ce1e4da70a91ba4cf | % Test routine for mtimesx, op(single) * op(double) equality vs MATLAB
%******************************************************************************
%
% MATLAB (R) is a trademark of The Mathworks (R) Corporation
%
% Function: mtimesx_test_sdequal
% Filename: mtimesx_test_sdequal.m
% Programmer: James Tursa... |
github | martin-danelljan/Continuous-ConvOp-master | mtimesx_test_ddequal.m | .m | Continuous-ConvOp-master/external_libs/mtimesx/mtimesx_test_ddequal.m | 94,229 | utf_8 | 219fa3623cf14a54da7d267a29e61151 | % Test routine for mtimesx, op(double) * op(double) equality vs MATLAB
%******************************************************************************
%
% MATLAB (R) is a trademark of The Mathworks (R) Corporation
%
% Function: mtimesx_test_ddequal
% Filename: mtimesx_test_ddequal.m
% Programmer: James Tur... |
github | martin-danelljan/Continuous-ConvOp-master | mtimesx_test_dsequal.m | .m | Continuous-ConvOp-master/external_libs/mtimesx/mtimesx_test_dsequal.m | 350,693 | utf_8 | 325490ae690791eb9f0e7d03408cc540 | % Test routine for mtimesx, op(double) * op(single) equality vs MATLAB
%******************************************************************************
%
% MATLAB (R) is a trademark of The Mathworks (R) Corporation
%
% Function: mtimesx_test_dsequal
% Filename: mtimesx_test_dsequal.m
% Programmer: James Tursa... |
github | martin-danelljan/Continuous-ConvOp-master | mtimesx_test_sdspeed.m | .m | Continuous-ConvOp-master/external_libs/mtimesx/mtimesx_test_sdspeed.m | 388,309 | utf_8 | 1ed55a613d5cbfe9a11579562f600c9a | % Test routine for mtimesx, op(single) * op(double) speed vs MATLAB
%******************************************************************************
%
% MATLAB (R) is a trademark of The Mathworks (R) Corporation
%
% Function: mtimesx_test_sdspeed
% Filename: mtimesx_test_sdspeed.m
% Programmer: James Tursa
% ... |
github | martin-danelljan/Continuous-ConvOp-master | mtimesx_test_ddspeed.m | .m | Continuous-ConvOp-master/external_libs/mtimesx/mtimesx_test_ddspeed.m | 121,611 | utf_8 | 32613fb321b2de56bd52cb4b4567187d | % Test routine for mtimesx, op(double) * op(double) speed vs MATLAB
%******************************************************************************
%
% MATLAB (R) is a trademark of The Mathworks (R) Corporation
%
% Function: mtimesx_test_ddspeed
% Filename: mtimesx_test_ddspeed.m
% Programmer: James Tursa
... |
github | martin-danelljan/Continuous-ConvOp-master | mtimesx_sparse.m | .m | Continuous-ConvOp-master/external_libs/mtimesx/mtimesx_sparse.m | 3,015 | utf_8 | eeb3eb2df4d70c69695b45188807e91c | % mtimesx_sparse does sparse matrix multiply of two inputs
%******************************************************************************
%
% MATLAB (R) is a trademark of The Mathworks (R) Corporation
%
% Function: mtimesx_sparse
% Filename: mtimesx_sparse.m
% Programmer: James Tursa
% Version: 1.00
... |
github | martin-danelljan/Continuous-ConvOp-master | mtimesx_test_dsspeed.m | .m | Continuous-ConvOp-master/external_libs/mtimesx/mtimesx_test_dsspeed.m | 388,140 | utf_8 | 53e3e8d0e86784747c58c68664ae0d85 | % Test routine for mtimesx, op(double) * op(single) speed vs MATLAB
%******************************************************************************
%
% MATLAB (R) is a trademark of The Mathworks (R) Corporation
%
% Function: mtimesx_test_dsspeed
% Filename: mtimesx_test_dsspeed.m
% Programmer: James Tursa
% ... |
github | martin-danelljan/Continuous-ConvOp-master | mtimesx_test_ssequal.m | .m | Continuous-ConvOp-master/external_libs/mtimesx/mtimesx_test_ssequal.m | 355,156 | utf_8 | 4c01cb508f7cf6adb1b848f98ee9ca41 | % Test routine for mtimesx, op(single) * op(single) equality vs MATLAB
%******************************************************************************
%
% MATLAB (R) is a trademark of The Mathworks (R) Corporation
%
% Function: mtimesx_test_ssequal
% Filename: mtimesx_test_ssequal.m
% Programmer: James Tursa... |
github | muehleisen/VSLM-main | vslm.m | .m | VSLM-main/Matlab_Source/vslm.m | 95,976 | utf_8 | 0481ca1ba5136f532106fa57d2045fee | function varargout = vslm(varargin)
% VSLM_M-file for vslm.fig
% VSLM, by itself, creates a new VSLM or raises the existing
% singleton*.
%
% H = VSLM returns the handle to a new VSLM or the handle to
% the existing singleton*.
%
% VSLM('CALLBACK',hObject,eventData,handles,...) calls the loca... |
github | cselab/pi4u-master | plotmatrix_hist.m | .m | pi4u-master/postprocessing_tools/plotmatrix_hist.m | 31,238 | utf_8 | 6b5d98d6028b84af73a9dda8740f691a | function [h,ax,BigAx,hhist,pax] = plotmatrix_hist(theta, varargin)
sym = '.'; % Default scatter plot symbol.
rows = size(theta,2); cols = rows;
x = theta; y = theta;
dohist = 1;
% Don't plot anything if either x or y is empty
hhist = gobjects(0);
pax = gobjects(0);
if isempty(rows) || isempty(cols),
if nargou... |
github | cselab/pi4u-master | plotmatrix_hist.m | .m | pi4u-master/hierarchical/source/TMCMC/plotmatrix_hist.m | 31,238 | utf_8 | 6b5d98d6028b84af73a9dda8740f691a | function [h,ax,BigAx,hhist,pax] = plotmatrix_hist(theta, varargin)
sym = '.'; % Default scatter plot symbol.
rows = size(theta,2); cols = rows;
x = theta; y = theta;
dohist = 1;
% Don't plot anything if either x or y is empty
hhist = gobjects(0);
pax = gobjects(0);
if isempty(rows) || isempty(cols),
if nargou... |
github | jiunhwang/LLSF-master | Recall.m | .m | LLSF-master/code and data/evaluation/Recall.m | 746 | utf_8 | b1cc64618a914dd3aa6b164bdf53d35e |
function recall=Recall(Pre_Labels,test_target)
%% Computing the Precision for multi label learning algorithm
%Pre_Labels: the predicted labels of the classifier, if the ith instance belong to the jth class, Pre_Labels(j,i)=1, otherwise Pre_Labels(j,i)=-1
%test_target: the actual labels of the test instances, if th... |
github | jiunhwang/LLSF-master | SubsetAccuracyEvaluation.m | .m | LLSF-master/code and data/evaluation/SubsetAccuracyEvaluation.m | 803 | utf_8 | a49613698c8f25caa6279bd6da544d7c |
function SubsetAccuracy=SubsetAccuracyEvaluation(test_target,predict_target)
%% Evaluate the subset classification accuracy for multi label classification
% this evaluation have the same meaning of subset 0/1 loss, and the value
% of subset 0/1 loss = 1 - subsetAccuracy
%
% syntax
% SubsetAccuracy=SubsetAcc... |
github | jiunhwang/LLSF-master | Precision.m | .m | LLSF-master/code and data/evaluation/Precision.m | 752 | utf_8 | 6940e79c84fe30ee793d4b20faf5c8bb |
function precision=Precision(Pre_Labels,test_target)
%% Computing the Precision for multi label learning algorithm
%Pre_Labels: the predicted labels of the classifier, if the ith instance belong to the jth class, Pre_Labels(j,i)=1, otherwise Pre_Labels(j,i)=-1
%test_target: the actual labels of the test instances,... |
github | jiunhwang/LLSF-master | ExampleBasedMeasure.m | .m | LLSF-master/code and data/evaluation/ExampleBasedMeasure.m | 1,947 | utf_8 | b3da201988bf5a35dbb52b45a603d9d3 |
function [ExampleBasedAccuracy,ExampleBasedPrecision,ExampleBasedRecall,ExampleBasedFmeasure]=ExampleBasedMeasure(test_targets,predict_targets)
% syntax
% [ExampleBasedAccuracy,ExampleBasedPrecision,ExampleBasedRecall,ExampleBasedFmeasure]=ExampleBasedMeasure(test_targets,predict_targets)
%
% input
% test_ta... |
github | jiunhwang/LLSF-master | RankingBasedMeasure.m | .m | LLSF-master/code and data/evaluation/RankingBasedMeasure.m | 1,088 | utf_8 | 58ea116a3551e5cfbc7721e1938e749e |
function [Average_Precision,OneError,RankingLoss,Coverage]=RankingBasedMeasure(Outputs,test_target)
% syntax
% [Average_Precision,OneError,RankingLoss,Coverage]=RankingBasedMeasure(Outputs,test_targets)
%
% input
% test_targets - L x num_test data matrix of groundtruth labels
% Outputs ... |
github | jiunhwang/LLSF-master | PrintResults.m | .m | LLSF-master/code and data/evaluation/PrintResults.m | 2,700 | utf_8 | 8163712dcff103cefd5a8a2c0ca4485b |
function PrintResults(Result)
[~,n] = size(Result);
if n == 2
fprintf('------------------------------------\n');
fprintf('Evalucation Metric Mean Std\n');
fprintf('------------------------------------\n');
fprintf('HammingLoss %.4f %.4f\r',Result(1,1),Res... |
github | jiunhwang/LLSF-master | LabelBasedMeasure.m | .m | LLSF-master/code and data/evaluation/LabelBasedMeasure.m | 1,831 | utf_8 | 56e099b0b7ed855b3592a68bbafb8d23 |
function [LabelBasedAccuracy,LabelBasedPrecision,LabelBasedRecall,LabelBasedFmeasure]=LabelBasedMeasure(test_targets,predict_targets)
% syntax
% [LabelBasedAccuracy,LabelBasedPrecision,LabelBasedRecall,LabelBasedFmeasure]=LabelBasedMeasure(test_targets,predict_targets)
%
% input
% test_targets - L x n... |
github | jiunhwang/LLSF-master | MicroFMeasure.m | .m | LLSF-master/code and data/evaluation/MicroFMeasure.m | 770 | utf_8 | 9e768d570f63f31eff7c87d4e067eb93 |
function MicroF1Measure=MicroFMeasure(test_targets,predict_targets)
% syntax
% MicroF1Measure=MicroFMeasure(test_targets,predict_targets)
%
% Input
% test_targets - L x num_test data matrix of groundtruth labels
% predict_targets - L x num_test data matrix of predicted labels
%
% Output
% ... |
github | jiunhwang/LLSF-master | EvaluationAll.m | .m | LLSF-master/code and data/evaluation/EvaluationAll.m | 2,360 | utf_8 | ae27acf31599d356d1db085e9702ac03 |
function ResultAll = EvaluationAll(Pre_Labels,Outputs,test_target)
% evluation for MLC algorithms, there are fifteen evaluation metrics
%
% syntax
% ResultAll = EvaluationAll(Pre_Labels,Outputs,test_target)
%
% input
% test_targets - L x num_test data matrix of groundtruth labels
% Pre_Labels ... |
github | jiunhwang/LLSF-master | LLSF.m | .m | LLSF-master/code and data/function/LLSF.m | 2,756 | utf_8 | 8b6db551e7337ecba15fe1e79608161d |
function [model_LLSF] = LLSF( X, Y, optmParameter)
% This function is designed to learn the label specific features for each label
%
% Syntax
%
% [model_LLSF] = LLSF( X, train_target,optmPara)
%
% Input
% X - a n by d data matrix, n is the number of instances and d is the number o... |
github | jiunhwang/LLSF-master | LLSF_adaptive_validate.m | .m | LLSF-master/code and data/function/LLSF_adaptive_validate.m | 3,874 | utf_8 | ee85b588a5b648b54ce19063641b20f2 |
function [ BestParameter, BestResult ] = LLSF_adaptive_validate( train_data, train_target, oldOptmParameter)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% tune the best parameters for LLSF by crossvalidation
% Input
% - train_data : n by d data matrix
% - trian_targ... |
github | utkarshtandon/GMCP-Tracker-Python-Implementation-master | gdetect.m | .m | GMCP-Tracker-Python-Implementation-master/voc-release4.01/gdetect.m | 11,717 | utf_8 | 867f9db94c457e15077f165ac4bfab2f | function [dets, boxes, info] = gdetect(pyra, model, thresh, bbox, overlap)
% Detect objects in a feature pyramid using a model and a score threshold.
% Higher threshold leads to fewer detections.
%
% dets is a matrix with 6 columns and one row per detection. Columns 1-4
% give the pixel coordinates (x1,y1,x2,y2) of ... |
github | utkarshtandon/GMCP-Tracker-Python-Implementation-master | bboxpred_train.m | .m | GMCP-Tracker-Python-Implementation-master/voc-release4.01/bboxpred_train.m | 1,786 | utf_8 | b2804f1dca2c33bcfa8e3f5f0ff78ba5 | function model = bboxpred_train(name, year, method)
% Train a bounding box predictor.
%
% name class name
% year dataset year
% method regression method (default is LS regression)
if nargin < 3
method = 'default';
end
setVOCyear = year;
globals;
pascal_init;
% load final model for class
load([cachedir name ... |
github | utkarshtandon/GMCP-Tracker-Python-Implementation-master | demo.m | .m | GMCP-Tracker-Python-Implementation-master/voc-release4.01/demo.m | 1,058 | utf_8 | 949faf86a81ce8dbd4923963acb59199 | function demo()
load('VOC2007/car_final');
test('000034.jpg', model);
load('INRIA/inriaperson_final');
test('000061.jpg', model);
load('VOC2007/bicycle_final');
test('000084.jpg', model);
function test(name, model)
cls = model.class;
% load and display image
im = imread(name);
clf;
image(im);
axis equal;
axis on;
... |
github | utkarshtandon/GMCP-Tracker-Python-Implementation-master | mlabtest.m | .m | GMCP-Tracker-Python-Implementation-master/voc-release4.01/mlabtest.m | 108 | utf_8 | a7f0d8d61b6fc2977b57ba13534e9ed6 | %% MATLAB
function lol = mlabtest(args)
arg1 = args.arg1;
arg2 = args.arg2;
lol = arg1 + arg2;
disp(lol)
end |
github | utkarshtandon/GMCP-Tracker-Python-Implementation-master | visualizemodel.m | .m | GMCP-Tracker-Python-Implementation-master/voc-release4.01/visualizemodel.m | 2,597 | utf_8 | de52ba3a8c66435978506595ba6acf8f | function visualizemodel(model, components, layers)
% visualizemodel(model)
% Visualize a model.
clf;
if nargin < 2
components = 1:length(model.rules{model.start});
end
if nargin < 3
layers = 1;
end
k = 1;
for i = components
for layer = layers
visualizecomponent(model, i, length(layers)*length(components),... |
github | utkarshtandon/GMCP-Tracker-Python-Implementation-master | mkpartfilters.m | .m | GMCP-Tracker-Python-Implementation-master/voc-release4.01/mkpartfilters.m | 2,810 | utf_8 | 2e2ec45eed0e21534b8aad6fe79a8fc8 | function pfilters = mkpartfilters(filter, psize, num)
% Make part filters from a source filter.
%
% filter source filter
% psize size for parts
% num number of parts to make
% interpolate source filter
filter2x = imresize(filter, 2, 'bicubic');
template = fspecial('average', psize);
alpha = 0.1;
% Initial part... |
github | utkarshtandon/GMCP-Tracker-Python-Implementation-master | trainval.m | .m | GMCP-Tracker-Python-Implementation-master/voc-release4.01/trainval.m | 720 | utf_8 | 711d7779180e2e89225644ca42ad34d8 | function [ap1, ap2] = trainval(cls)
% Evaluates the detector for class cls on the trainval dataset.
% This function is used to collect detections for context rescoring.
if nargin < 1
% pass no arguments in order to run on all classes
globals;
pascal_init;
for i = 1:length(VOCopts.classes)
trainvalsingle(VO... |
github | utkarshtandon/GMCP-Tracker-Python-Implementation-master | lrsplit.m | .m | GMCP-Tracker-Python-Implementation-master/voc-release4.01/lrsplit.m | 2,786 | utf_8 | 5432238171d613488819c535cea74824 | function [A B] = lrsplit(model, pos, i)
% Attempt to split examples in pos into a left facing cluster and a
% right facing cluster.
%
% model object model
% pos examples where i even and i-1 are flipped copies of each other
% i index for caching warped positives
globals;
try
load([cachedir model.class '_w... |
github | utkarshtandon/GMCP-Tracker-Python-Implementation-master | train.m | .m | GMCP-Tracker-Python-Implementation-master/voc-release4.01/train.m | 13,637 | utf_8 | 5af8e998b614d78df29717745dc8825c | function model = train(name, model, pos, neg, warp, randneg, iter, ...
negiter, maxnum, keepsv, overlap, cont, phase, C, J)
% model = train(name, model, pos, neg, warp, randneg, iter,
% negiter, maxsize, keepsv, overlap, cont, C, J)
% Train LSVM.
%
% warp=1 uses warped positives
% ... |
github | utkarshtandon/GMCP-Tracker-Python-Implementation-master | gdetectwrite.m | .m | GMCP-Tracker-Python-Implementation-master/voc-release4.01/gdetectwrite.m | 4,841 | utf_8 | 3fdd49f44e9b5dc376fa52dcf1c4564d | function [boxes, count] = gdetectwrite(pyra, model, boxes, info, label, ...
fid, id, maxsize, maxnum)
% Write detections from gdetect to the feature vector cache.
%
% pyra feature pyramid
% model object model
% boxes detection boxes
% info detection info from gdetec... |
github | ethz-micro/matlab_nanonis-master | SXM.m | .m | matlab_nanonis-master/Examples/SxM_viewer/SXM.m | 9,146 | utf_8 | ddd4e9f35cf4c4bf0bdce28ef98de76e | function SXM(varargin)
%sSize = get(0,'screensize');
% Create and then hide the UI as it is being constructed.
hSXM = figure('Name','SXM_Viewer','Visible','off',...
'Position',[50,0,340,655],'Tag','SXM_Viewer');
SXM_CreateFcn(hSXM);
set(hSXM,'DeleteFcn',@(hObject,eventdata)closeViewer(hObject,eventdata,guidat... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.