Skip to main content
Ctrl+K
scikit-plots homepage scikit-plots homepage
  • Introduction
  • User Guide
  • APIs Reference
  • Tutorials
  • Tags
    • Release History
    • Community-G
    • Community-Z
    • Developer's Guide
    • Code of Conduct
    • Governance
    • Roadmap
    • About us
  • GitHub
  • PyPI
  • Introduction
  • User Guide
  • APIs Reference
  • Tutorials
  • Tags
  • Release History
  • Community-G
  • Community-Z
  • Developer's Guide
  • Code of Conduct
  • Governance
  • Roadmap
  • About us
  • GitHub
  • PyPI

Section Navigation

  • scikitplot
    • config_context
    • get_config
    • set_config
    • show_config
    • show_versions
    • online_help
  • scikitplot.api
    • plot_pca_2d_projection
    • plot_pca_component_variance
    • plot_feature_importances
    • plot_learning_curve
    • plot_elbow
    • plot_residuals_distribution
    • plot_classifier_eval
    • plot_confusion_matrix
    • plot_precision_recall
    • plot_roc
    • plot_calibration
    • plot_silhouette
    • validate_labels
    • cumulative_gain_curve
    • binary_ks_curve
    • validate_plotting_kwargs
  • scikitplot.experimental
    • expit
    • log_expit
    • logit
    • py_print
    • sigmoid
    • softmax
    • logsumexp
    • log_softmax
  • scikitplot.kds
    • print_labels
    • decile_table
    • plot_cumulative_gain
    • plot_lift
    • plot_lift_decile_wise
    • plot_ks_statistic
    • report
  • scikitplot.modelplotpy
    • ModelPlotPy
    • plot_response
    • plot_cumresponse
    • plot_cumlift
    • plot_cumgains
    • plot_all
    • plot_costsrevs
    • plot_profit
    • plot_roi
  • scikitplot.probscale
    • ProbScale
    • probplot
    • plot_pos
    • fit_line
  • scikitplot.sp_logging
    • CRITICAL
    • DEBUG
    • ERROR
    • FATAL
    • INFO
    • NOTSET
    • WARN
    • WARNING
    • AlwaysStdErrHandler
    • GoogleLogFormatter
    • critical
    • debug
    • error
    • error_log
    • fatal
    • getEffectiveLevel
    • get_logger
    • log_if
    • setLevel
    • vlog
    • warn
    • warning
    • SpLogger
    • sp_logger
  • scikitplot.stats
    • Events
    • FitnessFunc
    • PointMeasures
    • RegularEvents
    • bayesian_blocks
    • binned_binom_proportion
    • binom_conf_interval
    • bootstrap
    • cdf_from_intervals
    • fold_intervals
    • gaussian_fwhm_to_sigma
    • gaussian_sigma_to_fwhm
    • histogram_intervals
    • interval_overlap_length
    • kuiper
    • kuiper_false_positive_probability
    • kuiper_two
    • mad_std
    • median_absolute_deviation
    • poisson_conf_interval
    • signal_to_noise_oir_ccd
    • calculate_bin_edges
    • freedman_bin_width
    • histogram
    • knuth_bin_width
    • scott_bin_width
    • akaike_info_criterion
    • akaike_info_criterion_lsq
    • bayesian_info_criterion
    • bayesian_info_criterion_lsq
    • tweedie_gen
    • tweedie
  • scikitplot.visualkeras
    • graph_view
    • layered_view
    • SpacingDummyLayer
  • Recently Deprecated
    • _factory_api
    • plot_roc_curve
    • plot_precision_recall_curve
  • APIs Reference
  • scikitplot.kds
  • print_labels

print_labels#

scikitplot.kds.print_labels(**kwargs)[source]#

A legend for the abbreviations of decile table column names.

Added in version 0.3.9.

See also

decile_table

Generates the Decile Table from labels and probabilities.

References

[1] tensorbored/kds

Examples

>>> import scikitplot as skplt
>>> skplt.kds.print_labels()
LABELS INFO:

 prob_min         : Minimum probability in a particular decile
 prob_max         : Minimum probability in a particular decile
 prob_avg         : Average probability in a particular decile
 cnt_events       : Count of events in a particular decile
 cnt_resp         : Count of responders in a particular decile
 cnt_non_resp     : Count of non-responders in a particular decile
 cnt_resp_rndm    : Count of responders if events assigned randomly in a particular decile
 cnt_resp_wiz     : Count of best possible responders in a particular decile
 resp_rate        : Response Rate in a particular decile [(cnt_resp/cnt_cust)*100]
 cum_events       : Cumulative sum of events decile-wise 
 cum_resp         : Cumulative sum of responders decile-wise 
 cum_resp_wiz     : Cumulative sum of best possible responders decile-wise 
 cum_non_resp     : Cumulative sum of non-responders decile-wise 
 cum_events_pct   : Cumulative sum of percentages of events decile-wise 
 cum_resp_pct     : Cumulative sum of percentages of responders decile-wise 
 cum_resp_pct_wiz : Cumulative sum of percentages of best possible responders decile-wise 
 cum_non_resp_pct : Cumulative sum of percentages of non-responders decile-wise 
 KS               : KS Statistic decile-wise 
 lift             : Cumuative Lift Value decile-wise

previous

scikitplot.kds

next

decile_table

On this page
  • print_labels

This Page

  • Show Source

© Copyright 2024 - 2025 scikit-plots developers (BSD-3 Clause License) 0.4.0rc4+git.20250429.5a22d2b 2025-04-29T12:20Z.