{"id":18401675,"url":"https://github.com/borealisai/group-feature-importance","last_synced_at":"2025-04-07T07:31:33.362Z","repository":{"id":65351783,"uuid":"488370452","full_name":"BorealisAI/group-feature-importance","owner":"BorealisAI","description":"Group feature importance","archived":false,"fork":false,"pushed_at":"2024-04-03T16:10:12.000Z","size":483,"stargazers_count":5,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-18T07:25:26.672Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BorealisAI.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}},"created_at":"2022-05-03T21:39:30.000Z","updated_at":"2025-02-03T16:02:25.000Z","dependencies_parsed_at":"2024-01-09T18:42:27.678Z","dependency_job_id":null,"html_url":"https://github.com/BorealisAI/group-feature-importance","commit_stats":{"total_commits":13,"total_committers":1,"mean_commits":13.0,"dds":0.0,"last_synced_commit":"64e0615fa3bae4dfe4d0dc3c4ac3537dee11ef42"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BorealisAI%2Fgroup-feature-importance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BorealisAI%2Fgroup-feature-importance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BorealisAI%2Fgroup-feature-importance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BorealisAI%2Fgroup-feature-importance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BorealisAI","download_url":"https://codeload.github.com/BorealisAI/group-feature-importance/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247612055,"owners_count":20966653,"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","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":[],"created_at":"2024-11-06T02:39:37.040Z","updated_at":"2025-04-07T07:31:33.043Z","avatar_url":"https://github.com/BorealisAI.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Group feature importance\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/BorealisAI/group-feature-importance/actions\"\u003e\n      \u003cimg alt=\"CI\" src=\"https://github.com/BorealisAI/group-feature-importance/workflows/CI/badge.svg?event=push\u0026branch=main\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://pypi.org/project/groufi/\"\u003e\n      \u003cimg alt=\"PYPI version\" src=\"https://img.shields.io/pypi/v/groufi\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://pypi.org/project/groufi/\"\u003e\n      \u003cimg alt=\"Python\" src=\"https://img.shields.io/pypi/pyversions/groufi.svg\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://creativecommons.org/licenses/by-nc-sa/4.0/\"\u003e\n      \u003cimg alt=\"Attribution-NonCommercial-ShareAlike 4.0 International\" src=\"https://img.shields.io/badge/License-CC_BY--NC--SA_4.0-lightgrey.svg\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://codecov.io/gh/durandtibo/group-feature-importance\"\u003e\n      \u003cimg alt=\"Codecov\" src=\"https://codecov.io/gh/durandtibo/group-feature-importance/branch/main/graph/badge.svg?token=IRVV3WC71O\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/psf/black\"\u003e\n     \u003cimg  alt=\"Code style: black\" src=\"https://img.shields.io/badge/code%20style-black-000000.svg\"\u003e\n    \u003c/a\u003e\n    \u003cbr/\u003e\n    \u003ca href=\"https://pepy.tech/project/groufi\"\u003e\n        \u003cimg  alt=\"Downloads\" src=\"https://static.pepy.tech/badge/groufi\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://pepy.tech/project/groufi\"\u003e\n        \u003cimg  alt=\"Monthly downloads\" src=\"https://static.pepy.tech/badge/groufi/month\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://twitter.com/intent/follow?screen_name=BorealisAI\"\u003e\n        \u003cimg src=\"https://img.shields.io/twitter/follow/BorealisAI?style=social\u0026logo=twitter\" alt=\"follow on Twitter\"\u003e\n    \u003c/a\u003e\n    \u003cbr/\u003e\n\u003c/p\u003e\n\n\nThis release looks at the role of joint feature importance for explainability in instances where\nfeatures may be highly correlated when providing an output. Specifically, the method operates by\nregrouping the correlated features and then looking at the group-level impact of imputation. Doing\nso allows us to consider the impact of a joint permutation of the correlated features.\n\n## Examples\n\nSome examples are available in [`examples`](examples)\n\n## Installation\n\n### Installing with `pip`\n\nThis repository is tested on Python 3.9, and Linux systems.\nIt is recommended to install in a virtual environment to keep your system in order.\nThe following command installs the latest version of the library:\n\n```shell\npip install groufi\n```\n\n### Installing from source\n\nTo install `groufi` from source, you can follow the steps below. First, you will need to\ninstall [`poetry`](https://python-poetry.org/docs/master/). `poetry` is used to manage and install\nthe dependencies.\nIf `poetry` is already installed on your machine, you can skip this step. There are several ways to\ninstall `poetry` so\nyou can use the one that you prefer. You can check the `poetry` installation by running the\nfollowing command:\n\n```shell\npoetry --version\n```\n\nThen, you can clone the git repository:\n\n```shell\ngit clone git@github.com:BorealisAI/group-feature-importance.git\n```\n\nThen, it is recommended to create a Python 3.8+ virtual environment. This step is optional so you\ncan skip it. To create\na virtual environment, you can use the following command:\n\n```shell\nmake conda\n```\n\nIt automatically creates a conda virtual environment. When the virtual environment is created, you\ncan activate it with\nthe following command:\n\n```shell\nconda activate groufi\n```\n\nThis example uses `conda` to create a virtual environment, but you can use other tools or\nconfigurations. Then, you\nshould install the required package to use `groufi` with the following command:\n\n```shell\nmake install\n```\n\nThis command will install all the required packages. You can also use this command to update the\nrequired packages. This\ncommand will check if there is a more recent package available and will install it. Finally, you can\ntest the\ninstallation with the following command:\n\n```shell\nmake test\n```\n\n## License\n\nThis repository is released under the Attribution-NonCommercial-ShareAlike 4.0 International license\nas found in\nthe [LICENSE](LICENSE) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborealisai%2Fgroup-feature-importance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborealisai%2Fgroup-feature-importance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborealisai%2Fgroup-feature-importance/lists"}