Orange: Distance Transformation: Difference between revisions

From OnnoCenterWiki
Jump to navigationJump to search
Onnowpurbo (talk | contribs)
Created page with "Sumber: https://docs.biolab.si//3/visual-programming/widgets/unsupervised/distancetransformation.html Transforms distances in a dataset. Inputs Distances: distance matr..."
 
Onnowpurbo (talk | contribs)
No edit summary
Line 13: Line 13:
The Distances Transformation widget is used for the normalization and inversion of distance matrices. The normalization of data is necessary to bring all the variables into proportion with one another.
The Distances Transformation widget is used for the normalization and inversion of distance matrices. The normalization of data is necessary to bring all the variables into proportion with one another.


../../_images/DistanceTransformation-stamped.png
[[File:DistanceTransformation-stamped.png|center|200px|thumb]]


     Choose the type of Normalization:
     Choose the type of Normalization:
         No normalization
         No normalization
         To interval [0, 1]
         To interval [0, 1]
         To interval [-1, 1]
         To interval [-1, 1]
         Sigmoid function: 1/(1+exp(-X))
         Sigmoid function: 1/(1+exp(-X))
     Choose the type of Inversion:
     Choose the type of Inversion:
         No inversion
         No inversion
         -X
         -X
         1 - X
         1 - X
         max(X) - X
         max(X) - X
         1/X
         1/X
     Produce a report.
     Produce a report.
     After changing the settings, you need to click Apply to commit changes to other widgets. Alternatively, tick Apply automatically.
     After changing the settings, you need to click Apply to commit changes to other widgets. Alternatively, tick Apply automatically.


Example
==Contoh==


In the snapshot below, you can see how transformation affects the distance matrix. We loaded the Iris dataset and calculated the distances between rows with the help of the Distances widget. In order to demonstrate how Distance Transformation affects the Distance Matrix, we created the workflow below and compared the transformed distance matrix with the “original” one.
In the snapshot below, you can see how transformation affects the distance matrix. We loaded the Iris dataset and calculated the distances between rows with the help of the Distances widget. In order to demonstrate how Distance Transformation affects the Distance Matrix, we created the workflow below and compared the transformed distance matrix with the “original” one.


../../_images/DistanceTransformation-Example.png
[[File:DistanceTransformation-Example.png|center|200px|thumb]]
 
 
 
 





Revision as of 00:59, 24 January 2020

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

Transforms distances in a dataset.

Inputs

   Distances: distance matrix

Outputs

   Distances: transformed distance matrix

The Distances Transformation widget is used for the normalization and inversion of distance matrices. The normalization of data is necessary to bring all the variables into proportion with one another.

   Choose the type of Normalization:
       No normalization
       To interval [0, 1]
       To interval [-1, 1]
       Sigmoid function: 1/(1+exp(-X))
   Choose the type of Inversion:
       No inversion
       -X
       1 - X
       max(X) - X
       1/X
   Produce a report.
   After changing the settings, you need to click Apply to commit changes to other widgets. Alternatively, tick Apply automatically.

Contoh

In the snapshot below, you can see how transformation affects the distance matrix. We loaded the Iris dataset and calculated the distances between rows with the help of the Distances widget. In order to demonstrate how Distance Transformation affects the Distance Matrix, we created the workflow below and compared the transformed distance matrix with the “original” one.


Referensi

Pranala Menarik