Difference between revisions of "Orange: Feature Statistics"

From OnnoWiki
Jump to navigation Jump to search
Line 4: Line 4:
 
Show basic statistics for data features.
 
Show basic statistics for data features.
  
Inputs
+
==Input==
  
    Data: input data
+
Data: input data
  
Outputs
+
==Output==
  
    Reduced data: table containing only selected features
+
Reduced data: table containing only selected features
 
+
Statistics: table containing statistics of the selected features
    Statistics: table containing statistics of the selected features
 
  
 
The Feature Statistics widget provides a quick way to inspect and find interesting features in a given data set.
 
The Feature Statistics widget provides a quick way to inspect and find interesting features in a given data set.
Line 21: Line 20:
 
The Feature Statistics widget on the heart-disease data set. The feature exerc ind ang was manually changed to a meta variable for illustration purposes.
 
The Feature Statistics widget on the heart-disease data set. The feature exerc ind ang was manually changed to a meta variable for illustration purposes.
  
    Info on the current data set size and number and types of features
+
* Info on the current data set size and number and types of features
 +
* The histograms on the right can be colored by any feature. If the selected feature is categorical, a discrete color palette is used (as shown in the example). If the selected feature is numerical, a continuous color palette is used. The table on the right contains statistics about each feature in the data set. The features can be sorted by each statistic, which we now describe.
 +
* The feature type - can be one of categorical, numeric, time and string.
 +
* The name of the feature.
 +
* A histogram of feature values. If the feature is numeric, we appropriately discretize the values into bins. If the feature is categorical, each value is assigned its own bar in the histogram.
 +
* The central tendency of the feature values. For categorical features, this is the mode. For numeric features, this is mean value.
 +
* The dispersion of the feature values. For categorical features, this is the entropy of the value distribution. For numeric features, this is the coefficient of variation.
 +
* The minimum value. This is computed for numerical and ordinal categorical features.
 +
* The maximum value. This is computed for numerical and ordinal categorical features.
 +
* The number of missing values in the data.
  
    The histograms on the right can be colored by any feature. If the selected feature is categorical, a discrete color palette is used (as shown in the example). If the selected feature is numerical, a continuous color palette is used. The table on the right contains statistics about each feature in the data set. The features can be sorted by each statistic, which we now describe.
+
Notice also that some rows are colored differently. White rows indicate regular features, gray rows indicate class variables and the lighter gray indicates meta variables.
 
 
    The feature type - can be one of categorical, numeric, time and string.
 
 
 
    The name of the feature.
 
  
    A histogram of feature values. If the feature is numeric, we appropriately discretize the values into bins. If the feature is categorical, each value is assigned its own bar in the histogram.
+
==Contoh==
 
 
    The central tendency of the feature values. For categorical features, this is the mode. For numeric features, this is mean value.
 
 
 
    The dispersion of the feature values. For categorical features, this is the entropy of the value distribution. For numeric features, this is the coefficient of variation.
 
 
 
    The minimum value. This is computed for numerical and ordinal categorical features.
 
 
 
    The maximum value. This is computed for numerical and ordinal categorical features.
 
 
 
    The number of missing values in the data.
 
 
 
Notice also that some rows are colored differently. White rows indicate regular features, gray rows indicate class variables and the lighter gray indicates meta variables.
 
Example
 
  
 
The Feature Statistics widget is most often used after the File widget to inspect and find potentially interesting features in the given data set. In the following examples, we use the heart-disease data set.
 
The Feature Statistics widget is most often used after the File widget to inspect and find potentially interesting features in the given data set. In the following examples, we use the heart-disease data set.

Revision as of 08:19, 28 January 2020

Sumber: https://docs.biolab.si//3/visual-programming/widgets/data/featurestatistics.html


Show basic statistics for data features.

Input

Data: input data

Output

Reduced data: table containing only selected features
Statistics: table containing statistics of the selected features

The Feature Statistics widget provides a quick way to inspect and find interesting features in a given data set.

Feature statistics-stamped.png


The Feature Statistics widget on the heart-disease data set. The feature exerc ind ang was manually changed to a meta variable for illustration purposes.

  • Info on the current data set size and number and types of features
  • The histograms on the right can be colored by any feature. If the selected feature is categorical, a discrete color palette is used (as shown in the example). If the selected feature is numerical, a continuous color palette is used. The table on the right contains statistics about each feature in the data set. The features can be sorted by each statistic, which we now describe.
  • The feature type - can be one of categorical, numeric, time and string.
  • The name of the feature.
  • A histogram of feature values. If the feature is numeric, we appropriately discretize the values into bins. If the feature is categorical, each value is assigned its own bar in the histogram.
  • The central tendency of the feature values. For categorical features, this is the mode. For numeric features, this is mean value.
  • The dispersion of the feature values. For categorical features, this is the entropy of the value distribution. For numeric features, this is the coefficient of variation.
  • The minimum value. This is computed for numerical and ordinal categorical features.
  • The maximum value. This is computed for numerical and ordinal categorical features.
  • The number of missing values in the data.

Notice also that some rows are colored differently. White rows indicate regular features, gray rows indicate class variables and the lighter gray indicates meta variables.

Contoh

The Feature Statistics widget is most often used after the File widget to inspect and find potentially interesting features in the given data set. In the following examples, we use the heart-disease data set.

Feature statistics workflow.png


Once we have found a subset of potentially interesting features, or we have found features that we would like to exclude, we can simply select the features we want to keep. The widget outputs a new data set with only these features.

Feature statistics example1.png

Alternatively, if we want to store feature statistics, we can use the Statistics output and manipulate those values as needed. In this example, we simply select all the features and display the statistics in a table.

Feature statistics example2.png



Referensi

Pranala Menarik