mindspore.train.names

mindspore.train.names()[source]

Gets all names of the metric methods.

Returns

List, the name list of metric methods.

Supported Platforms:

Ascend GPU CPU

Examples

>>> import mindspore as ms
>>> ms.train.names()
['F1', 'acc', 'accuracy', 'auc', 'bleu_score', 'confusion_matrix', 'confusion_matrix_metric',
'cosine_similarity', 'dice', 'hausdorff_distance', 'loss', 'mae', 'mean_surface_distance', 'mse',
'occlusion_sensitivity', 'perplexity', 'precision', 'recall', 'roc', 'root_mean_square_distance',
'top_1_accuracy', 'top_5_accuracy', 'topk']