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...
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 |
Constructs the dictionary
- Parameters
-
context | Context to manage created data set dictionary |
nFeatures | The number of features in the table |
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 |
Returns the feature with a given index
- Parameters
-
idx | Index of the data feature |
- Returns
- Feature with the given index.
Returns the value of the featuresEqual flag
- Returns
- Value of the featuresEqual flag
int getNumberOfFeatures |
( |
| ) |
|
Returns the number of features
- Returns
- Number of features
Resets dictionary and sets number of features to 0
Sets all features of the dictionary to the same type
- Parameters
-
defaultFeature | Default feature class to set all features to |
Sets a feature in the data dictionary
- Parameters
-
feature | Data feature |
idx | Index of the data feature |
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 |
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 |
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 |
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: