Description Usage Arguments Value Examples
Formula: H(S) = -P_i * ∑ log_2 * P_i, where P_i is the probability of the corresponding i-th class
1 |
df |
A discrete |
classAtt |
A class column of the df ( |
The Shannon's entropy of the df
, based on the classAtt
attribute
1 |
Loading required package: dplyr
Attaching package: ‘dplyr’
The following objects are masked from ‘package:stats’:
filter, lag
The following objects are masked from ‘package:base’:
intersect, setdiff, setequal, union
Loading required package: DiagrammeR
Loading required package: DiagrammeRsvg
Loading required package: rsvg
Loading required package: gtools
[1] 0.9401648
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.