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
tknandu/HierarchicalRL-master
ensureAgentExecutesIfNecessary.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/glue/ensureAgentExecutesIfNecessary.m
1,338
utf_8
43f7bb154061ed4d5d9dde4e12bf97d1
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
RL_num_episodes.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/glue/RL_num_episodes.m
1,231
utf_8
fa0d8a3740268d04f4b48d91f9857130
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
doStandardRecv.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/glue/doStandardRecv.m
2,277
utf_8
2999fd63e67544804977128cba248d3b
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
doCallWithNoParams.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/glue/doCallWithNoParams.m
1,679
utf_8
2c3f80183a8d8c0a89ba022191b84630
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
forceConnection.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/glue/forceConnection.m
3,397
utf_8
ff02844462755c589e6125a0d1b78144
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
RL_env_message.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/glue/RL_env_message.m
1,871
utf_8
1223f2f8c8a4cbe1379ffbe4cf8b3fbc
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
RL_start.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/glue/RL_start.m
1,757
utf_8
5f1c2ff3e394f166b514dd1605c36cd3
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
RL_get_svn_version.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/glue/RL_get_svn_version.m
1,008
utf_8
300a038e7c6804f6bf1141cf1f3ce159
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
RL_set_host.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/glue/RL_set_host.m
1,029
utf_8
3377d6f55aaf01d0251a425e5073daaf
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
RL_init.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/glue/RL_init.m
1,721
utf_8
800cdfc68b2337870dca0c4c5a1ae32c
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
RL_agent_message.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/glue/RL_agent_message.m
1,880
utf_8
4504d97f9ff5b3d5f369f0c91d10e04b
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
disconnectGlue.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/glue/disconnectGlue.m
1,261
utf_8
684d0a19f5c7cfaf9466be690db33ea8
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
RL_episode.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/glue/RL_episode.m
2,061
utf_8
7725f6773805058c370a8675a1970662
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
RL_set_port.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/glue/RL_set_port.m
1,029
utf_8
35400b4f762a293960e0db0e3048ba30
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
RL_cleanup.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/glue/RL_cleanup.m
1,448
utf_8
15dbb4e2a84a082e0d16cf7ea5f86263
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
RL_step.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/glue/RL_step.m
1,935
utf_8
e441fa5632c99110b62c01a90855cf63
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
RL_get_codec_version.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/glue/RL_get_codec_version.m
1,004
utf_8
c85b78f5d06d6b36904092624127e8b4
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
ensureEnvExecutesIfNecessary.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/glue/ensureEnvExecutesIfNecessary.m
1,358
utf_8
65f4915da452ce1e16c6b00748c5d355
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
disconnectEnvironment.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/environment/disconnectEnvironment.m
1,378
utf_8
3deace87eddba82e075b4e5a67c7cc60
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
runEnvironment.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/environment/runEnvironment.m
1,111
utf_8
8f0f4f36cee3f666749d0f7d4b864bdb
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
runEnvironmentLoop.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/environment/runEnvironmentLoop.m
4,284
utf_8
803cbc6250105aa49dadd1b191a13ce3
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
connectEnvironment.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/environment/connectEnvironment.m
2,996
utf_8
7ea1abf45ce471ef6923e0dd6d9126f6
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
runAgent.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/agent/runAgent.m
1,069
utf_8
be2aa4793ea731280aaa9a2de38e7f1d
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
connectAgent.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/agent/connectAgent.m
3,012
utf_8
8cdd603757326724ff572aba3f591ad1
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
disconnectAgent.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/agent/disconnectAgent.m
1,353
utf_8
09c2bd8ff421b1654846d2fbc0b849ff
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
runAgentLoop.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/agent/runAgentLoop.m
4,787
utf_8
46aad828b0d4d4b4adaad48f9cc39c3f
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
test_1_environment.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/tests/test_1_environment.m
3,357
utf_8
0e03066480c24ca6f3a845a1336b7f21
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
test_empty_agent.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/tests/test_empty_agent.m
2,602
utf_8
ac3c110f603103fbbc69ee4441bd0bba
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
test_speed_environment.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/tests/test_speed_environment.m
3,501
utf_8
9c255d79457a162b409f873a744d0f71
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
test_message_agent.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/tests/test_message_agent.m
2,051
utf_8
4ea4536d43778691487eeaad6c44ee67
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
test_sanity_experiment.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/tests/test_sanity_experiment.m
1,672
utf_8
34c3489e995af2d3a734b5ac3d2987cc
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
test_empty_environment.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/tests/test_empty_environment.m
2,835
utf_8
f561612dae0fa40e02ac6dceb09d5a6f
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
test_rl_episode_experiment.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/tests/test_rl_episode_experiment.m
3,023
utf_8
f3bead16f23a468d23bdddc5c89f2a14
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
test_1_agent.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/tests/test_1_agent.m
2,613
utf_8
138d81dfdc33d645009b56bdae42a7ea
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
runAllTests.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/tests/runAllTests.m
1,152
utf_8
3041b975f9b253268e8130143ba908e2
function runAllTests() theTests=[]; testsanity.agent=test_1_agent(); testsanity.environment=test_1_environment(); testsanity.experiment=@test_sanity_experiment; test1.agent=test_1_agent(); test1.environment=test_1_environment(); test1.experiment=@test_1_experiment; testempty.agent...
github
tknandu/HierarchicalRL-master
test_message_environment.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/tests/test_message_environment.m
2,337
utf_8
c09dce2f1b224c55a4724b049527cf82
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
test_message_experiment.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/tests/test_message_experiment.m
3,532
utf_8
b724be2278dc7360d67bd249f5df9d26
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
test_speed_environment_run.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/tests/test_speed_environment_run.m
1,064
utf_8
eafb493bfb619c3c27efb439a2279c90
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
test_1_experiment.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/tests/test_1_experiment.m
6,086
utf_8
48545920c315b6f93b31ea27722096b7
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
test_empty_experiment.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/system/codecs/Matlab/src/tests/test_empty_experiment.m
4,624
utf_8
35f32d5305d48ad2c7bcfb46c8b1e620
% Copyright 2008 Brian Tanner % http://rl-glue-ext.googlecode.com/ % brian@tannerpages.com % http://research.tannerpages.com % % Licensed 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 % % ...
github
tknandu/HierarchicalRL-master
tetris_agent.m
.m
HierarchicalRL-master/external/15-rl-competition-2009/agents/tetrisAgentMatlab/tetris_agent.m
8,375
utf_8
7c3851e61e7c3a33ae3899ff215776c2
% TO USE THIS Agent on its own[order doesn't matter] % - Start the rl_glue executable socket server on your computer % - Run the SkeletonEnvironment and SkeletonExperiment from a % different codec (Python, Java, C, Lisp should all be fine) % - Load this agent like: % >> theAgent=tetris_agent() % ...
github
Guokr1991/fem-master
createsimres.m
.m
fem-master/post/createsimres.m
4,369
utf_8
db54d9c3f41fdf07ad9e9a821eef1b02
function []=createsimres(dispfile,node_dyn,dyn_file); % function []=createsimres(dispfile,node_dyn,dyn_file); % % Create simres.mat that shares the same format as experimental res*.mat files. % % INPUTS: % dispfile (string) - path for disp.dat created by create_disp_vel_dat.py % node_dyn (string) - path to the node...
github
speak48/dcmmb-master
rs_decode.m
.m
dcmmb-master/rs/matlab/rs_decode.m
3,518
utf_8
f30b0741b01ff882479ca9fcbc2a3d7c
%Reed-Solomon Decoder Matlab File %Author by:Chenzy function [cor_code,fail] = rs_decode(reccode,t,m,k,n,q,pp); %Galois Fied basic gf_alpha = gf(2,m,pp); gf_zero = gf(0,m,pp); gf_one = gf(1,m,pp); %functional simualation of decoding %creating alpha array alpha_tb = gf(zeros(1,2*t),m,pp); for i=1:2*t, ...
github
lmcintosh/stimuli-master
savejson.m
.m
stimuli-master/jsonlab/savejson.m
14,372
utf_8
aa5efa73780a415f0d68e33cc03ea33d
function json=savejson(rootname,obj,varargin) % % json=savejson(rootname,obj,filename) % or % json=savejson(rootname,obj,opt) % json=savejson(rootname,obj,'param1',value1,'param2',value2,...) % % convert a MATLAB object (cell, struct or array) into a JSON (JavaScript % Object Notation) string % % author: Qianqian Fa...
github
lmcintosh/stimuli-master
loadjson.m
.m
stimuli-master/jsonlab/loadjson.m
16,507
ibm852
6ff55c101b08023554218da7ab2af3db
function data = loadjson(fname,varargin) % % data=loadjson(fname,opt) % or % data=loadjson(fname,'param1',value1,'param2',value2,...) % % parse a JSON (JavaScript Object Notation) file or string % % authors:Qianqian Fang (fangq<at> nmr.mgh.harvard.edu) % date: 2011/09/09 % Nedialko Krouchev: http:...
github
lmcintosh/stimuli-master
loadubjson.m
.m
stimuli-master/jsonlab/loadubjson.m
14,309
utf_8
542c2a5a98b42eafdf6458297ce7755c
function data = loadubjson(fname,varargin) % % data=loadubjson(fname,opt) % or % data=loadubjson(fname,'param1',value1,'param2',value2,...) % % parse a JSON (JavaScript Object Notation) file or string % % authors:Qianqian Fang (fangq<at> nmr.mgh.harvard.edu) % date: 2013/08/01 % % $Id: loadubjson.m 417 20...
github
lmcintosh/stimuli-master
saveubjson.m
.m
stimuli-master/jsonlab/saveubjson.m
15,163
utf_8
dbf70ea5602edfc4ccb5be11b2ab4eaa
function json=saveubjson(rootname,obj,varargin) % % json=saveubjson(rootname,obj,filename) % or % json=saveubjson(rootname,obj,opt) % json=saveubjson(rootname,obj,'param1',value1,'param2',value2,...) % % convert a MATLAB object (cell, struct or array) into a Universal % Binary JSON (UBJSON) binary string % % author...
github
lmcintosh/stimuli-master
naturalscene.m
.m
stimuli-master/functions/naturalscene.m
3,999
utf_8
6293de50533389d4ccbd7209c725fb28
function ex = naturalscene(ex, replay) % % ex = naturalscene(ex, replay) % % Required parameters: % length : float (length of the experiment in minutes) % framerate : float (rough framerate, in Hz) % ndims : [int, int] (dimensions of the stimulus) % imgdir: string (location of the images) % imgext: string (fi...
github
lmcintosh/stimuli-master
naturalmovie.m
.m
stimuli-master/functions/naturalmovie.m
4,412
utf_8
71bf7c3c140343e50d7d63a5513570a6
function ex = naturalmovie(ex, replay) % % ex = naturalmovie(ex, replay) % % Required parameters: % length : float (length of the experiment in minutes) % framerate : float (rough framerate, in Hz) % ndims : [int, int] (dimensions of the stimulus) % moviedir: string (location of the movies) % movext: string (...
github
lmcintosh/stimuli-master
send.m
.m
stimuli-master/utils/send.m
941
utf_8
a813153af3708908cfea4fdd50a53fe0
% pushover notification script % Niru Maheswaranathan % Mon Aug 13 14:21:43 2012 % send(msgTitle, msgText) function send(msgTitle, msgText) % check if msgText is a runtime if isa(msgText,'numeric') if msgText/60 < 1 % smaller than a minute msgText = sprintf('Took %5.3f seconds.',msgText); ...
github
kbarnhart/cesmEnsembleSeaIce-master
seaIceEmergeDLM_v1.m
.m
cesmEnsembleSeaIce-master/seaIceEmergeDLM_v1.m
3,868
utf_8
44673d8547cfc8847eab86e4ebc8063b
function seaIceEmergeDLM_v1(startyi, stopyi, SIdata) addpath(genpath('mcmcstat')) addpath(genpath('dlmtbx')) % fin='/Volumes/Pitcairn/seaicePPF/northernHemisphere/cesmleOutput/justNSIF_ensembleAndBG.nc'; % nSIF_ensemble = ncread(fin,'nSIF_ensemble') ; % nSIF_background1850 = ncread(fin,'nSIF_background1850') ; ...
github
kbarnhart/cesmEnsembleSeaIce-master
dlmfit.m
.m
cesmEnsembleSeaIce-master/dlmtbx/dlmfit.m
9,305
utf_8
c6ff9a4660463f8396285a7c93c8ad95
function out = dlmfit(y,s,wdiag,x0,C0, X, options) %DLMFIT Fit DLM time series model % Fits dlm time series model with local level, trend, seasonal, and proxies % out = dlmfit(y,s,wdiag,x0,C0, X, options) % Input: % y time series, n*p % s obs uncertainty, n*p or 1*1 % w sqrt of first diagonal entries of the model erro...
github
kbarnhart/cesmEnsembleSeaIce-master
meannan.m
.m
cesmEnsembleSeaIce-master/dlmtbx/meannan.m
659
utf_8
39818015bad9cb2775051a8cecde31cd
function y=meannan(x,x2,w1) %MEANNAN mean ignoring NaNs % meannan(x) mean of columns of x % meannan(oldmean, x, oldweight) updates oldmean with x % $Revision: 1.2 $ $Date: 2011/06/22 13:28:01 $ if nargin == 1 [m,n] = size(x); if m==1 x = x'; m = n; n = 1; end y = zeros(1,n); for i=1:n y(...
github
kbarnhart/cesmEnsembleSeaIce-master
hyperpriorupdate.m
.m
cesmEnsembleSeaIce-master/mcmcstat/hyperpriorupdate.m
2,388
utf_8
060350d56a39c54c40ed800abb3e210f
function [mu,sig,parrow] = hyperpriorupdate(theta,thetamu,thetasig,params) % hyperpriorupdate - default hyper prior update function for mcmcrun % assumes: % theta ~ N(mu,sig2) % mu ~ N(mu0, tau20) % sig2 ~ invchi(n0, sig20) % needs in params structure % nhpar, number of parameter sets with hyper priors % ind, ...
github
kbarnhart/cesmEnsembleSeaIce-master
mcmcpred.m
.m
cesmEnsembleSeaIce-master/mcmcstat/mcmcpred.m
2,739
utf_8
f948293406f519ad29f44ca85dd1676b
function out=mcmcpred(results,chain,s2chain,data,modelfun,nsample,varargin) %MCMCPRED predictive calculations from the mcmcrun chain % out = mcmcpred(results,chain,s2chain,data,modelfun,nsample,varargin) % Calls modelfun(data,theta,varargin{:}) % or modelfun(data{ibatch},theta(local),varargin{:}) in case the % data has...
github
kbarnhart/cesmEnsembleSeaIce-master
gammar.m
.m
cesmEnsembleSeaIce-master/mcmcstat/gammar.m
1,482
utf_8
af30d501ac9be0ca7ec9619a40461ede
function y=gammar(m,n,a,b) %GAMMAR random deviates from gamma distribution % GAMMAR(M,N,A,B) returns a M*N matrix of random deviates from the Gamma % distribution with shape parameter A and scale parameter B: % % p(x|A,B) = B^-A/gamma(A)*x^(A-1)*exp(-x/B) % Marko Laine <marko.laine@fmi.fi> % $Revision: 1.6 $ $Date...
github
kbarnhart/cesmEnsembleSeaIce-master
showparams.m
.m
cesmEnsembleSeaIce-master/mcmcstat/showparams.m
1,578
utf_8
b1a765fe5bcb988ace22d1d8fd682adb
function showparams(param,nbatch,texfile) %SHOWPARAMS mcmc utility % $Revision: $ $Date: $ if nargin<2 nbatch=1; end if nargin <3 texfile=''; end [names,value,parind,local,upper,lower,thetamu,thetasig] = ... openparstruct(param,nbatch); fprintf('Optimizing these parameters:\nname start [min,max] N(mu,s^...
github
kbarnhart/cesmEnsembleSeaIce-master
mcmcrun.m
.m
cesmEnsembleSeaIce-master/mcmcstat/mcmcrun.m
29,186
utf_8
377145ea4d677b9d042be954572fb837
function [results,chain,s2chain,sschain, hchain]=mcmcrun(model,data,params,options,res) %MCMCRUN Metropolis-Hastings MCMC simulation for nonlinear Gaussian models % properties: % multiple y-columns, sigma2-sampling, adaptation, % Gaussian prior, parameter limits, delayed rejection, dram % % [RESULTS,CHAIN,S2CHAIN,SSC...
github
kbarnhart/cesmEnsembleSeaIce-master
gammaqf.m
.m
cesmEnsembleSeaIce-master/mcmcstat/gammaqf.m
1,065
utf_8
78413cdc729a77767c9c6dc3633a32ff
function y=gammaqf(p,a,b) % GAMMAQF inverse of Gamma distribution function % GAMMAQF(p,alpha,beta) % Marko Laine <marko.laine@fmi.fi> % $Revision: 1.5 $ $Date: 2012/09/27 11:47:36 $ if nargin<3, b=1; end if ~isunix & exist('distribs') == 3 % mex file version y = distribs('gammain',p,a).*b; return end y=zeros(si...
github
0todd0000/spm1dmatlab-master
cca.m
.m
spm1dmatlab-master/+spm1d/+stats/cca.m
2,149
utf_8
325bd35851d821b9b7875084aa5ac3d9
function [SPM] = cca(Y, x, varargin) %__________________________________________________________________________ % Copyright (C) 2022 Todd Pataky parser = inputParser; addOptional(parser, 'roi', [], @(x)isempty(x) || ((islogical(x)|| isnumeric(x)) && isvector(x)) ); parser.parse(varargin{:}); roi = ...
github
0todd0000/spm1dmatlab-master
hotellings.m
.m
spm1dmatlab-master/+spm1d/+stats/hotellings.m
1,527
utf_8
234ed857190dbee7a97180e4c6a90d68
function [SPM] = hotellings(Y, mu, varargin) %__________________________________________________________________________ % Copyright (C) 2022 Todd Pataky spm1d.util.check_zero_var(Y); parser = inputParser; addOptional(parser, 'roi', [], @(x)isempty(x) || ((islogical(x)|| isnumeric(x)) && isvector(x)) ); pars...
github
0todd0000/spm1dmatlab-master
hotellings2.m
.m
spm1dmatlab-master/+spm1d/+stats/hotellings2.m
1,738
utf_8
160df154b645a92b352f4c151dd863c2
function [SPM] = hotellings2(YA, YB, varargin) %__________________________________________________________________________ % Copyright (C) 2022 Todd Pataky spm1d.util.check_zero_var(YA); spm1d.util.check_zero_var(YB); parser = inputParser; addOptional(parser, 'roi', [], @(x)isempty(x) || ((islogical(x)|| isnum...
github
0todd0000/spm1dmatlab-master
manova1.m
.m
spm1dmatlab-master/+spm1d/+stats/manova1.m
1,804
utf_8
123c445567f71c9967e2da45d3a219df
function [SPM] = manova1(Y, A, varargin) %__________________________________________________________________________ % Copyright (C) 2022 Todd Pataky spm1d.util.check_zero_var(Y); parser = inputParser; addOptional(parser, 'roi', [], @(x)isempty(x) || ((islogical(x)|| isnumeric(x)) && isvector(x)) ); parser.p...
github
0todd0000/spm1dmatlab-master
T2.m
.m
spm1dmatlab-master/+spm1d/+rft1d/T2.m
3,194
utf_8
6a6e358d38cb927547709c4bd0940223
%__________________________________________________________________________ % Copyright (C) 2022 Todd Pataky % $Id: T2.m 1 2016-01-04 16:07 todd $ classdef T2 methods (Static) %0D probabilities function [u] = isf0d(alpha, df) [p,m] = deal(df(1), df(2)); dfF = [p, m-p+1]; ...
github
0todd0000/spm1dmatlab-master
t.m
.m
spm1dmatlab-master/+spm1d/+rft1d/t.m
3,001
utf_8
93e492c75ddf6b2d78dcdbc101c981ba
%__________________________________________________________________________ % Copyright (C) 2022 Todd Pataky % $Id: t.m 1 2016-01-04 16:07 todd $ classdef t methods (Static) %0D probabilities function [u] = isf0d(alpha, df) u = spm_invTcdf(1-alpha, df); end function [p] ...
github
0todd0000/spm1dmatlab-master
chi2.m
.m
spm1dmatlab-master/+spm1d/+rft1d/chi2.m
2,980
utf_8
2bc0c4ce7613e844ce5dc149bc88e6fe
%__________________________________________________________________________ % Copyright (C) 2022 Todd Pataky % $Id: chi2.m 1 2016-01-04 16:07 todd $ classdef chi2 methods (Static) %0D probabilities function [u] = isf0d(alpha, df) u = spm_invXcdf(1-alpha, df); end functio...
github
0todd0000/spm1dmatlab-master
f.m
.m
spm1dmatlab-master/+spm1d/+rft1d/f.m
2,970
utf_8
7a39af50dbdb59c6027120e1af30484c
%__________________________________________________________________________ % Copyright (C) 2022 Todd Pataky % $Id: f.m 1 2016-01-04 16:07 todd $ classdef f methods (Static) %0D probabilities function [u] = isf0d(alpha, df) u = spm_invFcdf(1-alpha, df); end function [p]...
github
0todd0000/spm1dmatlab-master
spm_P_RF.m
.m
spm1dmatlab-master/spm8/spm_P_RF.m
6,701
utf_8
6f176533808607b6a8612c5253bbeacf
function [P,p,Em,En,EN] = spm_P_RF(c,k,Z,df,STAT,R,n) % Returns the [un]corrected P value using unifed EC theory % FORMAT [P p Em En EN] = spm_P_RF(c,k,Z,df,STAT,R,n) % % c - cluster number % k - extent {RESELS} % Z - height {minimum over n values} % df - [df{interest} df{error}] % STAT - Statistical f...
github
toby20130333/webrtc-qt-master
apmtest.m
.m
webrtc-qt-master/webrtc/modules/audio_processing/test/apmtest.m
9,470
utf_8
ad72111888b4bb4b7c4605d0bf79d572
function apmtest(task, testname, filepath, casenumber, legacy) %APMTEST is a tool to process APM file sets and easily display the output. % APMTEST(TASK, TESTNAME, CASENUMBER) performs one of several TASKs: % 'test' Processes the files to produce test output. % 'list' Prints a list of cases in the test set,...
github
toby20130333/webrtc-qt-master
plot_neteq_delay.m
.m
webrtc-qt-master/webrtc/modules/audio_coding/neteq/test/delay_tool/plot_neteq_delay.m
6,342
utf_8
afe892b0bd98373bef446b6957b865a7
function [delay_struct, delayvalues] = plot_neteq_delay(delayfile, varargin) % InfoStruct = plot_neteq_delay(delayfile) % InfoStruct = plot_neteq_delay(delayfile, 'skipdelay', skip_seconds) % % Henrik Lundin, 2006-11-17 % Henrik Lundin, 2011-05-17 % try s = parse_delay_file(delayfile); catch error(lasterr); e...
github
toby20130333/webrtc-qt-master
plot_neteq_delay.m
.m
webrtc-qt-master/webrtc/modules/audio_coding/neteq4/test/delay_tool/plot_neteq_delay.m
5,563
utf_8
8b6a66813477863da513b1e6971dbc97
function [delay_struct, delayvalues] = plot_neteq_delay(delayfile, varargin) % InfoStruct = plot_neteq_delay(delayfile) % InfoStruct = plot_neteq_delay(delayfile, 'skipdelay', skip_seconds) % % Henrik Lundin, 2006-11-17 % Henrik Lundin, 2011-05-17 % try s = parse_delay_file(delayfile); catch error(lasterr); e...
github
toby20130333/webrtc-qt-master
exportfig.m
.m
webrtc-qt-master/webrtc/modules/video_coding/codecs/test_framework/exportfig.m
14,995
utf_8
d7427be6e56c37d4aec2f2c91c9a6341
function exportfig(varargin) %EXPORTFIG Export a figure to Encapsulated Postscript. % EXPORTFIG(H, FILENAME) writes the figure H to FILENAME. H is % a figure handle and FILENAME is a string that specifies the % name of the output file. % % EXPORTFIG(...,PARAM1,VAL1,PARAM2,VAL2,...) specifies % parameters th...
github
toby20130333/webrtc-qt-master
plotBenchmark.m
.m
webrtc-qt-master/webrtc/modules/video_coding/codecs/test_framework/plotBenchmark.m
11,672
utf_8
a80ed712ca3895c1e7b6383d4cc07d38
function plotBenchmark(fileNames, export) %PLOTBENCHMARK Plots and exports video codec benchmarking results. % PLOTBENCHMARK(FILENAMES, EXPORT) parses the video codec benchmarking result % files given by the cell array of strings FILENAME. It plots the results and % optionally exports each plot to an appropriatel...
github
yeguang-xue/2015-FEA-2DXFEM-master
getGaussPoints.m
.m
2015-FEA-2DXFEM-master/getGaussPoints.m
6,031
utf_8
39462f75429c7e5f63f012f1c0890fa1
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Orinial from: Matthew Pais's code % Modify: Yeguang Xue (Northwestern Univ) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% function [gauss,weight] = getGaussPoints(npt) switch npt case 2 np(1) = -0.577350269189626; np(2) =...
github
CAHLR/xBKT-master
compare_edxhmm_to_bnt2.m
.m
xBKT-master/+test/compare_edxhmm_to_bnt2.m
4,128
utf_8
82a366bb428651af4f0a150aab4e79a6
function [pred,d3,mt] = compare_edxhmm_to_bnt2 % addpath(genpath('./bnt/')) %load edxhmm_vs_bnt; m = generate.random_model(1); d = generate.synthetic_data(m,ones(1,400)*8); d2 = generate.synthetic_data(m,ones(1,100)*8); bestll = -inf; for i=1:25 [m2,ll] = fit.EM_fit(generate.random_model(1),d,0); i...
github
santhosh-kumar/ContextualMultiCameraTracker-master
addpath_recurse.m
.m
ContextualMultiCameraTracker-master/libs/addpath_recurse.m
8,674
utf_8
a2d45a9c2aefb5990bd2657c6872e3c2
function addpath_recurse(strStartDir, caStrsIgnoreDirs, strXorIntAddpathMode, blnRemDirs, blnDebug) %ADDPATH_RECURSE Adds (or removes) the specified directory and its subfolders % addpath_recurse(strStartDir, caStrsIgnoreDirs, strXorIntAddpathMode, blnRemDirs, blnDebug) % % By default, all hidden directories (prec...
github
santhosh-kumar/ContextualMultiCameraTracker-master
imagesAlign.m
.m
ContextualMultiCameraTracker-master/libs/toolbox/videos/imagesAlign.m
8,409
utf_8
35c2785931e620bc56566f443a5823f7
function [H,Ip] = imagesAlign( I, Iref, varargin ) % Fast and robust estimation of homography relating two images. % % The algorithm for image alignment is a simple but effective variant of % the inverse compositional algorithm. For a thorough overview, see: % "Lucas-kanade 20 years on A unifying framework," % ...
github
santhosh-kumar/ContextualMultiCameraTracker-master
opticalFlow.m
.m
ContextualMultiCameraTracker-master/libs/toolbox/videos/opticalFlow.m
7,587
utf_8
08ec9aba216844a2d5056d5bec3dc7eb
function [Vx,Vy,reliab] = opticalFlow( I1, I2, varargin ) % Coarse-to-fine optical flow using Lucas&Kanade or Horn&Schunck. % % Implemented 'type' of optical flow estimation: % LK: http://en.wikipedia.org/wiki/Lucas-Kanade_method % HS: http://en.wikipedia.org/wiki/Horn-Schunck_method % SD: Simple block-based s...
github
santhosh-kumar/ContextualMultiCameraTracker-master
seqWriterPlugin.m
.m
ContextualMultiCameraTracker-master/libs/toolbox/videos/seqWriterPlugin.m
8,540
utf_8
a682308b0dce017287483360e2c6452f
function varargout = seqWriterPlugin( cmd, h, varargin ) % Plugin for seqIo and videoIO to allow writing of seq files. % % Do not call directly, use as plugin for seqIo or videoIO instead. % The following is a list of commands available (swp=seqWriterPlugin): % h=swp('open',h,fName,info) % Open a seq file for wri...
github
santhosh-kumar/ContextualMultiCameraTracker-master
kernelTracker.m
.m
ContextualMultiCameraTracker-master/libs/toolbox/videos/kernelTracker.m
9,641
utf_8
4e1eae0a8a461d70eb7414a33112de57
function [allRct, allSim, allIc] = kernelTracker( I, prm ) % Kernel Tracker from Comaniciu, Ramesh and Meer PAMI 2003. % % Implements the algorithm described in "Kernel-Based Object Tracking" by % Dorin Comaniciu, Visvanathan Ramesh and Peter Meer, PAMI 25, 564-577, % 2003. This is a fast tracking algorithm that ...
github
santhosh-kumar/ContextualMultiCameraTracker-master
seqIo.m
.m
ContextualMultiCameraTracker-master/libs/toolbox/videos/seqIo.m
17,529
utf_8
a5e3f0d8b53147a8e60c6aa03a0822f4
function out = seqIo( fName, action, varargin ) % Utilities for reading and writing seq files. % % A seq file is a series of concatentated image frames with a fixed size % header. It is essentially the same as merging a directory of images into % a single file. seq files are convenient for storing videos because: ...
github
santhosh-kumar/ContextualMultiCameraTracker-master
seqReaderPlugin.m
.m
ContextualMultiCameraTracker-master/libs/toolbox/videos/seqReaderPlugin.m
9,908
utf_8
a33b38d891c8413229a6d10a0b86a8d5
function varargout = seqReaderPlugin( cmd, h, varargin ) % Plugin for seqIo and videoIO to allow reading of seq files. % % Do not call directly, use as plugin for seqIo or videoIO instead. % The following is a list of commands available (srp=seqReaderPlugin): % h = srp('open',h,fName) % Open a seq file for rea...
github
santhosh-kumar/ContextualMultiCameraTracker-master
pcaApply.m
.m
ContextualMultiCameraTracker-master/libs/toolbox/classify/pcaApply.m
3,483
utf_8
9daebac8a3d47d48bc44b7fe6ec75d1c
function varargout = pcaApply( X, U, mu, k ) % Companion function to pca. % % Use pca.m to retrieve the principal components U and the mean mu from a % set of vectors x, then use pcaApply to get the first k coefficients of % x in the space spanned by the columns of U. See pca for general usage. % % If x is large...
github
santhosh-kumar/ContextualMultiCameraTracker-master
forestTrain.m
.m
ContextualMultiCameraTracker-master/libs/toolbox/classify/forestTrain.m
6,337
utf_8
6d827f93990f88a67f0d521f830dd265
function forest = forestTrain( data, hs, varargin ) % Train random forest classifier. % % Dimensions: % M - number trees % F - number features % N - number input vectors % H - number classes % % USAGE % forest = forestTrain( data, hs, [varargin] ) % % INPUTS % data - [NxF] N length F feature vect...
github
santhosh-kumar/ContextualMultiCameraTracker-master
fernsRegTrain.m
.m
ContextualMultiCameraTracker-master/libs/toolbox/classify/fernsRegTrain.m
6,124
utf_8
f9b14e3d1f44a49472022479f35615fb
function [ferns,ysPr] = fernsRegTrain( data, ys, varargin ) % Train boosted fern regressor. % % Boosted regression using random ferns as the weak regressor. See "Greedy % function approximation: A gradient boosting machine", Friedman, Annals of % Statistics 2001, for more details on boosted regression. % % A few...
github
santhosh-kumar/ContextualMultiCameraTracker-master
rbfDemo.m
.m
ContextualMultiCameraTracker-master/libs/toolbox/classify/rbfDemo.m
3,092
utf_8
d6d2ee9e5afdcd3dc89bd5a250c45a52
function rbfDemo( dataType, noiseSig, scale, k, cluster, show ) % Demonstration of rbf networks for regression. % % See rbfComputeBasis for discussion of rbfs. % % USAGE % rbfDemo( dataType, noiseSig, scale, k, cluster, show ) % % INPUTS % dataType - 0: 1D sinusoid % 1: 2D sinusoid % ...
github
santhosh-kumar/ContextualMultiCameraTracker-master
pdist2.m
.m
ContextualMultiCameraTracker-master/libs/toolbox/classify/pdist2.m
5,407
utf_8
952fc9c0a6b35dcc57a027af4a7ad0cd
function D = pdist2( X, Y, metric ) % Calculates the distance between sets of vectors. % % Let X be an m-by-p matrix representing m points in p-dimensional space % and Y be an n-by-p matrix representing another set of points in the same % space. This function computes the m-by-n distance matrix D where D(i,j) % i...
github
santhosh-kumar/ContextualMultiCameraTracker-master
pca.m
.m
ContextualMultiCameraTracker-master/libs/toolbox/classify/pca.m
3,391
utf_8
4fa288fd4b4c7e935ac455038d927e40
function [U,mu,vars] = pca( X ) % Principal components analysis (alternative to princomp). % % A simple linear dimensionality reduction technique. Use to create an % orthonormal basis for the points in R^d such that the coordinates of a % vector x in this basis are of decreasing importance. Instead of using all %...
github
santhosh-kumar/ContextualMultiCameraTracker-master
kmeans2.m
.m
ContextualMultiCameraTracker-master/libs/toolbox/classify/kmeans2.m
5,434
utf_8
b3e2fa4de99d33fb44b4e3c6943bd5d3
function [ IDX, C, d ] = kmeans2( X, k, varargin ) % Fast version of kmeans clustering. % % Cluster the N x p matrix X into k clusters using the kmeans algorithm. It % returns the cluster memberships for each data point in the N x 1 vector % IDX and the K x p matrix of cluster means in C. % % This function is in...
github
santhosh-kumar/ContextualMultiCameraTracker-master
acfModify.m
.m
ContextualMultiCameraTracker-master/libs/toolbox/detector/acfModify.m
4,365
utf_8
953c8f9fc517f7343b01c4017a46e819
function detector = acfModify( detector, varargin ) % Modify aggregate channel features object detector. % % Takes an object detector trained by acfTrain() and modifies it. Only % certain modifications are allowed to the detector and the detector should % never be modified directly (this may cause the detector to ...
github
santhosh-kumar/ContextualMultiCameraTracker-master
acfDetect.m
.m
ContextualMultiCameraTracker-master/libs/toolbox/detector/acfDetect.m
3,479
utf_8
e9db3cf6ac6e3e4c29c92941512db444
function bbs = acfDetect( I, detector, fileName ) % Run aggregate channel features object detector on given image(s). % % The input 'I' can either be a single image (or filename) or a cell array % of images (or filenames). In the first case, the return is a set of bbs % where each row has the format [x y w h score...
github
santhosh-kumar/ContextualMultiCameraTracker-master
bbGt.m
.m
ContextualMultiCameraTracker-master/libs/toolbox/detector/bbGt.m
34,423
utf_8
2efb0917311bcfcd0104393b2be462c1
function varargout = bbGt( action, varargin ) % Bounding box (bb) annotations struct, evaluation and sampling routines. % % bbGt gives access to two types of routines: % (1) Data structure for storing bb image annotations. % (2) Routines for evaluating the Pascal criteria for object detection. % % The bb annotat...
github
santhosh-kumar/ContextualMultiCameraTracker-master
bbApply.m
.m
ContextualMultiCameraTracker-master/libs/toolbox/detector/bbApply.m
21,861
utf_8
f306981e5a799751db67b55034b5f3cf
function varargout = bbApply( action, varargin ) % Functions for manipulating bounding boxes (bb). % % A bounding box (bb) is also known as a position vector or a rectangle % object. It is a four element vector with the fields: [x y w h]. A set of % n bbs can be stores as an [nx4] array, most funcitons below can h...
github
santhosh-kumar/ContextualMultiCameraTracker-master
imwrite2.m
.m
ContextualMultiCameraTracker-master/libs/toolbox/images/imwrite2.m
5,289
utf_8
fa93c13a7f1259ba3561a97c74902cd9
function I = imwrite2( I, mulFlag, imagei, path, ... name, ext, nDigits, nSplits, spliti, varargin ) % Similar to imwrite, except follows a strict naming convention. % % Wrapper for imwrite that writes file to the filename: % fName = [path name int2str2(i,nDigits) '.' ext]; % Using imwrite: % imwrite( I, fNa...
github
santhosh-kumar/ContextualMultiCameraTracker-master
convnFast.m
.m
ContextualMultiCameraTracker-master/libs/toolbox/images/convnFast.m
9,435
utf_8
ae42efd752c1f27d6671f215e4ad9ce2
function C = convnFast( A, B, shape ) % Fast convolution, replacement for both conv2 and convn. % % See conv2 or convn for more information on convolution in general. % % This works as a replacement for both conv2 and convn. Basically, % performs convolution in either the frequency or spatial domain, depending ...
github
santhosh-kumar/ContextualMultiCameraTracker-master
imMlGauss.m
.m
ContextualMultiCameraTracker-master/libs/toolbox/images/imMlGauss.m
5,902
utf_8
0e7d1de8c0b463e6ca5e742f5764bb64
function varargout = imMlGauss( G, symmFlag, show ) % Calculates max likelihood params of Gaussian that gave rise to image G. % % Suppose G contains an image of a gaussian distribution. One way to % recover the parameters of the gaussian is to threshold the image, and % then estimate the mean/covariance based on ...
github
santhosh-kumar/ContextualMultiCameraTracker-master
montage2.m
.m
ContextualMultiCameraTracker-master/libs/toolbox/images/montage2.m
7,778
utf_8
1040b0c5365d56064de7c28bd46e1cbf
function varargout = montage2( IS, prm ) % Used to display collections of images and videos. % % Improved version of montage, with more control over display. % NOTE: Can convert between MxNxT and MxNx3xT image stack via: % I = repmat( I, [1,1,1,3] ); I = permute(I, [1,2,4,3] ); % % USAGE % varargout = montag...
github
santhosh-kumar/ContextualMultiCameraTracker-master
jitterImage.m
.m
ContextualMultiCameraTracker-master/libs/toolbox/images/jitterImage.m
5,427
utf_8
5eb14e974f08496e8c644c3ef94449f7
function IJ = jitterImage( I, varargin ) % Creates multiple, slightly jittered versions of an image. % % Takes an image I, and generates a number of images that are copies of the % original image with slight translation, rotation and scaling applied. If % the input image is actually an MxNxK stack of images then a...
github
santhosh-kumar/ContextualMultiCameraTracker-master
movieToImages.m
.m
ContextualMultiCameraTracker-master/libs/toolbox/images/movieToImages.m
990
utf_8
c6c5bfd212a560ee433db20fb9c74a4c
function I = movieToImages( M ) % Creates a stack of images from a matlab movie M. % % Repeatedly calls frame2im. Useful for playback with playMovie. % % USAGE % I = movieToImages( M ) % % INPUTS % M - a matlab movie % % OUTPUTS % I - MxNxT array (of images) % % EXAMPLE % load( 'images.mat' ); [...
github
santhosh-kumar/ContextualMultiCameraTracker-master
toolboxUpdateHeader.m
.m
ContextualMultiCameraTracker-master/libs/toolbox/external/toolboxUpdateHeader.m
2,433
utf_8
6cd2226023653b907b767b6c4b8b7ff7
function toolboxUpdateHeader % Update the headers of all the files. % % USAGE % toolboxUpdateHeader % % INPUTS % % OUTPUTS % % EXAMPLE % % See also % % Piotr's Image&Video Toolbox Version 3.25 % Copyright 2013 Piotr Dollar. [pdollar-at-caltech.edu] % Please email me if you find bugs, or have sugg...