Difference between revisions of "Orange: Heat Map"

From OnnoWiki
Jump to navigation Jump to search
(Created page with "Sumber: https://docs.biolab.si//3/visual-programming/widgets/visualize/heatmap.html Plots a heat map for a pair of attributes. Inputs Data: input dataset Outputs...")
 
Line 14: Line 14:
 
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.
  
../../_images/HeatMap-stamped.png
+
[[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).
Line 23: Line 23:
  
 
         No Sorting (lists attributes as found in the dataset)
 
         No Sorting (lists attributes as found in the dataset)
 
 
         Clustering (clusters data by similarity)
 
         Clustering (clusters data by similarity)
 
 
         Clustering with ordered leaves (maximizes the sum of similarities of adjacent elements)
 
         Clustering with ordered leaves (maximizes the sum of similarities of adjacent elements)
  
Line 31: Line 29:
  
 
         If Show legend is ticked, a color chart will be displayed above the map.
 
         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.
 
         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.
 
         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).
 
         Column Label Positions places column labels in a selected place (None, Top, Bottom, Top and Bottom).
  
Line 46: Line 41:
 
     Produce a report.
 
     Produce a report.
  
Example
+
==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 Heat Map below displays attribute values for the Housing dataset. The aforementioned dataset concerns the housing values in the suburbs of Boston.
Line 54: Line 49:
 
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.
 
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.
  
../../_images/HeatMap-Example1.png
+
[[File:HeatMap-Example1.png|center|200px|thumb]]
 +
 
  
 
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.
 
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.
References
 
  
Housing Dataset
+
==Referensi==
 +
 
 +
* [https://archive.ics.uci.edu/ml/datasets.php Dataset]
  
  

Revision as of 10:59, 22 January 2020

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


Plots a heat map for a pair of attributes.

Inputs

   Data: input dataset

Outputs

   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