{"id":29443585,"url":"https://github.com/trustyai-explainability/trustyai-explainability-python-examples","last_synced_at":"2025-08-30T10:41:30.342Z","repository":{"id":37789929,"uuid":"417644179","full_name":"trustyai-explainability/trustyai-explainability-python-examples","owner":"trustyai-explainability","description":"Examples for the Python bindings for TrustyAI's explainability library","archived":false,"fork":false,"pushed_at":"2024-10-07T14:54:22.000Z","size":49776,"stargazers_count":11,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-13T16:22:18.482Z","etag":null,"topics":["explainable-ai","java","jupyter","machine-learning","python","trustyai"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trustyai-explainability.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-10-15T21:42:22.000Z","updated_at":"2025-01-29T13:41:35.000Z","dependencies_parsed_at":"2024-02-02T15:27:11.687Z","dependency_job_id":"6f19616c-5e83-4dc4-b082-7c3425564a74","html_url":"https://github.com/trustyai-explainability/trustyai-explainability-python-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/trustyai-explainability/trustyai-explainability-python-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trustyai-explainability%2Ftrustyai-explainability-python-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trustyai-explainability%2Ftrustyai-explainability-python-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trustyai-explainability%2Ftrustyai-explainability-python-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trustyai-explainability%2Ftrustyai-explainability-python-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trustyai-explainability","download_url":"https://codeload.github.com/trustyai-explainability/trustyai-explainability-python-examples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trustyai-explainability%2Ftrustyai-explainability-python-examples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272839668,"owners_count":25001862,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["explainable-ai","java","jupyter","machine-learning","python","trustyai"],"created_at":"2025-07-13T16:11:59.184Z","updated_at":"2025-08-30T10:41:30.212Z","avatar_url":"https://github.com/trustyai-explainability.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/trustyai-explainability/trustyai-explainability-python-examples/main?labpath=examples)\n# trustyai-examples\n\nExamples for the [Python bindings](https://github.com/trustyai-explainability/trustyai-explainability-python) to [TrustyAI](https://github.com/trustyai-explainability/trustyai-explainability)'s explainability library.\n\n## Binder\n\nYou can run the example Jupyter notebooks using `mybinder.org` by following [this link](https://mybinder.org/v2/gh/trustyai-explainability/trustyai-explainability-python-examples/main?labpath=examples).\n\n## Jupyter notebooks\n\nSeveral example Jupyter notebooks are available.\n\n### Explainers\n\n- [Counterfactual explanations](examples/Counterfactuals.ipynb)\n- [LIME explanations](examples/Lime.ipynb)\n- [SHAP explanations](examples/SHAP.ipynb)\n- [PDP explanations](examples/PDP.ipynb) \n- Time-series explainers\n  - [TSLime](examples/TSLime.ipynb)[^1]\n  - [TSSaliency](examples/TSSaliency.ipynb)[^1]\n  - [Time-series Individual Conditional Expectation (TSICE)](examples/TSICE.ipynb)[^1]\n  - Full examples\n    - [Energy load forecasting](examples/EnergyLoadForecasting.ipynb)[^1]\n    - [Engine fault detection](examples/EngineFaultDetection.ipynb)[^1]\n- Detoxification\n    - [LLM detoxification using TMaRCo](examples/Detoxify.ipynb)[^2]\n    \n\n### Metrics\n\n- Bias/fairness\n  - [Group fairness metrics](examples/GroupFairnessMetrics.ipynb)\n- Language\n  - [Language performance](examples/LanguageMetrics.ipynb)\n\n\n[^1]: These explainers require the extra dependencies, installed with `pip install trustyai[extras]`.\n[^2]: Detoxification requires the optional dependencies, installed with `pip install trustyai[detoxify]`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrustyai-explainability%2Ftrustyai-explainability-python-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrustyai-explainability%2Ftrustyai-explainability-python-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrustyai-explainability%2Ftrustyai-explainability-python-examples/lists"}