
Explore the need for explainable ai and its techniques, showing how interpretable machine learning clarifies decisions for users, regulators, and gdpr's right of explanation.
Explore explainable AI with Python by examining black box models, comparing interpretability with accuracy, and learning to drive explanations using white box and black box approaches.
Explore post-hoc explainability for black box models in Python, using visual analyses, feature importance, data-point inspection, what-if tools, and surrogate models to drive explanations.
Demonstrate glass box models for explainable ai in Python by loading, preprocessing, and exploring the stroke dataset. Implement logistic regression and interpretable models, and address imbalanced data and encoding techniques.
Demonstrates preprocessing for a health care dataset in explainable AI with Python, including one-hot encoding of categorical features, handling missing values, dropping id, and 80/20 train-test split for stroke prediction.
Explore the confusion matrix to evaluate classifier performance, defining true positives, true negatives, false positives, and false negatives, then compute precision, recall, and the F1 score.
Explore the interpretML package to explain glass box and black box models, delivering global and local explanations on the stroke dataset using logistic regression and other classifiers.
Learn how lime provides local, interpretable, model-agnostic explanations for individual predictions of any black-box model using a simple surrogate.
LIME builds a local, sparse linear model around a data point by perturbing features, weighting nearby points, and mimicking a complex model’s predictions for explanation.
Explore explainable ai with python by showing how Shapley values allocate the contribution of age, gender, and job in a black-box income predictor through all feature coalitions and marginal contributions.
Explore how SHAP values are modeled through marginal contributions, binomial coefficients, and reciprocal edge weights, and derive feature attributions for a full model versus a null model.
Explore mathematical modeling of counterfactual explanations in explainable ai with Python, minimally altering input features to flip predictions, comparing brute-force and model-aware approaches, and emphasizing visible counterfactuals and cost metrics.
Demonstrate the what-if tool by visualizing and generating counterfactual explanations, exploring model behavior with preloaded census models, data point edits, and partial dependence plots.
Demonstrates Google's what-if tool to analyze fairness in recidivism classification, exploring data points, counterfactuals, and partial dependence plots to reveal model bias and perform fairness and performance analysis.
Explore explainable ai with python through interactive lrp demos, generating real-time heatmaps that justify handwriting, image, and text classifications and visual question answering decisions.
Jupyter Notebook for implementation of LRP
https://colab.research.google.com/drive/1HLsinf6DCTlVxRArOGPxDO9Av4MD8yg0?usp=sharing
Jupyter Notebook for implementation of LRP
https://colab.research.google.com/drive/1HLsinf6DCTlVxRArOGPxDO9Av4MD8yg0?usp=sharing
XAI with Python
This course provides detailed insights into the latest developments in Explainable Artificial Intelligence (XAI). Our reliance on artificial intelligence models is increasing day by day, and it's also becoming equally important to explain how and why AI makes a particular decision. Recent laws have also caused the urgency about explaining and defending the decisions made by AI systems. This course discusses tools and techniques using Python to visualize, explain, and build trustworthy AI systems.
This course covers the working principle and mathematical modeling of LIME (Local Interpretable Model Agnostic Explanations), SHAP (SHapley Additive exPlanations) for generating local and global explanations. It discusses the need for counterfactual and contrastive explanations, the working principle, and mathematical modeling of various techniques like Diverse Counterfactual Explanations (DiCE) for generating actionable counterfactuals.
The concept of AI fairness and generating visual explanations are covered through Google's What-If Tool (WIT). This course covers the LRP (Layer-wise Relevance Propagation) technique for generating explanations for neural networks.
In this course, you will learn about tools and techniques using Python to visualize, explain, and build trustworthy AI systems. The course covers various case studies to emphasize the importance of explainable techniques in critical application domains.
All the techniques are explained through hands-on sessions so that learns can clearly understand the code and can apply it comfortably to their AI models. The dataset and code used in implementing various XAI techniques are provided to the learners for their practice.