[Prediction performance based feature interaction]
1. introduction
There has been considerable development in machine learning, which has resulted in several successful applications. Although these methods offer high performance, the interpretation of learning models still remains challenging. Understanding the underlying theory behind the specific prediction of various models is difficult. Various studies have attempted to explain the working principle behind learning models using techniques like feature importance, partial dependency, feature interaction, and the Shapley value. This study introduces a new feature interaction measure. While previous studies have measured feature interaction using partial dependency, this study redefines feature interaction using prediction performance. The proposed measure is easy to interpret, is faster than partial dependency-based measures, and can be used to explain feature interaction in both regression and classification models.
2. Download
- Source code of feature interaction library : f interact lib.R
- Test code of feature interaction library : test f interact.R
3. Basic Usage
- Install R software.
- Run R software.
- Install required R packages
- Run test code in R console.
※We assume all downloaded files are in 'D:\rworks' folder.
4. Practical example
See the running result of test code here.