{"id":16835024,"url":"https://github.com/chkoar/vfi","last_synced_at":"2025-06-27T19:33:53.718Z","repository":{"id":62587353,"uuid":"222581270","full_name":"chkoar/vfi","owner":"chkoar","description":"Classification by Voting Feature Intervals in Python","archived":false,"fork":false,"pushed_at":"2020-01-21T16:09:31.000Z","size":24,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-24T21:46:30.550Z","etag":null,"topics":["classifier","data-mining","discretization","machine-learning","supervised-learning","vfi"],"latest_commit_sha":null,"homepage":"http://vfi.readthedocs.io","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/chkoar.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2019-11-19T01:30:30.000Z","updated_at":"2022-08-04T15:11:16.000Z","dependencies_parsed_at":"2022-11-04T07:45:56.101Z","dependency_job_id":null,"html_url":"https://github.com/chkoar/vfi","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chkoar%2Fvfi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chkoar%2Fvfi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chkoar%2Fvfi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chkoar%2Fvfi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chkoar","download_url":"https://codeload.github.com/chkoar/vfi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244142468,"owners_count":20405010,"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":["classifier","data-mining","discretization","machine-learning","supervised-learning","vfi"],"created_at":"2024-10-13T12:08:44.604Z","updated_at":"2025-03-18T02:25:07.743Z","avatar_url":"https://github.com/chkoar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"|Travis|_ |Codecov|_ |ReadTheDocs|_\n\n.. |Travis| image:: https://travis-ci.org/chkoar/vfi.svg?branch=master\n.. _Travis: https://travis-ci.org/chkoar/vfi\n\n.. |Codecov| image:: https://codecov.io/gh/chkoar/vfi/branch/master/graph/badge.svg\n.. _Codecov: https://codecov.io/gh/chkoar/vfi\n\n.. |ReadTheDocs| image:: https://readthedocs.org/projects/vfi/badge/?version=latest\n.. _ReadTheDocs: https://vfi.readthedocs.io/en/latest/?badge=latest\n\n===\nVFI\n===\n\nVFI - Voting Feature Intervals is a supervised classification model similar to Naive Bayes. Constructs intervals around each class for each feature. Class counts are recorded for each interval on each feature and the classification is performed using a voting scheme.\n\nBased on the paper: G. Demiroz, A. Guvenir: Classification by voting feature intervals. In: 9th European Conference on Machine Learning, 85-92, 1997.01.\n\nDocumentation is available on ReadTheDocs at http://vfi.readthedocs.io/en/latest/\n\n\n------------------\nHow to use VFI\n------------------\n\nThe vfi package inherits from sklearn classes, and thus drops in neatly\nnext to other sklearn classifiers with an identical calling API. Similarly it\nsupports input in a variety of formats: an array (or pandas dataframe) of shape ``(num_samples x num_features)``.\n\n.. code:: python\n\n    import vfi\n    from sklearn.datasets import load_iris\n    \n    data, target = load_iris(return_X_y=True)\n    \n    model = vfi.VFI()\n    model.fit(data, target)\n\n\n----------\nInstalling\n----------\n\nPyPI install, presuming you have an up to date pip:\n\n.. code:: bash\n\n    pip install vfi\n\n\nIf pip is having difficulties pulling the dependencies then we'd suggest to first upgrade\npip to at least version 10 and try again:\n\n.. code:: bash\n\n    pip install --upgrade pip\n    pip install vfi\n\nOtherwise install the dependencies manually using anaconda followed by pulling vfi from pip:\n\n.. code:: bash\n\n    conda install numpy scipy\n    conda install scikit-learn\n    pip install vfi\n\n\nFor a manual install of the latest code directly from GitHub:\n\n.. code:: bash\n\n    pip install --upgrade git+https://github.com/chkoar/vfi.git#egg=vfi\n\n\nAlternatively download the package, install requirements, and manually run the installer:\n\n.. code:: bash\n\n    wget https://github.com/chkoar/vfi/archive/master.zip\n    unzip master.zip\n    rm master.zip\n    cd vfi-master\n    \n    pip install -r requirements.txt\n    \n    python setup.py install\n\n-----------------\nRunning the Tests\n-----------------\n\nThe package tests can be run after installation using the command:\n\n.. code:: bash\n\n    pytest vfi --cov\n\n--------------\nPython Version\n--------------\n\nThe vfi package supports only Python 3.\n    \n------------\nContributing\n------------\n\nWe welcome contributions in any form! Assistance with documentation, particularly expanding tutorials,\nis always welcome. To contribute please `fork the project \u003chttps://github.com/chkoar/vfi/issues#fork-destination-box\u003e`_ make your changes and submit a pull request. We will do our best to work through any issues with\nyou and get your code merged into the main branch.\n\n\n---------\nLicensing\n---------\n\nThe vfi package is MIT licensed. Enjoy.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchkoar%2Fvfi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchkoar%2Fvfi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchkoar%2Fvfi/lists"}