sklr.base.is_label_ranker

sklr.base.is_label_ranker(estimator)[source]

Return True if the given estimator is a label ranker.

Parameters

estimator (object) – The estimator object to test.

Returns

outTrue if estimator is a label ranker and False otherwise.

Return type

bool