1. Home
  2. BCFDISPLAY procedure

BCFDISPLAY procedure

Displays information about a random classification forest (R.W. Payne).

Option

PRINT = string tokens Controls printed output (outofbagerror, confusion, importance, orderedimportance, idoutofbag); default * i.e. none

Parameter

SAVE = pointers Save structure from BCFOREST providing information about the random forest

Description

BCFDISPLAY displays information about a random classification forest, constructed by the BCFOREST procedure. The SAVE parameter can be set to a pointer, saved using the SAVE option of BCFOREST, containing the necessary information about the forest. Alternatively, if you do not set SAVE, information will be printed about the forest most recently constructed by BCFOREST.

The output is controlled by the PRINT option, with settings:

outofbagerror out-of-bag error rate,
confusion confusion matrix,
idoutofbag out-of-bag identifications of the individuals,
importance importance ratings of the X variates and factors, and
orderedimportance importance ratings of the X variates and factors in decreasing order.

The default is PRINT=* i.e. no printing

Option: PRINT.
Parameter: SAVE.

See also

Procedures: BCFOREST, BCFIDENTIFY.
Commands for: Multivariate and cluster analysis.

Example

CAPTION    'BCFDISPLAY example',\
           !t('Random classification forest for automobile data',\
           'from UCI Machine Learning Repository',\
           'http://archive.ics.uci.edu/ml/datasets/Automobile');\
           STYLE=meta,plain
SPLOAD     FILE='%gendir%/examples/Automobile.gsh'
BCFOREST   [PRINT=*; GROUPS=symboling; NTREES=8;\
           NXTRY=10; NUNITSTRY=75; SEED=197883]\
           normalized_losses,make,fuel_type,aspiration,number_doors,\
           body_style,drive_wheels,engine_location,wheel_base,\
           length,width,height,curb_weight,engine_type,number_cylinders,\
           engine_size,fuel_system,bore,stroke,compression_ratio,\
           horsepower,peak_rpm,city_mpg,highway_mpg,price
BCFDISPLAY [PRINT=outofbagerror,confusion,importance]
Updated on February 6, 2023

Was this article helpful?