MCPcopy Create free account
hub / github.com/catboost/catboost / CatBoostRanker

Class CatBoostRanker

catboost/python-package/catboost/core.py:6332–6710  ·  view source on GitHub ↗

Implementation of the scikit-learn API for CatBoost ranking. Parameters ---------- Like in CatBoostClassifier, except loss_function, classes_count, class_names and class_weights loss_function : string, [default='YetiRank'] 'YetiRank' 'YetiRankPairwise' 'S

Source from the content-addressed store, hash-verified

6330
6331
6332class CatBoostRanker(CatBoost):
6333 """
6334 Implementation of the scikit-learn API for CatBoost ranking.
6335 Parameters
6336 ----------
6337 Like in CatBoostClassifier, except loss_function, classes_count, class_names and class_weights
6338 loss_function : string, [default='YetiRank']
6339 'YetiRank'
6340 'YetiRankPairwise'
6341 'StochasticFilter'
6342 'StochasticRank'
6343 'QueryCrossEntropy'
6344 'QueryRMSE'
6345 'GroupQuantile'
6346 'QuerySoftMax'
6347 'PairLogit'
6348 'PairLogitPairwise'
6349 """
6350
6351 _estimator_type = 'ranker'
6352
6353 def __init__(
6354 self,
6355 iterations=None,
6356 learning_rate=None,
6357 depth=None,
6358 l2_leaf_reg=None,
6359 model_size_reg=None,
6360 rsm=None,
6361 loss_function='YetiRank',
6362 border_count=None,
6363 feature_border_type=None,
6364 per_float_feature_quantization=None,
6365 input_borders=None,
6366 output_borders=None,
6367 fold_permutation_block=None,
6368 od_pval=None,
6369 od_wait=None,
6370 od_type=None,
6371 nan_mode=None,
6372 counter_calc_method=None,
6373 leaf_estimation_iterations=None,
6374 leaf_estimation_method=None,
6375 thread_count=None,
6376 random_seed=None,
6377 use_best_model=None,
6378 best_model_min_trees=None,
6379 verbose=None,
6380 silent=None,
6381 logging_level=None,
6382 metric_period=None,
6383 ctr_leaf_count_limit=None,
6384 store_all_simple_ctr=None,
6385 max_ctr_complexity=None,
6386 has_time=None,
6387 allow_const_label=None,
6388 target_border=None,
6389 one_hot_max_size=None,

Calls

no outgoing calls