|
Sleipnir
|
Calculates the mutual information in bits between two integer vectors (centering and weights ignored). More...
#include <measure.h>
Public Member Functions | |
| double | Measure (const float *adX, size_t iN, const float *adY, size_t iM, EMap eMap=EMapNone, const float *adWX=NULL, const float *adWY=NULL) const |
| Calculate the measure between two given vectors with optional element weights. | |
| const char * | GetName () const |
| Return the human-readable unique identifier of the measure type. | |
| bool | IsRank () const |
| Return true if the measure requires rank-based integer inputs. | |
| IMeasure * | Clone () const |
| Create a copy of the current measure object. | |
Calculates the mutual information in bits between two integer vectors (centering and weights ignored).
| IMeasure* Sleipnir::CMeasureMutualInformation::Clone | ( | ) | const [inline, virtual] |
Create a copy of the current measure object.
Implements Sleipnir::IMeasure.
| const char* Sleipnir::CMeasureMutualInformation::GetName | ( | ) | const [inline, virtual] |
Return the human-readable unique identifier of the measure type.
Implements Sleipnir::IMeasure.
| bool Sleipnir::CMeasureMutualInformation::IsRank | ( | ) | const [inline, virtual] |
Return true if the measure requires rank-based integer inputs.
Implements Sleipnir::IMeasure.
| double Sleipnir::CMeasureMutualInformation::Measure | ( | const float * | adX, |
| size_t | iN, | ||
| const float * | adY, | ||
| size_t | iM, | ||
| EMap | eMap = EMapNone, |
||
| const float * | adWX = NULL, |
||
| const float * | adWY = NULL |
||
| ) | const [virtual] |
Calculate the measure between two given vectors with optional element weights.
| adX | First array of values. |
| iN | Length of first array. |
| adY | Second array of values. |
| iM | Length of second array. |
| eMap | Way in which returned value should be centered (implementation-specific). |
| adWX | If non-null, weights of elements in the first array. |
| adWY | If non-null, weights of elements in the second array. |
Implements Sleipnir::IMeasure.
Definition at line 862 of file measure.cpp.
References Sleipnir::CMeta::GetNaN(), and Sleipnir::CMeta::IsNaN().
1.7.6.1