French
Langues
English
Japanese
German
Korean
Portuguese, Brazilian
French
Shortcuts

qiskit.aqua.utils.get_feature_dimension

get_feature_dimension(dataset)[source]

Check feature dimension of a given dataset

Paramètres

dataset (dict) – key is the class name and value is the data.

Renvoie

feature dimension, -1 denotes no data in the dataset.

Type renvoyé

int

Lève

TypeError – invalid data set