Méthode | Description | |
---|---|---|
Calculate ( |
Calculates impurity measure of x.
|
|
Conditional ( |
Calculates conditional impurity of y | x R(Y|X) is the average of H(Y|X = x) over all possible values X may take.
|
|
Gain ( |
Calculates information gain of y | x.
|
|
RelativeGain ( |
Calculates relative information gain of y | x.
|
|
SegmentedConditional ( |
Calculates segmented conditional impurity of y | x When stipulating ranges (r), X is broken up into |r| many segments therefore P(X=x_r) becomes a range probability rather than a fixed probability. In essence the average over H(Y|X = x) becomes SUM_s [ p_r * H(Y|X = x_r) ]. The values that were used to do the split are stored in the Splits member.
|
|
SegmentedConditional ( |
Calculates segmented conditional impurity of y | x When stipulating segments (s), X is broken up into s many segments therefore P(X=x_s) becomes a range probability rather than a fixed probability. In essence the average over H(Y|X = x) becomes SUM_s [ p_s * H(Y|X = x_s) ]. The values that were used to do the split are stored in the Splits member.
|
|
SegmentedGain ( |
Segmented gain.
|
|
SegmentedGain ( |
Segmented gain.
|
|
SegmentedRelativeGain ( |
Calculates relative information gain of y | x with under specified ranges.
|
|
SegmentedRelativeGain ( |
Calculates relative information gain of y | x with a specified number of segments.
|
public abstract Calculate ( |
||
x | The list in question. | |
Résultat | double |
public Conditional ( |
||
y | Target impurity. | |
x | Conditioned impurity. | |
Résultat | double |
public Gain ( |
||
y | Target impurity. | |
x | Conditioned impurity. | |
Résultat | double |
public RelativeGain ( |
||
y | Target impurity. | |
x | Conditioned impurity. | |
Résultat | double |
public SegmentedConditional ( |
||
y | Target impurity. | |
x | Conditioned impurity. | |
ranges | IEnumerable |
Number of segments over x to condition upon. |
Résultat | double |
public SegmentedConditional ( |
||
y | Target impurity. | |
x | Conditioned impurity. | |
segments | int | Number of segments over x to condition upon. |
Résultat | double |
public SegmentedGain ( |
||
y | Target impurity. | |
x | The list in question. | |
ranges | IEnumerable |
Number of segments over x to condition upon. |
Résultat | double |
public SegmentedGain ( |
||
y | Target impurity. | |
x | The list in question. | |
segments | int | Number of segments over x to condition upon. |
Résultat | double |
public SegmentedRelativeGain ( |
||
y | Target impurity. | |
x | Conditioned impurity. | |
ranges | IEnumerable |
Range breakdown. |
Résultat | double |
public SegmentedRelativeGain ( |
||
y | Target impurity. | |
x | Conditioned impurity. | |
segments | int | Number of segments. |
Résultat | double |