Difference between revisions of "Orange: Heat Map"

From OnnoWiki
Jump to navigation Jump to search
Line 4: Line 4:
 
Plots a heat map for a pair of attributes.
 
Plots a heat map for a pair of attributes.
  
Inputs
+
==Input==
  
    Data: input dataset
+
Data: input dataset
  
Outputs
+
==Output==
  
    Selected Data: instances selected from the plot
+
Selected Data: instances selected from the plot
  
 
Heat map is a graphical method for visualizing attribute values by class in a two-way matrix. It only works on datasets containing continuous variables. The values are represented by color: the higher a certain value is, the darker the represented color. By combining class and attributes on x and y axes, we see where the attribute values are the strongest and where the weakest, thus enabling us to find typical features (discrete) or value range (continuous) for each class.
 
Heat map is a graphical method for visualizing attribute values by class in a two-way matrix. It only works on datasets containing continuous variables. The values are represented by color: the higher a certain value is, the darker the represented color. By combining class and attributes on x and y axes, we see where the attribute values are the strongest and where the weakest, thus enabling us to find typical features (discrete) or value range (continuous) for each class.
Line 16: Line 16:
 
[[File:HeatMap-stamped.png|center|200px|thumb]]
 
[[File:HeatMap-stamped.png|center|200px|thumb]]
  
    The color scheme legend. Low and High are thresholds for the color palette (low for attributes with low values and high for attributes with high values).
+
* The color scheme legend. Low and High are thresholds for the color palette (low for attributes with low values and high for attributes with high values).
 
+
* Merge data.
    Merge data.
+
* Sort columns and rows:
 
+
** No Sorting (lists attributes as found in the dataset)
    Sort columns and rows:
+
** Clustering (clusters data by similarity)
 
+
** Clustering with ordered leaves (maximizes the sum of similarities of adjacent elements)
        No Sorting (lists attributes as found in the dataset)
+
* Set what is displayed in the plot in Annotation & Legend.
        Clustering (clusters data by similarity)
+
** If Show legend is ticked, a color chart will be displayed above the map.
        Clustering with ordered leaves (maximizes the sum of similarities of adjacent elements)
+
** If Stripes with averages is ticked, a new line with attribute averages will be displayed on the left.
 
+
** Row Annotations adds annotations to each instance on the right.
    Set what is displayed in the plot in Annotation & Legend.
+
** Column Label Positions places column labels in a selected place (None, Top, Bottom, Top and Bottom).
 
+
* If Keep aspect ratio is ticked, each value will be displayed with a square (proportionate to the map).
        If Show legend is ticked, a color chart will be displayed above the map.
+
* If Send Automatically is ticked, changes are communicated automatically. Alternatively, click Send.
        If Stripes with averages is ticked, a new line with attribute averages will be displayed on the left.
+
* Save image saves the image to your computer in a .svg or .png format.
        Row Annotations adds annotations to each instance on the right.
+
* Produce a report.
        Column Label Positions places column labels in a selected place (None, Top, Bottom, Top and Bottom).
 
 
 
    If Keep aspect ratio is ticked, each value will be displayed with a square (proportionate to the map).
 
 
 
    If Send Automatically is ticked, changes are communicated automatically. Alternatively, click Send.
 
 
 
    Save image saves the image to your computer in a .svg or .png format.
 
 
 
    Produce a report.
 
  
 
==Contoh==
 
==Contoh==

Revision as of 08:31, 28 January 2020

Sumber: https://docs.biolab.si//3/visual-programming/widgets/visualize/heatmap.html


Plots a heat map for a pair of attributes.

Input

Data: input dataset

Output

Selected Data: instances selected from the plot

Heat map is a graphical method for visualizing attribute values by class in a two-way matrix. It only works on datasets containing continuous variables. The values are represented by color: the higher a certain value is, the darker the represented color. By combining class and attributes on x and y axes, we see where the attribute values are the strongest and where the weakest, thus enabling us to find typical features (discrete) or value range (continuous) for each class.

HeatMap-stamped.png
  • The color scheme legend. Low and High are thresholds for the color palette (low for attributes with low values and high for attributes with high values).
  • Merge data.
  • Sort columns and rows:
    • No Sorting (lists attributes as found in the dataset)
    • Clustering (clusters data by similarity)
    • Clustering with ordered leaves (maximizes the sum of similarities of adjacent elements)
  • Set what is displayed in the plot in Annotation & Legend.
    • If Show legend is ticked, a color chart will be displayed above the map.
    • If Stripes with averages is ticked, a new line with attribute averages will be displayed on the left.
    • Row Annotations adds annotations to each instance on the right.
    • Column Label Positions places column labels in a selected place (None, Top, Bottom, Top and Bottom).
  • If Keep aspect ratio is ticked, each value will be displayed with a square (proportionate to the map).
  • If Send Automatically is ticked, changes are communicated automatically. Alternatively, click Send.
  • Save image saves the image to your computer in a .svg or .png format.
  • Produce a report.

Contoh

The Heat Map below displays attribute values for the Housing dataset. The aforementioned dataset concerns the housing values in the suburbs of Boston.

The first thing we see in the map are the ‘B’ and ‘Tax’ attributes, which are the only two colored in dark orange. The ‘B’ attribute provides information on the proportion of blacks by town and the ‘Tax’ attribute informs us about the full-value property-tax rate per $10,000. In order to get a clearer heat map, we then use the Select Columns widget and remove the two attributes from the dataset. Then we again feed the data to the Heat map. The new projection offers additional information.

By removing ‘B’ and ‘Tax’, we can see other deciding factors, namely ‘Age’ and ‘ZN’. The ‘Age’ attribute provides information on the proportion of owner-occupied units built prior to 1940 and the ‘ZN’ attribute informs us about the proportion of non-retail business acres per town.

HeatMap-Example1.png


The Heat Map widget is a nice tool for discovering relevant features in the data. By removing some of the more pronounced features, we came across new information, which was hiding in the background.

Referensi


Referensi

Pranala Menarik