Difference between revisions of "Orange: PCA"

From OnnoWiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
  
PCA linear transformation of input data.
+
PCA mentransformasikan input data.
  
 
==Input==
 
==Input==
Line 13: Line 13:
 
  Components: Eigenvectors.
 
  Components: Eigenvectors.
  
Principal Component Analysis (PCA) computes the PCA linear transformation of the input data. It outputs either a transformed dataset with weights of individual instances or weights of principal components.
+
Principal Component Analysis (PCA) menghitung PCA linear transformation dari input data. Dia mengeluarkan sebuah transformed dataset dengan weight dari individual instance atau weight dari principal components.
  
 
[[File:PCA-stamped.png|center|200px|thumb]]
 
[[File:PCA-stamped.png|center|200px|thumb]]
Line 25: Line 25:
 
* Principal components graph, where the red (lower) line is the variance covered per component and the green (upper) line is cumulative variance covered by components.
 
* Principal components graph, where the red (lower) line is the variance covered per component and the green (upper) line is cumulative variance covered by components.
  
The number of components of the transformation can be selected either in the Components Selection input box or by dragging the vertical cutoff line in the graph.
+
Jumlah komponen transformasi dapat dipilih dari Components Selection input box atau dengan drag  vertical cutoff line di grafik.
  
 
==Contoh==
 
==Contoh==
  
PCA can be used to simplify visualizations of large datasets. Below, we used the Iris dataset to show how we can improve the visualization of the dataset with PCA. The transformed data in the Scatter Plot show a much clearer distinction between classes than the default settings.
+
PCA dapat digunakan untuk menyederhanakan visualisasi dataset yang besar. Di bawah ini, kita menggunakan dataset Iris untuk menunjukkan bagaimana kita dapat meningkatkan visualisasi dataset dengan PCA. Data yang diubah dalam Scatter Plot menunjukkan perbedaan yang jauh lebih jelas antara kelas daripada pengaturan default.
  
 
[[File:PCAExample.png|center|200px|thumb]]
 
[[File:PCAExample.png|center|200px|thumb]]
  
The widget provides two outputs: transformed data and principal components. Transformed data are weights for individual instances in the new coordinate system, while components are the system descriptors (weights for principal components). When fed into the Data Table, we can see both outputs in numerical form. We used two data tables in order to provide a more clean visualization of the workflow, but you can also choose to edit the links in such a way that you display the data in just one data table. You only need to create two links and connect the Transformed data and Components inputs to the Data output.
+
Widget ini menyediakan dua output: transformed data dan principal component. Transformed Data adalah weight untuk individual instance dalam sistem koordinat baru, sedangkan component adalah deskriptor sistem (weight untuk principal component). Saat dimasukkan ke dalam Data Table, kita bisa melihat kedua output dalam bentuk angka. Kita menggunakan dua tabel data untuk menyediakan visualisasi workflowa yang lebih bersih, tetapi kita juga dapat memilih untuk mengedit link sedemikian rupa sehingga kita menampilkan data hanya dalam satu tabel data. Kita hanya perlu membuat dua link dan menghubungkan input data dan komponen yang ditransformasikan ke output data.
  
 
[[File:PCAExample2.png|center|200px|thumb]]
 
[[File:PCAExample2.png|center|200px|thumb]]

Latest revision as of 04:13, 23 February 2020

Sumber: https://docs.biolab.si//3/visual-programming/widgets/unsupervised/PCA.html


PCA mentransformasikan input data.

Input

Data: input dataset

Output

Transformed Data: PCA transformed data
Components: Eigenvectors.

Principal Component Analysis (PCA) menghitung PCA linear transformation dari input data. Dia mengeluarkan sebuah transformed dataset dengan weight dari individual instance atau weight dari principal components.

PCA-stamped.png


  • Select how many principal components you wish in your output. It is best to choose as few as possible with variance covered as high as possible. You can also set how much variance you wish to cover with your principal components.
  • You can normalize data to adjust the values to common scale.
  • When Apply Automatically is ticked, the widget will automatically communicate all changes. Alternatively, click Apply.
  • Press Save Image if you want to save the created image to your computer.
  • Produce a report.
  • Principal components graph, where the red (lower) line is the variance covered per component and the green (upper) line is cumulative variance covered by components.

Jumlah komponen transformasi dapat dipilih dari Components Selection input box atau dengan drag vertical cutoff line di grafik.

Contoh

PCA dapat digunakan untuk menyederhanakan visualisasi dataset yang besar. Di bawah ini, kita menggunakan dataset Iris untuk menunjukkan bagaimana kita dapat meningkatkan visualisasi dataset dengan PCA. Data yang diubah dalam Scatter Plot menunjukkan perbedaan yang jauh lebih jelas antara kelas daripada pengaturan default.

PCAExample.png

Widget ini menyediakan dua output: transformed data dan principal component. Transformed Data adalah weight untuk individual instance dalam sistem koordinat baru, sedangkan component adalah deskriptor sistem (weight untuk principal component). Saat dimasukkan ke dalam Data Table, kita bisa melihat kedua output dalam bentuk angka. Kita menggunakan dua tabel data untuk menyediakan visualisasi workflowa yang lebih bersih, tetapi kita juga dapat memilih untuk mengedit link sedemikian rupa sehingga kita menampilkan data hanya dalam satu tabel data. Kita hanya perlu membuat dua link dan menghubungkan input data dan komponen yang ditransformasikan ke output data.

PCAExample2.png



Referensi

Pranala Menarik