riverarodrigoa / statis-matlab Goto Github PK
View Code? Open in Web Editor NEWFonctions pour calculer le methode STATIS sur matlab|| Functions for calculate the method STATIS in MatLAB
Fonctions pour calculer le methode STATIS sur matlab|| Functions for calculate the method STATIS in MatLAB
Construction of paths
Calculation -> Finish with errors
Plot -> Finish but representation depends of calculation
Test de validation
%% Validation de l'image euclidienne compromis
alpha = sqrt(alpha_t);
B_val = alpha(1)*Xc(:,:,1);
for i=1:T
B_val =[B_val [alpha(i)*Xc(:,:,i)]];
end
% ACP du B_val
[XU_v, VaP_v, VeP_v] = ACP(B_val);
B_val_c = XU_v(:,1:j);
Decision = isequal(B,B_val_c);
if Decision
disp('[Validation test] Image euclidienne compromis correcte');
else
disp('[Validation test] Image euclidienne compromis incorrecte');
disp('Image euclidienne');
disp(B);
disp('Validation');
disp(B_val_c);
end
Le problème maintenant c'est de trouver la façon correcte de faire le centrage et réduction des tableaux. Il y a deux propositions pour l'instant:
function [Acr] = centrer(A)
%----------------------------------
% Centrage et reduction des donnees
%----------------------------------
[n,p]=size(A);
Ac= A - repmat(mean(A),n,1);
Acr=Ac.*repmat(std(A),n,1);
function [Acr] = centrer(A)
%----------------------------------
% Centrage et reduction des donnees
%----------------------------------
UN = ones(size(A));
Me = UN * diag(mean(mean(A)));
Ecart_type = UN * diag(std(std(A)));
ec = 1./Ecart_type;
Acr = (A - Me).*ec;
end
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.