주요 콘텐츠

해석 가능성

해석 가능한 분류 모델을 훈련시키고 복잡한 분류 모델을 해석하기

선형 모델, 결정 트리, 일반화된 가산 모델처럼 본질적으로 해석 가능한 분류 모델을 사용하거나 아니면 해석 가능성 특징을 사용하여 원래 해석이 불가능한 복잡한 분류 모델을 해석합니다. 분류 모델을 해석하는 방법을 알아보려면 Interpret Machine Learning Models 항목을 참조하십시오.

counterfactuals 함수를 사용하여 반사실적인(counterfactual) 예를 생성함으로써 이진 분류기의 결정에 대해 자세히 알아봅니다. 반사실적인 예를 통해, 주어진 관측값의 예측 레이블을 변경하는 데 필요한 최소한의 수정 사항을 확인할 수 있습니다.

함수

모두 확장

LIME(Local Interpretable Model-Agnostic Explanations)

limeLocal interpretable model-agnostic explanations (LIME)
fitFit simple model of local interpretable model-agnostic explanations (LIME)
plotPlot results of local interpretable model-agnostic explanations (LIME)

섀플리 값

shapleyShapley values
fitCompute Shapley values for query points
plotPlot Shapley values using bar graphs
boxchartVisualize Shapley values using box charts (box plots) (R2024a 이후)
plotDependencePlot dependence of Shapley values on predictor values (R2024b 이후)
swarmchartVisualize Shapley values using swarm scatter charts (R2024a 이후)

부분 종속성

partialDependenceCompute partial dependence
plotPartialDependenceCreate partial dependence plot (PDP) and individual conditional expectation (ICE) plots
fitcgamFit generalized additive model (GAM) for binary classification
fitclinearFit binary linear classifier to high-dimensional data
fitctree다중클래스 분류를 위한 이진 결정 트리 피팅
counterfactualsGenerate counterfactual examples for observation (R2026a 이후)

객체

ClassificationGAMGeneralized additive model (GAM) for binary classification
ClassificationLinearLinear model for binary classification of high-dimensional data
ClassificationTreeBinary decision tree for multiclass classification

도움말 항목

모델 해석

해석 가능한 모델