qiskit.aqua.utils.get_feature_dimension¶
-
get_feature_dimension
(dataset)[código fonte]¶ Check feature dimension of a given dataset
- Parâmetros
dataset (dict) – key is the class name and value is the data.
- Retorna
feature dimension, -1 denotes no data in the dataset.
- Tipo de retorno
int
- Levanta
TypeError – invalid data set