Welcome to the ml_explainer project, a tool for generating explainability reports for machine learning models. This Kedro project was inspired by the spaceflights tutorial and was generated using Kedro 0.18.14.
The primary goal of this project is to create an ML package that can automatically generate comprehensive explanability reports for a wide range of machine learning models. These reports follow a specific template and utilize GenAI to provide detailed insights into the decision-making processes of the models.
-
Explainability Reports: Generate detailed and informative reports that explain the inner workings of machine learning models.
-
Template-Based: Follow a predefined template to ensure consistency and clarity in the generated reports.
-
GenAI Integration: Leverage GenAI to enhance the explanations by providing insights and context from a vast knowledge base.
Interpretability Report Output Example
To get started with this project, follow these steps:
- Clone the repository to your local machine.
- Create a
.envfile in the project's root directory. - Add your OpenAI API keys to the
.envfile as follows:
OPENAI_API_BASE="YOUR_OPENAI_API_BASE"
OPENAI_API_KEY="YOUR_OPENAI_API_KEY_HERE"Declare project dependencies in the following files:
src/requirements.txt: Forpipinstallation.src/environment.yml: Forcondainstallation.
To install dependencies, follow the instructions below:
Navigate to the project directory and run the following command:
pip install -r src/requirements.txtkedro run
Specifically to the report:
kedro run --pipeline explainer --nodes=explainability_report