tree_interpretation_dt: a data.table returned by lgb.interprete.
top_n: maximal number of top features to include into the plot.
cols: the column numbers of layout, will be used only for multiclass classification feature contribution.
left_margin: (base R barplot) allows to adjust the left margin size to fit feature names.
cex: (base R barplot) passed as cex.names parameter to barplot.
Returns
The lgb.plot.interpretation function creates a barplot.
Details
The graph represents each feature as a horizontal bar of length proportional to the defined contribution of a feature. Features are shown ranked in a decreasing contribution order.