def get_roc_curve(model, data, thread_count=(- 1)):
    '\n    Build points of ROC curve.\n\n    Parameters\n    ----------\n    model : catboost.CatBoost\n        The trained model.\n\n    data : catboost.Pool or list of catboost.Pool\n        A set of samples to build ROC curve with.\n\n    thread_count : int (default=-1)\n        Number of threads to work with.\n        If -1, then the number of threads is set to the number of cores.\n\n    Returns\n    -------\n    curve points : tuple of three arrays (fpr, tpr, thresholds)\n    '
    if (type(data) == Pool):
        data = [data]
    if (not isinstance(data, list)):
        raise CatboostError('data must be a catboost.Pool or list of pools.')
    for pool in data:
        if (not isinstance(pool, Pool)):
            raise CatboostError('one of data pools is not catboost.Pool')
    return _get_roc_curve(model._object, data, thread_count)
Build points of ROC curve.

Parameters
----------
model : catboost.CatBoost
    The trained model.

data : catboost.Pool or list of catboost.Pool
    A set of samples to build ROC curve with.

thread_count : int (default=-1)
    Number of threads to work with.
    If -1, then the number of threads is set to the number of cores.

Returns
-------
curve points : tuple of three arrays (fpr, tpr, thresholds)
def get_roc_curve(model, data, thread_count=(- 1)):
    '\n    Build points of ROC curve.\n\n    Parameters\n    ----------\n    model : catboost.CatBoost\n        The trained model.\n\n    data : catboost.Pool or list of catboost.Pool\n        A set of samples to build ROC curve with.\n\n    thread_count : int (default=-1)\n        Number of threads to work with.\n        If -1, then the number of threads is set to the number of cores.\n\n    Returns\n    -------\n    curve points : tuple of three arrays (fpr, tpr, thresholds)\n    '
    if (type(data) == Pool):
        data = [data]
    if (not isinstance(data, list)):
        raise CatboostError('data must be a catboost.Pool or list of pools.')
    for pool in data:
        if (not isinstance(pool, Pool)):
            raise CatboostError('one of data pools is not catboost.Pool')
    return _get_roc_curve(model._object, data, thread_count)