{"id":34061076,"url":"https://github.com/naotoo1/nafes","last_synced_at":"2026-04-01T22:10:04.547Z","repository":{"id":196214681,"uuid":"695276598","full_name":"naotoo1/nafes","owner":"naotoo1","description":"A python project for prototype-based feature selection","archived":false,"fork":false,"pushed_at":"2025-03-11T00:26:30.000Z","size":807,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-28T00:12:15.207Z","etag":null,"topics":["feature-selection","interpretable-ai","lvq","machine-learning","prototype-based-models","python"],"latest_commit_sha":null,"homepage":"https://naotoo1.github.io/nafes/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/naotoo1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/contributing.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-09-22T18:43:19.000Z","updated_at":"2025-03-11T00:24:10.000Z","dependencies_parsed_at":"2024-02-26T20:52:27.770Z","dependency_job_id":"edfb5618-af86-4ee7-ba0d-58c575be9646","html_url":"https://github.com/naotoo1/nafes","commit_stats":null,"previous_names":["naotoo1/nafes"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/naotoo1/nafes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naotoo1%2Fnafes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naotoo1%2Fnafes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naotoo1%2Fnafes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naotoo1%2Fnafes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/naotoo1","download_url":"https://codeload.github.com/naotoo1/nafes/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naotoo1%2Fnafes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31292637,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T21:15:39.731Z","status":"ssl_error","status_checked_at":"2026-04-01T21:15:34.046Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["feature-selection","interpretable-ai","lvq","machine-learning","prototype-based-models","python"],"created_at":"2025-12-14T04:35:34.733Z","updated_at":"2026-04-01T22:10:04.505Z","avatar_url":"https://github.com/naotoo1.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nafes\n\n\n[![image](https://img.shields.io/pypi/v/nafes.svg)](https://pypi.python.org/pypi/nafes)\n[![python: 3.10](https://img.shields.io/badge/python-3.10-blue.svg)](https://www.python.org/downloads/release/python-31011/)\n[![github](https://img.shields.io/badge/version-0.0.4-yellow.svg)](https://github.com/naotoo1/nafes)\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)\n\n\n**A python package for prototype-based feature selection**\n\nNafes is a prototype-based feature selection package designed as a wrapper centered on the highly interpretable and powerful Generalized Matrix Learning Vector Quantization (GMLVQ) classification algorithm and its local variant (LGMLVQ). Nafes utilizes the learned relevances evaluated by the mutation validation scheme for Learning Vector quantization (LVQ), which iteratively converges to selected features that relevantly contribute to the prototype-based classifier decisions. \n\n    \n\n## Installation\nNafes can be installed using pip.\n```python\npip install nafes\n```\n\nIf you have installed Nafes before and want to upgrade to the latest version, you can run the following command in your terminal:\n```python\npip install -U nafes\n```\n\nTo install the latest development version directly from the GitHub repository:\n\n```python\npip install git+https://github.com/naotoo1/nafes\n```\n\n## Development Environment\nNafes provides a fully reproducible development environment using Nix and [devenv](https://devenv.sh/getting-started/). Once you have installed Nix and devenv, you can do the following:\n\n   ```bash\n   mkdir -p ~/.config/nix\n   echo \"experimental-features = nix-command flakes\" \u003e\u003e ~/.config/nix/nix.conf\n   nix profile install --accept-flake-config \"github:cachix/devenv/latest\"\n   ```\n\nThen clone and enter the project directory:\n\n```bash\ngit clone https://github.com/naotoo1/nafes.git\ncd nafes\n```\n\nActivate the reproducible development environment:\n   ```bash\ndevenv shell\n   ```\nYou may optionally consider using [direnv](https://direnv.net/) for automatic shell activation when entering the project directory.\n\nTo install Nafes in development mode, follow these steps to set up your environment with all the necessary dependencies while ensuring the package is installed with live code editing capabilities. To use the local reproducible development enviroment, execute the following lock file commands:\n\n```bash\n# Generate requirements file\ngenerate-requirements\n\n# Update lock files\nupdate-lock-files\n\n# Install dependencies from lock file\ninstall-from-lock\n   ```\n   \nAlternatively, use the one-liner:\n\n   ```bash\nsetup-python-env\n   ```\n\nTo use the reproducible docker container with support for GPU/CPU:\n\n```bash\n# For GPU support\ncreate-reproducible-container\nrun-reproducible-container\n\n# For CPU-only environments\ncreate-cpu-container\nrun-cpu-container\n   ```\nWhen working with Nafes in development mode, changes to the code take effect immediately without reinstallation. Use ```git pull``` to get the latest updates from the repository. Run tests after making changes to verify functionality\n\n## Bibtex\nIf you would like to cite the package, please use this:\n```python\n@misc{Otoo_nafes_2023,\nauthor = {Otoo, Nana Abeka},\ntitle = {nafes},\nyear = {2023},\npublisher = {GitHub},\njournal = {GitHub repository},\nhowpublished= {\\url{https://github.com/naotoo1/nafes}},\n}\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaotoo1%2Fnafes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaotoo1%2Fnafes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaotoo1%2Fnafes/lists"}