perf_pairwise: Performance for pairwise

View source: R/perf-pairwise.r

perf_pairwiseR Documentation

Performance for pairwise

Description

Additional performance using appropriate metric for pairwise distribution fit.

Usage

perf_pairwise(y, f, group, metric = "ndcg", w = NULL, max_rank = 0)

Arguments

y

responses used for fit.

f

the predicted responses.

group

the indices specifiying which response variables belong to which groups.

metric

What type of performance measure to compute in perf_pairwise. Can take values "ir_measure_conc", "ir_measure_mrr", "ir_measure_map" or "ir_measure_ndgc".

w

is the weights of each observation.

max_rank

the maximum rank considered in the groups measure.

Value

returns a numeric value of the selected performance metric

Author(s)

Greg Ridgeway gregridgeway@gmail.com

See Also

gbmt


gbm-developers/gbm3 documentation built on April 28, 2024, 10:04 p.m.