get_num_classes(dataset)
Check number of classes in a given dataset
Parameters
dataset (dict) – key is the class name and value is the data.
Returns
number of classes
Return type
int
© IBM Corp., 2017-2025
Searching Qiskit SDK v0.19 and latest versions of other APIs.
No results found
Try a different search query or select a different application.