Análise de componentes principais: diferenças entre revisões

Conteúdo apagado Conteúdo adicionado
Liberio (discussão | contribs)
Liberio (discussão | contribs)
software + ver tambem
Linha 423:
While PCA finds the mathematically optimal method (as in minimizing the squared error), it is sensitive to [[outlier]]s in the data that produce large errors PCA tries to avoid. It therefore is common practice to remove outliers before computing PCA. However, in some contexts, outliers can be difficult to identify. For example in [[data mining]] algorithms like [[correlation clustering]], the assignment of points to clusters and outliers is not known beforehand. A recently proposed generalization of PCA <ref>{{cite doi | 10.1007/978-3-540-69497-7_27 }}</ref> based on a '''Weighted PCA''' increases robustness by assigning different weights to data objects based on their estimated relevancy.
 
== Software/source code ==
{{externallinks|date=November 2011}}
*[http://code.google.com/p/cornell-spectrum-imager/wiki/Home Cornell Spectrum Imager] - An open-source toolset built on ImageJ. Enables quick easy PCA analysis for 3D datacubes.
*[https://sourceforge.net/apps/mediawiki/imdev/index.php?title=Main_Page imDEV] Free Excel addin to calculate principal components using R package [http://www.bioconductor.org/packages/1.9/bioc/html/pcaMethods.html pcaMethods].
* [http://www.mdp.edu.ar/psicologia/vista/vista.htm "ViSta: The Visual Statistics System"] a free software that provides principal components analysis, simple and multiple correspondence analysis.
* [http://www.coloritto.com "Spectramap"] is software to create a [[biplot]] using principal components analysis, correspondence analysis or spectral map analysis.
* [[XLSTAT]] is a statistical and multivariate analysis software including Principal Component Analysis among other multivariate tools.
* [https://rtmath.net/products/finmath/ FinMath], a [[.NET Framework|.NET]] numerical library containing an implementation of PCA.
* [[The Unscrambler]] is a multivariate analysis software enabling Principal Component Analysis (PCA) with PCA Projection.
* [http://sourceforge.net/projects/opencvlibrary/ Computer Vision Library]
* In the [[MATLAB]] Statistics Toolbox, the functions <code>princomp</code> and <code>wmspca</code> give the principal components, while the function <code>pcares</code> gives the residuals and reconstructed matrix for a low-rank PCA approximation. Here is a link to a MATLAB implementation of PCA [http://www.utdallas.edu/~herve/abdi-PCA4Wiley.zip <code>PcaPress</code>] .
* In the [[NAG Numerical Library|NAG Library]], principal components analysis is implemented via the <code>g03aa</code> routine (available in both the Fortran<ref>{{ cite web | last = The Numerical Algorithms Group | first = | title = NAG Library Routine Document: nagf_mv_prin_comp (g03aaf) | date = | work = NAG Library Manual, Mark 23 | url = http://www.nag.co.uk/numeric/fl/nagdoc_fl23/pdf/G03/g03aaf.pdf | accessdate = 2012-02-16 }}</ref> and the C<ref>{{ cite web | last = The Numerical Algorithms Group | first = | title = NAG Library Routine Document: nag_mv_prin_comp (g03aac) | date = | work = NAG Library Manual, Mark 9 | url = http://www.nag.co.uk/numeric/CL/nagdoc_cl09/pdf/G03/g03aac.pdf | accessdate = 2012-02-16 }}</ref> versions of the Library).
* [[NMath]], a numerical library containing PCA for the [[.NET Framework]].
* in [[GNU Octave|Octave]], a free software computational environment mostly compatible with MATLAB, the function [http://octave.sourceforge.net/statistics/function/princomp.html <code>princomp</code>] gives the principal component.
* in the [[free software|free]] statistical package [[R (programming language)|R]], the functions [http://stat.ethz.ch/R-manual/R-patched/library/stats/html/princomp.html <code>princomp</code>] and [http://stat.ethz.ch/R-manual/R-patched/library/stats/html/prcomp.html <code>prcomp</code>] can be used for principal component analysis; <code>prcomp</code> uses [[singular value decomposition]] which generally gives better numerical accuracy. Recently there has been an explosion in implementations of principal component analysis in various R packages, generally in packages for specific purposes. For a more complete list, see here: [http://cran.r-project.org/web/views/Multivariate.html].
* In ''XLMiner'', the Principal Components tab can be used for principal component analysis.
* In [[IDL (programming language)|IDL]], the principal components can be calculated using the function <code>pcomp</code>.
* [[Weka (machine learning)|Weka]] computes principal components ([http://weka.sourceforge.net/doc/weka/attributeSelection/PrincipalComponents.html javadoc]).
* [http://www.qlucore.com Software for analyzing multivariate data with instant response using PCA]
* [[Orange (software)]] supports PCA through its Linear Projection widget.
* A version of PCA adapted for population genetics analysis can be found in the suite [http://genepath.med.harvard.edu/~reich/Software.htm EIGENSOFT].
* PCA can also be performed by the statistical software [http://www.partek.com/partekgs Partek Genomics Suite], developed by [http://www.partek.com/ Partek].
 
== See also ==
 
<div style="-moz-column-count:2; column-count:2;">
* [[Multilinear principal component analysis|Multilinear PCA]]
* [[Correspondence analysis]]
* [[Eigenface]]
* [[v:Exploratory factor analysis|Exploratory factor analysis]] (Wikiversity)
* [[Geometric data analysis]]
* [[Factorial code]]
* [[Independent component analysis]]
* [[Kernel PCA]]
* [[Matrix decomposition]]
* [[Nonlinear dimensionality reduction]]
* [[Oja's rule]]
* [[Point distribution model]] (PCA applied to morphometry and computer vision)
* [[Principal component regression]]
* [[wikibooks:Statistics/Multivariate Data Analysis/Principal Component Analysis|Principal component analysis]] (Wikibooks)
* [[Singular spectrum analysis]]
* [[Singular value decomposition]]
* [[Sparse PCA]]
* [[Transform coding]]
* [[Weighted least squares]]
* [[Dynamic mode decomposition]]
* [[Low-rank approximation]]
</div>
 
 
Linha 479 ⟶ 432:
[[Category:Singular value decomposition]]
[[Category:Data analysis]]
[[Categoria:Decomposição em Valores Singulares]]
 
--!>
 
== Software/source codecódigo fonte==
{{externallinks|date=November 2011}}
* in theno [[freesoftware software|freelivre]] statisticalde packageestatística [[R R_(programming languagelinguagem_de_programação))|R]], theas functionsfunções [http://stat.ethz.ch/R-manual/R-patched/library/stats/html/princomp.html <code>princomp</code>] ande [http://stat.ethz.ch/R-manual/R-patched/library/stats/html/prcomp.html <code>prcomp</code>] canpodem beser usedusadas forpara principal component analysisPCA; <code>prcomp</code> usesusa a [[singulardecomposição valueem decompositionvalores singulares]] whichque geralmente generallyfornece givesuma bettermelhor numericalprecisão accuracynumérica. RecentlyExiste thereuma hasexplosão beenrecente anem explosionimplementações inde implementationsPCA ofem principaldiversos componentpacotes analysis in variousdo R packages, generallygeralmente inem packagespacotes forde specificpropósito purposesespecífico. For a more complete list, see hereVeja: [http://cran.r-project.org/web/views/Multivariate.html].
* inNo [[GNU Octave|Octave]], aum freeambiente softwarelivre computationalde environmentprogramação mostlycompatível compatiblecom witho MATLAB, thea functionfunção [http://octave.sourceforge.net/statistics/function/princomp.html <code>princomp</code>] gives theo principalcomponente componentprincipal.
* [[OpenCV]]
* In theNa [[:en:NAG Numerical Library|Biblioteca NAG Library]], principalPCA componentsé analysisimplementado isvia implementeda via therotina <code>g03aa</code> routine (available indisponível bothtanto theem Fortran<ref>{{ cite web | last = The Numerical Algorithms Group | first = | title = NAG Library Routine Document: nagf_mv_prin_comp (g03aaf) | date = | work = NAG Library Manual, Mark 23 | url = http://www.nag.co.uk/numeric/fl/nagdoc_fl23/pdf/G03/g03aaf.pdf | accessdate = 2012-02-16 }}</ref> andem thena libguagem C<ref>{{ cite web | last = The Numerical Algorithms Group | first = | title = NAG Library Routine Document: nag_mv_prin_comp (g03aac) | date = | work = NAG Library Manual, Mark 9 | url = http://www.nag.co.uk/numeric/CL/nagdoc_cl09/pdf/G03/g03aac.pdf | accessdate = 2012-02-16 }}</ref> versions of the Library).
*[http://code.google.com/p/cornell-spectrum-imager/wiki/Home Cornell Spectrum Imager] - AnUma open-sourceferramenta toolsetde builtcódigo onaberto baseada no ImageJ. EnablesPermite quickanálise easyrápida PCAe analysisfácil de PCA forpara 3D ''datacubes''.
* [[Weka (machine learning)|Weka]] computestambém principalcalcula componentscomponentes principais ([http://weka.sourceforge.net/doc/weka/attributeSelection/PrincipalComponents.html javadoc]).
 
 
== SeeVer alsoTambém ==
 
<div style="-moz-column-count:2; column-count:2;">
* ''[[:en:Multilinear principal component analysis|Multilinear PCA Multilinear]]''
* ''[[:en:Eigenface|Eigenface]]''
* ''[[:en:Point distribution model|Point distribution model]]'' (Mais aplicações de PCA à morfometria e visão computacional)
* ''[[:en:Correspondence analysis|Correspondence analysis]]''
* [[v:Exploratory factor analysis|Exploratory factor analysis]] (Wikiversity)
* ''[[:en:Geometric data analysis|Geometric data analysis]]''
* ''[[:en:Factorial code|Factorial code]]''
* ''[[:en:Independent component analysis|Independent component analysis]]''
* ''[[:en:Kernel PCA|Kernel PCA]]''
* ''[[:en:Matrix decomposition|Matrix decomposition]]''
* ''[[:en:Nonlinear dimensionality reduction|Nonlinear dimensionality reduction]]''
* ''[[:en:Oja's rule|Oja's rule]]''
* '[[:en:Principal component regression|Principal component regression]]'
* [[wikibooks:Statistics/Multivariate Data Analysis/Principal Component Analysis|Principal component analysis]] (Wikibooks)
* ''[[:en:Decomposição em Valores Singulares|Decomposição em Valores Singulares]]''
* ''[[:en:Sparse PCA|Sparse PCA]]''
* ''[[:en:Transform coding|Transform coding]]''
* ''[[:en:Weighted least squares|Weighted least squares]]''
* ''[[:en:Dynamic mode decomposition|Dynamic mode decomposition]]''
* ''[[:en:Low-rank approximation|Low-rank approximation]]''
</div>
 
[[Categoria:Decomposição em Valores Singulares]]