Intel® oneAPI Data Analytics Library
Learn from community members on how to build compute-intensive applications that run efficiently on Intel® architecture.

The meaning of DictionaryIface::FeaturesEqual

renorm2
Beginner
1,261 Views

The documentation says

Enumeration to specify whether the Data Dictionary contains equal features

Could someone give more details? What confuses me is that how HomogenNumericTable can have unequal features.

Also, when Matrix should be preferred over HomogenNumericTable?

 

Thanks.

0 Kudos
1 Reply
Mikhail_A_Intel
Employee
1,261 Views

Hi renorm2,

HomogenNumericTable assumes the same data type for each value, but per-feature attributes may be different. For example, you may have 2 features, both are integers, but first one is continuous feature and second one is ordinal feature. In this case, you must specify that features are not equal.

Regarding to Matrix class, it depends on language you use. For instance, in Java API of DAAL, Matrix supports additional setters and getters relative to HomogenNumericTable.

 

Best regards,
Mikhail.

0 Kudos
Reply