Python programming language learning: output all attributes and method names of a class or instantiated object
Table of Contents
Output all properties and method names of a class or instantiated object
Output Results
implementation code
ActionOptimizerAdditiveExplainerCohortsDeepExplainerExplainerExplanationGPUTreeExplainerGradientExplainerKernelExplainerLinearExplainerPartitionExplainerPermutationExplainerSamplingExplainerTreeExplainer__builtins____cached____doc____file____loader____name____package____path____spec____version___cext_explanation_serializableactionsapproximate_interactionsbar_plotdatasetsdecision_plotdependence_plotembedding_plotexplainersforce_plotgetjsgroup_difference_plothave_matplotlibimage_plotinitjskmeanslinksmaskersmatplotlibmodelsmonitoring_plotmultioutput_decision_plototherpartial_dependence_plotplotssamplesave_htmlsummary_plotsystext_plotunsupportedutilswarningswaterfall_plot
import shapfor item in dir(shap): # shap is an instantiated object of a classprint(item)