German
Sprachen
English
Japanese
German
Korean
Portuguese, Brazilian
French
Shortcuts

qiskit.aqua.utils.get_feature_dimension

get_feature_dimension(dataset)[Quellcode]

Check feature dimension of a given dataset

Parameter

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

Rückgabe

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

Rückgabetyp

int

Verursacht

TypeError – invalid data set