- About The Project
- Structure of the Repository
- Package Installation
- Usage
- Contributing
- License
- Contact
Source code has been tested solely for our own use cases, which might differ from yours. This project is actively maintained and contributing is endorsed.
The automotive_regression_xa
Python package has been developed as a reference to demonstrate explainable AI functions and operations, providing deeper insights into their behavior and decision-making processes. It showcases how these techniques can be utilized to support AI applications within the automotive industry.
├── automotive_regression_xai/
├── src/
│ └── xai_classes/
│ ├── xai_ale.py
│ ├── xai_ifi.py
│ ├── xai_lime.py
│ ├── xai_pfi.py
│ ├── xai_shap.py
│ └── automotive_regression_xai.py
│ └── sample_dataset.py
│ └── test.py
-
Clone the source code:
git clone <repository_url> cd automotive_regression_xai
-
Install Python dependencies in your Python environment:
python3 -m pip install -e .
-
Build a package and install it on the system:
python3 -m pip install --upgrade build python3 -m build pip install dist/*.tar.gz
-
Verify if the installation was successful:
pip list | grep automotive_regression_xai
Analyzes feature impacts by showing average changes in predictions as features vary, considering interactions while avoiding collinearity issues.
Measures feature importance by permuting feature values and observing changes in model performance.
Combines multiple importance measures for more holistic feature evaluation.
Explains individual predictions by approximating the model locally with interpretable surrogates like linear models.
Assigns feature importance based on cooperative game theory, ensuring consistency and interpretability across all predictions.
Here's an example of how you might use these arguments:
-
Example 1:
cd src python test.py
The instructions on how to contribute can be found in the file CONTRIBUTING.md in this repository.
The code is published under the MIT license. Further information on that can be found in the LICENSE.md file in this repository.