Class that represents the data set dictionary and provides methods to work with the data dictionary. Methods of the class use the com.intel.daal.data.DataFeature structure.
More...
◆ DataDictionary() [1/3]
Constructs the dictionary
- Parameters
-
context | Context to manage created data set dictionary |
nFeatures | The number of features in the table |
featuresEqual | Flag specifying that all features have equal types and properties |
◆ DataDictionary() [2/3]
Constructs the dictionary
- Parameters
-
context | Context to manage created data set dictionary |
nFeatures | The number of features in the table |
◆ DataDictionary() [3/3]
Constructs the dictionary from the defined C dictionary
- Parameters
-
context | Context to manage created data set dictionary |
nFeatures | The number of features in the table |
cDictionary | Pointer to the C dictionary |
◆ getFeature()
Returns the feature with a given index
- Parameters
-
idx | Index of the data feature |
- Returns
- Feature with the given index.
◆ getFeaturesEqual()
Returns the value of the featuresEqual flag
- Returns
- Value of the featuresEqual flag
◆ getNumberOfFeatures()
int getNumberOfFeatures |
( |
| ) |
|
Returns the number of features
- Returns
- Number of features
◆ resetDictionary()
Resets dictionary and sets number of features to 0
◆ setAllFeatures()
Sets all features of the dictionary to the same type
- Parameters
-
defaultFeature | Default feature class to set all features to |
◆ setFeature() [1/4]
Sets a feature in the data dictionary
- Parameters
-
feature | Data feature |
idx | Index of the data feature |
◆ setFeature() [2/4]
void setFeature |
( |
Class<?> |
cls, |
|
|
int |
idx, |
|
|
DataFeatureUtils.FeatureType |
featureType, |
|
|
int |
categoryNumber |
|
) |
| |
Sets a feature in the data dictionary
- Parameters
-
cls | Class containing values of the data feature |
idx | Index of the data feature |
featureType | Feature type |
categoryNumber | Number of categories |
◆ setFeature() [3/4]
void setFeature |
( |
Class<?> |
cls, |
|
|
int |
idx, |
|
|
DataFeatureUtils.FeatureType |
featureType |
|
) |
| |
Sets a feature in the data dictionary
- Parameters
-
cls | Class containing values of the data feature |
idx | Index of the data feature |
featureType | Feature type |
◆ setFeature() [4/4]
void setFeature |
( |
Class<?> |
cls, |
|
|
int |
idx |
|
) |
| |
Sets a feature in the data dictionary
- Parameters
-
cls | Class containing values of the data feature |
idx | Index of the data feature |
◆ setNumberOfFeatures()
void setNumberOfFeatures |
( |
long |
nFeatures | ) |
|
Sets number of features
- Parameters
-
nFeatures | Number of features in the table |
The documentation for this class was generated from the following file: