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
Hamza5/Plateforme-outils-SII-master
mfa_cl.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/BNT/examples/static/Zoubin/mfa_cl.m
1,166
utf_8
f8d9545f2ac20101b94c71197ed8e85d
% function [lik, likv]=mfa_cl(X,Lh,Ph,Mu,Pi); % % Calculates log likelihoods of a data set under a mixture of factor % analysis model. % % X - data matrix % Lh - factor loadings % Ph - diagonal uniquenesses matrix % Mu - mean vectors % Pi - priors % % lik - log likelihood of X % likv - vector of log likelihoods % %...
github
Hamza5/Plateforme-outils-SII-master
rdiv.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/BNT/examples/static/Zoubin/rdiv.m
313
utf_8
a88548ef56eaf2eb59848137efc488ea
% function Z=rdiv(X,Y) % % row division: Z = X / Y row-wise % Y must have one column function Z=rdiv(X,Y) [N M]=size(X); [K L]=size(Y); if(N ~= K | L ~=1) disp('Error in RDIV'); return; end Z=zeros(N,M); if M<N, for m=1:M Z(:,m)=X(:,m)./Y; end else for n=1:N Z(n,:)=X(n,:)/Y(n); end; end;
github
Hamza5/Plateforme-outils-SII-master
rsum.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/BNT/examples/static/Zoubin/rsum.m
199
utf_8
c79535bcd7afd1e86ae8fc5a930afae0
% row sum % function Z=rsum(X) function Z=rsum(X) [N M]=size(X); Z=zeros(N,1); if M==1, Z=X; elseif M<2*N, for m=1:M, Z=Z+X(:,m); end; else for n=1:N Z(n)=sum(X(n,:)); end; end
github
Hamza5/Plateforme-outils-SII-master
ffa.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/BNT/examples/static/Zoubin/ffa.m
1,368
utf_8
b2f6d60cfe9f7844f46ad49386633e2b
% function [L,Ph,LL]=ffa(X,K,cyc,tol); % % Fast Maximum Likelihood Factor Analysis using EM % % X - data matrix % K - number of factors % cyc - maximum number of cycles of EM (default 100) % tol - termination tolerance (prop change in likelihood) (default 0.0001) % % L - factor loadings % Ph - diagonal uniquenesses m...
github
Hamza5/Plateforme-outils-SII-master
scg_unstable.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/BNT/examples/static/SCG/scg_unstable.m
2,145
utf_8
067006de982c649620605a483333a045
function scg_unstable() % the objective of this script is to test if the stable conditonal gaussian % inference can handle the numerical instability problem described on % page.151 of 'Probabilistic networks and expert system' by Cowell, Dawid, Lauritzen and % Spiegelhalter, 1999. A = 1; Y = 2; n = 2; ns = ones(1, n...
github
Hamza5/Plateforme-outils-SII-master
transform_data_into_bnt_format.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/BNT/examples/static/dtree/transform_data_into_bnt_format.m
1,752
utf_8
fe71753bf7e1a3be7ac13c32aa88dd48
function [bnt_data, old_values] = transform_data_into_bnt_format(data,cnodes) % TRANSFORM_DATA_TO_BNT_FORMAT Ensures discrete variables have values 1,2,..,k % e.g., if the values of a discrete are [0 1 6], they must be mapped to [1 2 3] % % data(i,j) is the value for i-th node in j-th case. % bnt_data(i,j) is the new v...
github
Hamza5/Plateforme-outils-SII-master
fhme.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/BNT/examples/static/HME/fhme.m
3,716
utf_8
2904f73aabc3586d20a3c118e6db0205
function risultati = fhme(net, nodes_info, data, n) %HMEFWD Forward propagation through an HME model % % Each row of the (n x class_num) matrix 'risultati' containes the estimated class posterior prob. % % ---------------------------------------------------------------------------------------------------- % -> pierpaol...
github
Hamza5/Plateforme-outils-SII-master
marginalize_pot.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/BNT/potentials/@mpot/marginalize_pot.m
1,076
utf_8
dff1ed58d10d3ffa93b69c8d7befc696
function smallpot = marginalize_pot(bigpot, keep, maximize, useC) % MARGINALIZE_POT Marginalize a mpot onto a smaller domain. % smallpot = marginalize_pot(bigpot, keep, maximize, useC) % % The maximize argument is ignored - maxing out a Gaussian is the same as summing it out, % since the mode and mean are equal. % The ...
github
Hamza5/Plateforme-outils-SII-master
mpot_to_cpot.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/BNT/potentials/@mpot/mpot_to_cpot.m
599
utf_8
ad90567af25a64158159d7eae8be31ed
function can = mpot_to_cpot(mom) % MPOT_TO_CPOT Convert a moment potential to canonical form. % mom = mpot_to_cpot(can) [g, h, K] = moment_to_canonical(mom.logp, mom.mu, mom.Sigma); can = cpot(mom.domain, mom.sizes, g, h, K); %%%%%%%%%%% function [g, h, K] = moment_to_canonical(logp, mu, Sigma) % MOMENT_TO_CANONICAL...
github
Hamza5/Plateforme-outils-SII-master
cpot_to_mpot.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/BNT/potentials/@cpot/cpot_to_mpot.m
828
utf_8
26862bd93acb82b77014800dbc864c25
function mom = cpot_to_mpot(can) % CPOT_TO_MPOT Convert a canonical potential to moment form. % mom = cpot_to_mpot(can) [logp, mu, Sigma] = canonical_to_moment(can.g, can.h, can.K); mom = mpot(can.domain, can.sizes, logp, mu, Sigma); %%%%%%% function [logp, mu, Sigma] = canonical_to_moment(g, h, K) % CANONICAL_TO_MO...
github
Hamza5/Plateforme-outils-SII-master
cpot_to_mpot.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/BNT/potentials/@cpot/Old/cpot_to_mpot.m
647
utf_8
a773e7395fa7f26edbcfdcf3c08577ce
function mom = cpot_to_mpot(can) % CPOT_TO_MPOT Convert a canonical potential to moment form. % mom = cpot_to_mpot(can) [logp, mu, Sigma] = canonical_to_moment(can.g, can.h, can.K); mom = mpot(can.domain, can.sizes, logp, mu, Sigma); %%%%%%% function [logp, mu, Sigma] = canonical_to_moment(g, h, K) % CANONICAL_TO_MO...
github
Hamza5/Plateforme-outils-SII-master
convert_dbn_CPDs_to_tables.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/BNT/general/convert_dbn_CPDs_to_tables.m
6,015
utf_8
6aee53e35cb0703d7289fd7d2805ae57
function CPDpot = convert_dbn_CPDs_to_tables(bnet, evidence) % CONVERT_DBN_CPDS_TO_TABLES Convert CPDs of (possibly instantiated) DBN nodes to tables % CPDpot = convert_dbn_CPDs_to_tables(bnet, evidence) % % CPDpot{n,t} is a table containing P(n,t|pa(n,t), ev) % All hidden nodes are assumed to be discrete. % We assume ...
github
Hamza5/Plateforme-outils-SII-master
convert_dbn_CPDs_to_tables1.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/BNT/general/convert_dbn_CPDs_to_tables1.m
5,487
utf_8
5ac1d4175d34043cc7a3ecf811892498
function CPDpot = convert_dbn_CPDs_to_tables1(bnet, evidence) % CONVERT_DBN_CPDS_TO_TABLES Convert CPDs of (possibly instantiated) DBN nodes to tables % CPDpot = convert_dbn_CPDs_to_tables(bnet, evidence) % % CPDpot{n,t} is a table containing P(n,t|pa(n,t), ev) % All hidden nodes are assumed to be discrete % We assume ...
github
Hamza5/Plateforme-outils-SII-master
calc_mpe_bucket.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/BNT/general/Old/calc_mpe_bucket.m
4,198
utf_8
77ff3fb31686738c6d6b30a04cf847fc
function [mpe, ll] = calc_mpe_bucket(bnet, new_evidence, max_over) % % PURPOSE: % CALC_MPE Computes the most probable explanation to the network nodes % given the evidence. % % [mpe, ll] = calc_mpe(engine, new_evidence, max_over) % % INPUT: % bnet - the bayesian network % new_evide...
github
Hamza5/Plateforme-outils-SII-master
dag_to_essential_graph.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/graph/dag_to_essential_graph.m
3,193
utf_8
677d6a6653f2b6c757b8559c9db0bb65
function [eg] = dag_to_essential_graph(dag) cpdag = dag_to_cpdag(dag); eg = dag + dag .* (cpdag + cpdag'); return; % Coverts a DAG into Essential Graph where edges are coded by 2 and 3, 2 is % directed edge and 3 is bidirected edge and is at one (the same as the original DAG) of the two % symetrical places. % I...
github
Hamza5/Plateforme-outils-SII-master
dfs.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/graph/dfs.m
2,284
utf_8
6f66bf52242732c48b1cd818b9d032f9
function [d, pre, post, cycle, f, pred] = dfs(adj_mat, start, directed) % DFS Perform a depth-first search of the graph starting from 'start'. % [d, pre, post, cycle, f, pred] = dfs(adj_mat, start, directed) % % Input: % adj_mat(i,j)=1 iff i is connected to j. % start is the root vertex of the dfs tree; if [], all node...
github
Hamza5/Plateforme-outils-SII-master
min_subtree_con_nodes.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/graph/min_subtree_con_nodes.m
1,393
utf_8
4e0ded4c329d2d628dcac1223dadf428
function [subtree, nroot_node] = min_subtree_con_nodes(jtree, root, nodes) %min_subtree_con_nodes get the minimum subtree of tree which contains the nodes if isempty(jtree) | isempty(nodes) subtree = []; nroot_node = []; return; end rnodes = min_subtree_nodes(jtree, nodes); nea_node = nearest_node(jtree, ...
github
Hamza5/Plateforme-outils-SII-master
dfs.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/graph/Old/dfs.m
2,742
utf_8
e416616d9aeba9dda8761af00ebe510a
function [d, pre, post, height, cycle, pred] = dfs(adj_mat, start, directed) % DFS Perform a depth-first search of the graph starting from 'start'. % [d, pre, post, height, cycle, pred] = dfs(adj_mat, start, directed) % % d(i) is the time at which node i is first discovered. % pre is a listing of the nodes in the order...
github
Hamza5/Plateforme-outils-SII-master
dhmm_em.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/HMM/dhmm_em.m
4,081
utf_8
e23671f3809776edff04b1c4ec457169
function [LL, prior, transmat, obsmat, nrIterations] = ... dhmm_em(data, prior, transmat, obsmat, varargin) % LEARN_DHMM Find the ML/MAP parameters of an HMM with discrete outputs using EM. % [ll_trace, prior, transmat, obsmat, iterNr] = learn_dhmm(data, prior0, transmat0, obsmat0, ...) % % Notation: Q(t) = hidden s...
github
Hamza5/Plateforme-outils-SII-master
mhmm_em.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/HMM/mhmm_em.m
5,562
utf_8
5a337291416185ebcf567e46e08a3d09
function [LL, prior, transmat, mu, Sigma, mixmat] = ... mhmm_em(data, prior, transmat, mu, Sigma, mixmat, varargin); % LEARN_MHMM Compute the ML parameters of an HMM with (mixtures of) Gaussians output using EM. % [ll_trace, prior, transmat, mu, sigma, mixmat] = learn_mhmm(data, ... % prior0, transmat0, mu0, sig...
github
Hamza5/Plateforme-outils-SII-master
cond_indep_fisher_z.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/KPMstats/cond_indep_fisher_z.m
3,655
utf_8
91a631e2222244ede4df8e595f16adee
function [CI, r, p] = cond_indep_fisher_z(X, Y, S, C, N, alpha) % COND_INDEP_FISHER_Z Test if X indep Y given Z using Fisher's Z test % CI = cond_indep_fisher_z(X, Y, S, C, N, alpha) % % C is the covariance (or correlation) matrix % N is the sample size % alpha is the significance level (default: 0.05) % % See p133 of ...
github
Hamza5/Plateforme-outils-SII-master
logistK.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/KPMstats/logistK.m
7,253
utf_8
9539c8105ebca14d632373f5f9f4b70d
function [beta,post,lli] = logistK(x,y,w,beta) % [beta,post,lli] = logistK(x,y,beta,w) % % k-class logistic regression with optional sample weights % % k = number of classes % n = number of samples % d = dimensionality of samples % % INPUT % x dxn matrix of n input column vectors % y kxn vector of class assignment...
github
Hamza5/Plateforme-outils-SII-master
multipdf.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/KPMstats/multipdf.m
1,192
utf_8
1fce56db4c9a59d35960bd25df11b1f9
function p = multipdf(x,theta) %MULTIPDF Multinomial probability density function. % p = multipdf(x,theta) returns the probabilities of % vector x, under the multinomial distribution % with parameter vector theta. % % Author: David Ross %-------------------------------------------------------- % Check the arg...
github
Hamza5/Plateforme-outils-SII-master
metrop.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/netlab3.3/metrop.m
5,284
utf_8
df084b9ad36314e304a99b9b1f3c955e
function [samples, energies, diagn] = metrop(f, x, options, gradf, varargin) %METROP Markov Chain Monte Carlo sampling with Metropolis algorithm. % % Description % SAMPLES = METROP(F, X, OPTIONS) uses the Metropolis algorithm to % sample from the distribution P ~ EXP(-F), where F is the first % argument to METROP. T...
github
Hamza5/Plateforme-outils-SII-master
hmc.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/netlab3.3/hmc.m
7,683
utf_8
64c15e958297afe69787b8617dc1a56a
function [samples, energies, diagn] = hmc(f, x, options, gradf, varargin) %HMC Hybrid Monte Carlo sampling. % % Description % SAMPLES = HMC(F, X, OPTIONS, GRADF) uses a hybrid Monte Carlo % algorithm to sample from the distribution P ~ EXP(-F), where F is the % first argument to HMC. The Markov chain starts at the poi...
github
Hamza5/Plateforme-outils-SII-master
gtminit.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/netlab3.3/gtminit.m
5,204
utf_8
ab76f6114a7e85375ade5e5889d5f6a7
function net = gtminit(net, options, data, samp_type, varargin) %GTMINIT Initialise the weights and latent sample in a GTM. % % Description % NET = GTMINIT(NET, OPTIONS, DATA, SAMPTYPE) takes a GTM NET and % generates a sample of latent data points and sets the centres (and % widths if appropriate) of NET.RBFNET. % % I...
github
Hamza5/Plateforme-outils-SII-master
mlphess.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/netlab3.3/mlphess.m
1,633
utf_8
b91a15ca11b4886de6c1671c33a735d3
function [h, hdata] = mlphess(net, x, t, hdata) %MLPHESS Evaluate the Hessian matrix for a multi-layer perceptron network. % % Description % H = MLPHESS(NET, X, T) takes an MLP network data structure NET, a % matrix X of input values, and a matrix T of target values and returns % the full Hessian matrix H corresponding...
github
Hamza5/Plateforme-outils-SII-master
glmhess.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/netlab3.3/glmhess.m
4,024
utf_8
2d706b82d25cb35ff9467fe8837ef26f
function [h, hdata] = glmhess(net, x, t, hdata) %GLMHESS Evaluate the Hessian matrix for a generalised linear model. % % Description % H = GLMHESS(NET, X, T) takes a GLM network data structure NET, a % matrix X of input values, and a matrix T of target values and returns % the full Hessian matrix H corresponding to t...
github
Hamza5/Plateforme-outils-SII-master
rbfhess.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/netlab3.3/rbfhess.m
3,138
utf_8
0a6ef29c8be32e9991cacfe42bdfa0b3
function [h, hdata] = rbfhess(net, x, t, hdata) %RBFHESS Evaluate the Hessian matrix for RBF network. % % Description % H = RBFHESS(NET, X, T) takes an RBF network data structure NET, a % matrix X of input values, and a matrix T of target values and returns % the full Hessian matrix H corresponding to the second deriva...
github
Hamza5/Plateforme-outils-SII-master
dag_to_essential_graph.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/graph/dag_to_essential_graph.m
3,193
utf_8
677d6a6653f2b6c757b8559c9db0bb65
function [eg] = dag_to_essential_graph(dag) cpdag = dag_to_cpdag(dag); eg = dag + dag .* (cpdag + cpdag'); return; % Coverts a DAG into Essential Graph where edges are coded by 2 and 3, 2 is % directed edge and 3 is bidirected edge and is at one (the same as the original DAG) of the two % symetrical places. % I...
github
Hamza5/Plateforme-outils-SII-master
dfs.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/graph/dfs.m
2,284
utf_8
6f66bf52242732c48b1cd818b9d032f9
function [d, pre, post, cycle, f, pred] = dfs(adj_mat, start, directed) % DFS Perform a depth-first search of the graph starting from 'start'. % [d, pre, post, cycle, f, pred] = dfs(adj_mat, start, directed) % % Input: % adj_mat(i,j)=1 iff i is connected to j. % start is the root vertex of the dfs tree; if [], all node...
github
Hamza5/Plateforme-outils-SII-master
min_subtree_con_nodes.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/graph/min_subtree_con_nodes.m
1,393
utf_8
4e0ded4c329d2d628dcac1223dadf428
function [subtree, nroot_node] = min_subtree_con_nodes(jtree, root, nodes) %min_subtree_con_nodes get the minimum subtree of tree which contains the nodes if isempty(jtree) | isempty(nodes) subtree = []; nroot_node = []; return; end rnodes = min_subtree_nodes(jtree, nodes); nea_node = nearest_node(jtree, ...
github
Hamza5/Plateforme-outils-SII-master
dfs.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/graph/Old/dfs.m
2,742
utf_8
e416616d9aeba9dda8761af00ebe510a
function [d, pre, post, height, cycle, pred] = dfs(adj_mat, start, directed) % DFS Perform a depth-first search of the graph starting from 'start'. % [d, pre, post, height, cycle, pred] = dfs(adj_mat, start, directed) % % d(i) is the time at which node i is first discovered. % pre is a listing of the nodes in the order...
github
Hamza5/Plateforme-outils-SII-master
mlphess_weighted.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/netlabKPM/mlphess_weighted.m
1,676
utf_8
63c5afc13207d0df6cefe943ed0bf4e3
function [h, hdata] = mlphess_weighted(net, x, t, eso_w, hdata) %MLPHESS Evaluate the Hessian matrix for a multi-layer perceptron network. % % Description % H = MLPHESS(NET, X, T) takes an MLP network data structure NET, a % matrix X of input values, and a matrix T of target values and returns % the full Hessian matrix...
github
Hamza5/Plateforme-outils-SII-master
kmeans_demo.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/netlabKPM/kmeans_demo.m
1,898
utf_8
91c1e17f43f6926af5f8cd134997d7fb
function kmeans_demo() % Generate T points from K=5 1D clusters, and try to recover the cluster % centers using k-means. % Requires BNT, netlab and the matlab stats toolbox v4. K = 5; ndim = 1; true_centers = 1:K; sigma = 1e-6; T = 100; % data(t,:) is the t'th data point data = zeros(T, ndim); % ndx(t) = i means the...
github
Hamza5/Plateforme-outils-SII-master
process_options.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/netlabKPM/process_options.m
4,394
utf_8
483b50d27e3bdb68fd2903a0cab9df44
% PROCESS_OPTIONS - Processes options passed to a Matlab function. % This function provides a simple means of % parsing attribute-value options. Each option is % named by a unique string and is given a default % value. % % Usage: [var1, var2, ......
github
Hamza5/Plateforme-outils-SII-master
dot_to_graph.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/GraphViz/dot_to_graph.m
5,047
utf_8
8381f0cd349c190d14513619746ca065
function [Adj, labels, x, y] = dot_to_graph(filename) % [Adj, labels, x, y] = dot_to_graph(filename) % Extract a matrix representation, node labels, and node position coordinates % from a file in GraphViz format http://www.research.att.com/sw/tools/graphviz % % INPUTS: % 'filename' - the file in DOT format containin...
github
Hamza5/Plateforme-outils-SII-master
draw_graph.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/GraphViz/draw_graph.m
7,888
utf_8
30a1af757c80236524bdcb650ad000a6
function [x, y, h] = draw_graph(adj, labels, node_t, x, y, varargin) % DRAW_LAYOUT Draws a layout for a graph % % [X, Y, H] = DRAW_LAYOUT(ADJ, <LABELS, ISBOX, X, Y>) % % Inputs : % ADJ : Adjacency matrix (source, sink) % LABELS : Cell array containing labels <Default : '1':'N'> % ISBOX : 1 if node is a b...
github
Hamza5/Plateforme-outils-SII-master
draw_dot.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/GraphViz/draw_dot.m
3,642
utf_8
6e2ae962e218def3e9988240ae39b7ae
function draw_dot(adj,varargin); %DRAW_DOT Draw a graph. % DRAW_DOT(ADJ) plots the graph ADJ in the current figure window, using % 'neato' to optimize the layout. % % Optional arguments can be passed as name/value pairs: [default] % % 'isbox' - a vector specifying which nodes should be boxed [0] % 'rotate' - ...
github
Hamza5/Plateforme-outils-SII-master
arrow.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/GraphViz/arrow.m
53,423
utf_8
dee09fae91e85b0cb7685914e7ef6333
function [h,yy,zz] = arrow(varargin) % ARROW Draw a line with an arrowhead. % % ARROW(Start,Stop) draws a line with an arrow from Start to Stop (points % should be vectors of length 2 or 3, or matrices with 2 or 3 % columns), and returns the graphics handle of the arrow(s). % % ARROW uses the mouse (cl...
github
Hamza5/Plateforme-outils-SII-master
draw_hmm.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/GraphViz/draw_hmm.m
2,805
utf_8
9543d58b99c7ad9801991b7ef34d9a3e
function draw_hmm(A, varargin) % DRAW_HMM Make a picture of the HMM using dotty % function draw_hmm(A, ...) % % For details on dotty, see http://www.research.att.com/sw/tools/graphviz % % If A(i,j) > thresh, we draw and arc from state i to state j. % % Optional arguments (name/value pairs) [default] % % thresh - [1e-1]...
github
Hamza5/Plateforme-outils-SII-master
make_layout.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/GraphViz/make_layout.m
3,338
utf_8
e6ecdc9d4355a36292033ccc4b250d4e
function [x, y] = layout_dag(adj) % MAKE_LAYOUT Creates a layout from an adjacency matrix % % [X, Y] = MAKE_LAYOUT(ADJ) % % Inputs : % ADJ = adjacency matrix (source, sink) % % Outputs : % X, Y : Positions of nodes % % Usage Example : [X, Y] = make_layout(adj); % % % Note : Uses some very simple heuristics, so any ot...
github
Hamza5/Plateforme-outils-SII-master
process_options.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/GraphViz/process_options.m
4,394
utf_8
483b50d27e3bdb68fd2903a0cab9df44
% PROCESS_OPTIONS - Processes options passed to a Matlab function. % This function provides a simple means of % parsing attribute-value options. Each option is % named by a unique string and is given a default % value. % % Usage: [var1, var2, ......
github
Hamza5/Plateforme-outils-SII-master
draw_graph.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/GraphViz/Old/draw_graph.m
7,348
utf_8
e2bd24c6039baee127a9ac6bbe83c22f
function [x, y, h] = draw_graph(adj, labels, node_t, x, y) % DRAW_LAYOUT Draws a layout for a graph % % [<X, Y>] = DRAW_LAYOUT(ADJ, <LABELS, ISBOX, X, Y>) % % Inputs : % ADJ : Adjacency matrix (source, sink) % LABELS : Cell array containing labels <Default : '1':'N'> % ISBOX : 1 if node is a box, 0 if ov...
github
Hamza5/Plateforme-outils-SII-master
pre_pesha_graph_to_dot.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/GraphViz/Old/pre_pesha_graph_to_dot.m
3,903
utf_8
19ad571a86e5671e5cd19f4ac6272e99
function graph_to_dot(G, varargin) % DAG_TO_DOT Make a file representing the directed graph in dotty format. % dag_to_dot(G, ...) % % Optional arguments should be passed as name/value pairs [default] % % 'filename' - if omitted, we write to 'tmp.dot', convert this to 'tmp.ps', % and then call ghostview aut...
github
Hamza5/Plateforme-outils-SII-master
zipload.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/KPMtools/zipload.m
1,611
utf_8
67412c21b14bebb640784443e9e3bbd8
%ZIPLOAD Load compressed data file created with ZIPSAVE % % [data] = zipload( filename ) % filename: string variable that contains the name of the % compressed file (do not include '.zip' extension) % Use only with files created with 'zipsave' % pkzip25.exe has to be in the matlab path. This file is a compression ut...
github
Hamza5/Plateforme-outils-SII-master
plot_ellipse.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/KPMtools/plot_ellipse.m
507
utf_8
3a27bbd5c1bdfe99983171e96789da6d
% PLOT_ELLIPSE % h=plot_ellipse(x,y,theta,a,b) % % This routine plots an ellipse with centre (x,y), axis lengths a,b % with major axis at an angle of theta radians from the horizontal. % % Author: P. Fieguth % Jan. 98 % %http://ocho.uwaterloo.ca/~pfieguth/Teaching/372/plot_ellipse.m function h=plot_ellipse(x,...
github
Hamza5/Plateforme-outils-SII-master
bipartiteMatchingHungarian.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/KPMtools/bipartiteMatchingHungarian.m
2,593
utf_8
983df7bc538a844b42427ae58d69c75b
% MATCH - Solves the weighted bipartite matching (or assignment) % problem. % % Usage: a = match(C); % % Arguments: % C - an m x n cost matrix; the sets are taken to be % 1:m and 1:n; C(i, j) gives the cost of matching % items i (of the first set) and j (of the se...
github
Hamza5/Plateforme-outils-SII-master
conf2mahal.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/KPMtools/conf2mahal.m
2,424
utf_8
682226ca8c1183325f4204e0c22de0a7
% CONF2MAHAL - Translates a confidence interval to a Mahalanobis % distance. Consider a multivariate Gaussian % distribution of the form % % p(x) = 1/sqrt((2 * pi)^d * det(C)) * exp((-1/2) * MD(x, m, inv(C))) % % where MD(x, m, P) is the Mahalanobis distance from x % ...
github
Hamza5/Plateforme-outils-SII-master
plotcov2New.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/KPMtools/plotcov2New.m
4,049
utf_8
532d83ce3f29a9e331398ac39f53ff45
% PLOTCOV2 - Plots a covariance ellipsoid with axes for a bivariate % Gaussian distribution. % % Usage: % [h, s] = plotcov2(mu, Sigma[, OPTIONS]); % % Inputs: % mu - a 2 x 1 vector giving the mean of the distribution. % Sigma - a 2 x 2 symmetric positive semi-definite matrix giving % the ...
github
Hamza5/Plateforme-outils-SII-master
plotgauss2d.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/KPMtools/plotgauss2d.m
4,119
utf_8
1bf48827c7a74f224086a54411e4ac82
function h=plotgauss2d(mu, Sigma) % PLOTGAUSS2D Plot a 2D Gaussian as an ellipse with optional cross hairs % h=plotgauss2(mu, Sigma) % h = plotcov2(mu, Sigma); return; %%%%%%%%%%%%%%%%%%%%%%%% % PLOTCOV2 - Plots a covariance ellipse with major and minor axes % for a bivariate Gaussian distribution. % % Us...
github
Hamza5/Plateforme-outils-SII-master
subv2indKPM.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/KPMtools/subv2indKPM.m
1,577
utf_8
12b9635f4525e195cf43b64439bc90b1
function ndx = subv2indKPM(siz, subv) % SUBV2IND Like the built-in sub2ind, but the subscripts are given as row vectors. % ind = subv2ind(siz,subv) % % siz can be a row or column vector of size d. % subv should be a collection of N row vectors of size d. % ind will be of size N * 1. % % Example: % subv = [1 1 1; % ...
github
Hamza5/Plateforme-outils-SII-master
zipsave.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/KPMtools/zipsave.m
1,480
utf_8
cc543374345b9e369d147c452008bc36
%ZIPSAVE Save data in compressed format % % zipsave( filename, data ) % filename: string variable that contains the name of the resulting % compressed file (do not include '.zip' extension) % pkzip25.exe has to be in the matlab path. This file is a compression utility % made by Pkware, Inc. It can be dowloaded from...
github
Hamza5/Plateforme-outils-SII-master
matprint.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/KPMtools/matprint.m
1,020
utf_8
e92a96dad0e0b9f25d2fe56280ba6393
% MATPRINT - prints a matrix with specified format string % % Usage: matprint(a, fmt, fid) % % a - Matrix to be printed. % fmt - C style format string to use for each value. % fid - Optional file id. % % Eg. matprint(a,'%3.1f') will print each entry to 1 decimal place ...
github
Hamza5/Plateforme-outils-SII-master
plotcov3.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/KPMtools/plotcov3.m
4,040
utf_8
1f186acd56002148a3da006a9fc8b6a2
% PLOTCOV3 - Plots a covariance ellipsoid with axes for a trivariate % Gaussian distribution. % % Usage: % [h, s] = plotcov3(mu, Sigma[, OPTIONS]); % % Inputs: % mu - a 3 x 1 vector giving the mean of the distribution. % Sigma - a 3 x 3 symmetric positive semi-definite matrix giving % the...
github
Hamza5/Plateforme-outils-SII-master
exportfig.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/KPMtools/exportfig.m
30,663
utf_8
838a8ee93ca6a9b6a85a90fa68976617
function varargout = exportfig(varargin) %EXPORTFIG Export a figure. % 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(H, FILENAME, OPTIONS) writes the figure H to FILENAME % with options init...
github
Hamza5/Plateforme-outils-SII-master
montageKPM.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/KPMtools/montageKPM.m
2,917
utf_8
3863707e80820a96eac8635dfccbbf11
function h = montageKPM(arg) % montageKPM is like the built-in montage, but assumes input is MxNxK or filenames % % Converts patches (y,x,i) into patches(y,x,1,i) % Also, adds a black border aroudn them if iscell(arg) h= montageFilenames(arg); else nr = size(arg,1); nc = size(arg,2); Npatches = size(arg,3); patc...
github
Hamza5/Plateforme-outils-SII-master
optimalMatching.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/KPMtools/optimalMatching.m
2,593
utf_8
983df7bc538a844b42427ae58d69c75b
% MATCH - Solves the weighted bipartite matching (or assignment) % problem. % % Usage: a = match(C); % % Arguments: % C - an m x n cost matrix; the sets are taken to be % 1:m and 1:n; C(i, j) gives the cost of matching % items i (of the first set) and j (of the se...
github
Hamza5/Plateforme-outils-SII-master
plotcov2.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/KPMtools/plotcov2.m
3,013
utf_8
4305f11ba0280ef8ebcad4c8a4c4013c
% PLOTCOV2 - Plots a covariance ellipse with major and minor axes % for a bivariate Gaussian distribution. % % Usage: % h = plotcov2(mu, Sigma[, OPTIONS]); % % Inputs: % mu - a 2 x 1 vector giving the mean of the distribution. % Sigma - a 2 x 2 symmetric positive semi-definite matrix giving % ...
github
Hamza5/Plateforme-outils-SII-master
ind2subvKPM.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/KPMtools/ind2subvKPM.m
1,213
utf_8
86a39a06ec168dfc54cf4b3f42b0da39
function sub = ind2subvKPM(siz, ndx) % IND2SUBV Like the built-in ind2sub, but returns the answer as a row vector. % sub = ind2subv(siz, ndx) % % siz and ndx can be row or column vectors. % sub will be of size length(ndx) * length(siz). % % Example % ind2subv([2 2 2], 1:8) returns % [1 1 1 % 2 1 1 % ... % 2 2 2]...
github
Hamza5/Plateforme-outils-SII-master
process_options.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/KPMtools/process_options.m
4,394
utf_8
483b50d27e3bdb68fd2903a0cab9df44
% PROCESS_OPTIONS - Processes options passed to a Matlab function. % This function provides a simple means of % parsing attribute-value options. Each option is % named by a unique string and is given a default % value. % % Usage: [var1, var2, ......
github
Hamza5/Plateforme-outils-SII-master
mahal2conf.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/KPMtools/mahal2conf.m
2,295
utf_8
0fcdfc9378ec59cce78b92f51e3b0b68
% MAHAL2CONF - Translates a Mahalanobis distance into a confidence % interval. Consider a multivariate Gaussian % distribution of the form % % p(x) = 1/sqrt((2 * pi)^d * det(C)) * exp((-1/2) * MD(x, m, inv(C))) % % where MD(x, m, P) is the Mahalanobis distance from x % ...
github
Hamza5/Plateforme-outils-SII-master
nonmaxsup.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/KPMtools/nonmaxsup.m
1,708
utf_8
ad451680a9d414f907da2969e0809c22
% NONMAXSUP - Non-maximal Suppression % % Usage: cim = nonmaxsup(im, radius) % % Arguments: % im - image to be processed. % radius - radius of region considered in non-maximal % suppression (optional). Typical values to use might % be 1-3. Default i...
github
Hamza5/Plateforme-outils-SII-master
learn_kalman.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/CVS/Kalman/learn_kalman.m
5,498
utf_8
1eb57cbc6fe45cdbb4b60ab0869912f6
function [A, C, Q, R, initx, initV, LL] = ... learn_kalman(data, A, C, Q, R, initx, initV, max_iter, diagQ, diagR, ARmode, constr_fun, varargin) % LEARN_KALMAN Find the ML parameters of a stochastic Linear Dynamical System using EM. % % [A, C, Q, R, INITX, INITV, LL] = LEARN_KALMAN(DATA, A0, C0, Q0, R0, INITX0, INI...
github
Hamza5/Plateforme-outils-SII-master
mlphess_weighted.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/netlabKPM/mlphess_weighted.m
1,676
utf_8
63c5afc13207d0df6cefe943ed0bf4e3
function [h, hdata] = mlphess_weighted(net, x, t, eso_w, hdata) %MLPHESS Evaluate the Hessian matrix for a multi-layer perceptron network. % % Description % H = MLPHESS(NET, X, T) takes an MLP network data structure NET, a % matrix X of input values, and a matrix T of target values and returns % the full Hessian matrix...
github
Hamza5/Plateforme-outils-SII-master
kmeans_demo.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/netlabKPM/kmeans_demo.m
1,898
utf_8
91c1e17f43f6926af5f8cd134997d7fb
function kmeans_demo() % Generate T points from K=5 1D clusters, and try to recover the cluster % centers using k-means. % Requires BNT, netlab and the matlab stats toolbox v4. K = 5; ndim = 1; true_centers = 1:K; sigma = 1e-6; T = 100; % data(t,:) is the t'th data point data = zeros(T, ndim); % ndx(t) = i means the...
github
Hamza5/Plateforme-outils-SII-master
process_options.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/netlabKPM/process_options.m
4,394
utf_8
483b50d27e3bdb68fd2903a0cab9df44
% PROCESS_OPTIONS - Processes options passed to a Matlab function. % This function provides a simple means of % parsing attribute-value options. Each option is % named by a unique string and is given a default % value. % % Usage: [var1, var2, ......
github
Hamza5/Plateforme-outils-SII-master
dot_to_graph.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/GraphViz/dot_to_graph.m
5,047
utf_8
8381f0cd349c190d14513619746ca065
function [Adj, labels, x, y] = dot_to_graph(filename) % [Adj, labels, x, y] = dot_to_graph(filename) % Extract a matrix representation, node labels, and node position coordinates % from a file in GraphViz format http://www.research.att.com/sw/tools/graphviz % % INPUTS: % 'filename' - the file in DOT format containin...
github
Hamza5/Plateforme-outils-SII-master
draw_graph.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/GraphViz/draw_graph.m
7,888
utf_8
30a1af757c80236524bdcb650ad000a6
function [x, y, h] = draw_graph(adj, labels, node_t, x, y, varargin) % DRAW_LAYOUT Draws a layout for a graph % % [X, Y, H] = DRAW_LAYOUT(ADJ, <LABELS, ISBOX, X, Y>) % % Inputs : % ADJ : Adjacency matrix (source, sink) % LABELS : Cell array containing labels <Default : '1':'N'> % ISBOX : 1 if node is a b...
github
Hamza5/Plateforme-outils-SII-master
draw_dot.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/GraphViz/draw_dot.m
3,642
utf_8
6e2ae962e218def3e9988240ae39b7ae
function draw_dot(adj,varargin); %DRAW_DOT Draw a graph. % DRAW_DOT(ADJ) plots the graph ADJ in the current figure window, using % 'neato' to optimize the layout. % % Optional arguments can be passed as name/value pairs: [default] % % 'isbox' - a vector specifying which nodes should be boxed [0] % 'rotate' - ...
github
Hamza5/Plateforme-outils-SII-master
arrow.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/GraphViz/arrow.m
53,423
utf_8
dee09fae91e85b0cb7685914e7ef6333
function [h,yy,zz] = arrow(varargin) % ARROW Draw a line with an arrowhead. % % ARROW(Start,Stop) draws a line with an arrow from Start to Stop (points % should be vectors of length 2 or 3, or matrices with 2 or 3 % columns), and returns the graphics handle of the arrow(s). % % ARROW uses the mouse (cl...
github
Hamza5/Plateforme-outils-SII-master
draw_hmm.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/GraphViz/draw_hmm.m
2,805
utf_8
9543d58b99c7ad9801991b7ef34d9a3e
function draw_hmm(A, varargin) % DRAW_HMM Make a picture of the HMM using dotty % function draw_hmm(A, ...) % % For details on dotty, see http://www.research.att.com/sw/tools/graphviz % % If A(i,j) > thresh, we draw and arc from state i to state j. % % Optional arguments (name/value pairs) [default] % % thresh - [1e-1]...
github
Hamza5/Plateforme-outils-SII-master
make_layout.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/GraphViz/make_layout.m
3,338
utf_8
e6ecdc9d4355a36292033ccc4b250d4e
function [x, y] = layout_dag(adj) % MAKE_LAYOUT Creates a layout from an adjacency matrix % % [X, Y] = MAKE_LAYOUT(ADJ) % % Inputs : % ADJ = adjacency matrix (source, sink) % % Outputs : % X, Y : Positions of nodes % % Usage Example : [X, Y] = make_layout(adj); % % % Note : Uses some very simple heuristics, so any ot...
github
Hamza5/Plateforme-outils-SII-master
process_options.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/GraphViz/process_options.m
4,394
utf_8
483b50d27e3bdb68fd2903a0cab9df44
% PROCESS_OPTIONS - Processes options passed to a Matlab function. % This function provides a simple means of % parsing attribute-value options. Each option is % named by a unique string and is given a default % value. % % Usage: [var1, var2, ......
github
Hamza5/Plateforme-outils-SII-master
draw_graph.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/GraphViz/Old/draw_graph.m
7,348
utf_8
e2bd24c6039baee127a9ac6bbe83c22f
function [x, y, h] = draw_graph(adj, labels, node_t, x, y) % DRAW_LAYOUT Draws a layout for a graph % % [<X, Y>] = DRAW_LAYOUT(ADJ, <LABELS, ISBOX, X, Y>) % % Inputs : % ADJ : Adjacency matrix (source, sink) % LABELS : Cell array containing labels <Default : '1':'N'> % ISBOX : 1 if node is a box, 0 if ov...
github
Hamza5/Plateforme-outils-SII-master
pre_pesha_graph_to_dot.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/GraphViz/Old/pre_pesha_graph_to_dot.m
3,903
utf_8
19ad571a86e5671e5cd19f4ac6272e99
function graph_to_dot(G, varargin) % DAG_TO_DOT Make a file representing the directed graph in dotty format. % dag_to_dot(G, ...) % % Optional arguments should be passed as name/value pairs [default] % % 'filename' - if omitted, we write to 'tmp.dot', convert this to 'tmp.ps', % and then call ghostview aut...
github
Hamza5/Plateforme-outils-SII-master
zipload.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/KPMtools/zipload.m
1,611
utf_8
67412c21b14bebb640784443e9e3bbd8
%ZIPLOAD Load compressed data file created with ZIPSAVE % % [data] = zipload( filename ) % filename: string variable that contains the name of the % compressed file (do not include '.zip' extension) % Use only with files created with 'zipsave' % pkzip25.exe has to be in the matlab path. This file is a compression ut...
github
Hamza5/Plateforme-outils-SII-master
plot_ellipse.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/KPMtools/plot_ellipse.m
507
utf_8
3a27bbd5c1bdfe99983171e96789da6d
% PLOT_ELLIPSE % h=plot_ellipse(x,y,theta,a,b) % % This routine plots an ellipse with centre (x,y), axis lengths a,b % with major axis at an angle of theta radians from the horizontal. % % Author: P. Fieguth % Jan. 98 % %http://ocho.uwaterloo.ca/~pfieguth/Teaching/372/plot_ellipse.m function h=plot_ellipse(x,...
github
Hamza5/Plateforme-outils-SII-master
bipartiteMatchingHungarian.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/KPMtools/bipartiteMatchingHungarian.m
2,593
utf_8
983df7bc538a844b42427ae58d69c75b
% MATCH - Solves the weighted bipartite matching (or assignment) % problem. % % Usage: a = match(C); % % Arguments: % C - an m x n cost matrix; the sets are taken to be % 1:m and 1:n; C(i, j) gives the cost of matching % items i (of the first set) and j (of the se...
github
Hamza5/Plateforme-outils-SII-master
conf2mahal.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/KPMtools/conf2mahal.m
2,424
utf_8
682226ca8c1183325f4204e0c22de0a7
% CONF2MAHAL - Translates a confidence interval to a Mahalanobis % distance. Consider a multivariate Gaussian % distribution of the form % % p(x) = 1/sqrt((2 * pi)^d * det(C)) * exp((-1/2) * MD(x, m, inv(C))) % % where MD(x, m, P) is the Mahalanobis distance from x % ...
github
Hamza5/Plateforme-outils-SII-master
plotcov2New.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/KPMtools/plotcov2New.m
4,049
utf_8
532d83ce3f29a9e331398ac39f53ff45
% PLOTCOV2 - Plots a covariance ellipsoid with axes for a bivariate % Gaussian distribution. % % Usage: % [h, s] = plotcov2(mu, Sigma[, OPTIONS]); % % Inputs: % mu - a 2 x 1 vector giving the mean of the distribution. % Sigma - a 2 x 2 symmetric positive semi-definite matrix giving % the ...
github
Hamza5/Plateforme-outils-SII-master
plotgauss2d.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/KPMtools/plotgauss2d.m
4,119
utf_8
1bf48827c7a74f224086a54411e4ac82
function h=plotgauss2d(mu, Sigma) % PLOTGAUSS2D Plot a 2D Gaussian as an ellipse with optional cross hairs % h=plotgauss2(mu, Sigma) % h = plotcov2(mu, Sigma); return; %%%%%%%%%%%%%%%%%%%%%%%% % PLOTCOV2 - Plots a covariance ellipse with major and minor axes % for a bivariate Gaussian distribution. % % Us...
github
Hamza5/Plateforme-outils-SII-master
subv2indKPM.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/KPMtools/subv2indKPM.m
1,577
utf_8
12b9635f4525e195cf43b64439bc90b1
function ndx = subv2indKPM(siz, subv) % SUBV2IND Like the built-in sub2ind, but the subscripts are given as row vectors. % ind = subv2ind(siz,subv) % % siz can be a row or column vector of size d. % subv should be a collection of N row vectors of size d. % ind will be of size N * 1. % % Example: % subv = [1 1 1; % ...
github
Hamza5/Plateforme-outils-SII-master
zipsave.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/KPMtools/zipsave.m
1,480
utf_8
cc543374345b9e369d147c452008bc36
%ZIPSAVE Save data in compressed format % % zipsave( filename, data ) % filename: string variable that contains the name of the resulting % compressed file (do not include '.zip' extension) % pkzip25.exe has to be in the matlab path. This file is a compression utility % made by Pkware, Inc. It can be dowloaded from...
github
Hamza5/Plateforme-outils-SII-master
matprint.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/KPMtools/matprint.m
1,020
utf_8
e92a96dad0e0b9f25d2fe56280ba6393
% MATPRINT - prints a matrix with specified format string % % Usage: matprint(a, fmt, fid) % % a - Matrix to be printed. % fmt - C style format string to use for each value. % fid - Optional file id. % % Eg. matprint(a,'%3.1f') will print each entry to 1 decimal place ...
github
Hamza5/Plateforme-outils-SII-master
plotcov3.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/KPMtools/plotcov3.m
4,040
utf_8
1f186acd56002148a3da006a9fc8b6a2
% PLOTCOV3 - Plots a covariance ellipsoid with axes for a trivariate % Gaussian distribution. % % Usage: % [h, s] = plotcov3(mu, Sigma[, OPTIONS]); % % Inputs: % mu - a 3 x 1 vector giving the mean of the distribution. % Sigma - a 3 x 3 symmetric positive semi-definite matrix giving % the...
github
Hamza5/Plateforme-outils-SII-master
exportfig.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/KPMtools/exportfig.m
30,663
utf_8
838a8ee93ca6a9b6a85a90fa68976617
function varargout = exportfig(varargin) %EXPORTFIG Export a figure. % 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(H, FILENAME, OPTIONS) writes the figure H to FILENAME % with options init...
github
Hamza5/Plateforme-outils-SII-master
montageKPM.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/KPMtools/montageKPM.m
2,917
utf_8
3863707e80820a96eac8635dfccbbf11
function h = montageKPM(arg) % montageKPM is like the built-in montage, but assumes input is MxNxK or filenames % % Converts patches (y,x,i) into patches(y,x,1,i) % Also, adds a black border aroudn them if iscell(arg) h= montageFilenames(arg); else nr = size(arg,1); nc = size(arg,2); Npatches = size(arg,3); patc...
github
Hamza5/Plateforme-outils-SII-master
optimalMatching.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/KPMtools/optimalMatching.m
2,593
utf_8
983df7bc538a844b42427ae58d69c75b
% MATCH - Solves the weighted bipartite matching (or assignment) % problem. % % Usage: a = match(C); % % Arguments: % C - an m x n cost matrix; the sets are taken to be % 1:m and 1:n; C(i, j) gives the cost of matching % items i (of the first set) and j (of the se...
github
Hamza5/Plateforme-outils-SII-master
plotcov2.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/KPMtools/plotcov2.m
3,013
utf_8
4305f11ba0280ef8ebcad4c8a4c4013c
% PLOTCOV2 - Plots a covariance ellipse with major and minor axes % for a bivariate Gaussian distribution. % % Usage: % h = plotcov2(mu, Sigma[, OPTIONS]); % % Inputs: % mu - a 2 x 1 vector giving the mean of the distribution. % Sigma - a 2 x 2 symmetric positive semi-definite matrix giving % ...
github
Hamza5/Plateforme-outils-SII-master
ind2subvKPM.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/KPMtools/ind2subvKPM.m
1,213
utf_8
86a39a06ec168dfc54cf4b3f42b0da39
function sub = ind2subvKPM(siz, ndx) % IND2SUBV Like the built-in ind2sub, but returns the answer as a row vector. % sub = ind2subv(siz, ndx) % % siz and ndx can be row or column vectors. % sub will be of size length(ndx) * length(siz). % % Example % ind2subv([2 2 2], 1:8) returns % [1 1 1 % 2 1 1 % ... % 2 2 2]...
github
Hamza5/Plateforme-outils-SII-master
process_options.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/KPMtools/process_options.m
4,394
utf_8
483b50d27e3bdb68fd2903a0cab9df44
% PROCESS_OPTIONS - Processes options passed to a Matlab function. % This function provides a simple means of % parsing attribute-value options. Each option is % named by a unique string and is given a default % value. % % Usage: [var1, var2, ......
github
Hamza5/Plateforme-outils-SII-master
mahal2conf.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/KPMtools/mahal2conf.m
2,295
utf_8
0fcdfc9378ec59cce78b92f51e3b0b68
% MAHAL2CONF - Translates a Mahalanobis distance into a confidence % interval. Consider a multivariate Gaussian % distribution of the form % % p(x) = 1/sqrt((2 * pi)^d * det(C)) * exp((-1/2) * MD(x, m, inv(C))) % % where MD(x, m, P) is the Mahalanobis distance from x % ...
github
Hamza5/Plateforme-outils-SII-master
nonmaxsup.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/KPMtools/nonmaxsup.m
1,708
utf_8
ad451680a9d414f907da2969e0809c22
% NONMAXSUP - Non-maximal Suppression % % Usage: cim = nonmaxsup(im, radius) % % Arguments: % im - image to be processed. % radius - radius of region considered in non-maximal % suppression (optional). Typical values to use might % be 1-3. Default i...
github
Hamza5/Plateforme-outils-SII-master
learn_kalman.m
.m
Plateforme-outils-SII-master/src/Plugins/incertain/FullBNT-1.0.4/Kalman/learn_kalman.m
5,498
utf_8
1eb57cbc6fe45cdbb4b60ab0869912f6
function [A, C, Q, R, initx, initV, LL] = ... learn_kalman(data, A, C, Q, R, initx, initV, max_iter, diagQ, diagR, ARmode, constr_fun, varargin) % LEARN_KALMAN Find the ML parameters of a stochastic Linear Dynamical System using EM. % % [A, C, Q, R, INITX, INITV, LL] = LEARN_KALMAN(DATA, A0, C0, Q0, R0, INITX0, INI...
github
alpapado/food-101-master
make.m
.m
food-101-master/lib/liblinear-multicore-2.1-2/matlab/make.m
1,647
utf_8
82552ac12074ea9574d9db13ff5d4062
% This make.m is for MATLAB and OCTAVE under Windows, Mac, and Unix function make() try % This part is for OCTAVE if(exist('OCTAVE_VERSION', 'builtin')) mex libsvmread.c mex libsvmwrite.c setenv('CFLAGS', strcat(getenv('CFLAGS'), ' -fopenmp')) setenv('CXXFLAGS', strcat(getenv('CXXFLAGS'), ' -fopenmp')) mex ...
github
alpapado/food-101-master
initWorkspaceSegmentation.m
.m
food-101-master/lib/graphSeg/initWorkspaceSegmentation.m
1,122
utf_8
dca85ce3852c0306ed8465bd52e862f0
function initWorkspaceSegmentation %% setup paths in use-specific manner if strcmp( getenv('USER'), 'freytag') % dependencies go here else fprintf('Unknown user %s and unknown default settings', getenv('USER') ); end %% add paths % add main path b_recursiv...
github
alpapado/food-101-master
trainFinalClassifier_smallmem.m
.m
food-101-master/src/finalClassifier/trainFinalClassifier_smallmem.m
1,355
utf_8
15e5a4c2dcdb1d3fd919e0069d3ffa00
function trainFinalClassifier_smallmem(params) components = params.models; encodeImageSet('train', components, params); encodeImageSet('test', components, params); end function encodeImageSet(type, components, params) if strcmp(type,'train') fid = fopen('data/meta/train.txt'); m = matfile('./train.mat', 'Writab...
github
alpapado/food-101-master
spatialPyramid.m
.m
food-101-master/src/finalClassifier/spatialPyramid.m
2,671
utf_8
38b3bd626cc2777f131293d028472d88
function grid = spatialPyramid(levels, image, segments, badSegments) %spatialPyramid Implements a spatial pyramid scheme % Returns an object that contains the points that % constitute the rectangles of the grid at the various levels of % resolution, as specified by levels. % A spatial pyramid is a collection of...
github
alpapado/food-101-master
trainFinalClassifier.m
.m
food-101-master/src/finalClassifier/trainFinalClassifier.m
2,715
utf_8
9899ff250998571536f82d1d23b813cf
function trainFinalClassifier(params) %trainFinalClassifier_mem Faster version of trainFinalClassifier for %systems with huge memory % This version of the function is much faster than the original because it % avoids recomputing the image encodings since they have already been % computed once during the segmentation ph...