{"id":34090042,"url":"https://github.com/thenmf/bignmf","last_synced_at":"2025-12-14T14:09:22.093Z","repository":{"id":32693220,"uuid":"139540092","full_name":"thenmf/bignmf","owner":"thenmf","description":"A python package for performing single NMF and joint NMF algorithms","archived":false,"fork":false,"pushed_at":"2023-08-14T18:28:07.000Z","size":442,"stargazers_count":14,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-08T14:29:51.224Z","etag":null,"topics":["factorization","machine-learning","nmf","python","python-package"],"latest_commit_sha":null,"homepage":null,"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/thenmf.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}},"created_at":"2018-07-03T06:45:44.000Z","updated_at":"2025-03-16T09:06:40.000Z","dependencies_parsed_at":"2023-01-14T21:56:58.166Z","dependency_job_id":null,"html_url":"https://github.com/thenmf/bignmf","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thenmf/bignmf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenmf%2Fbignmf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenmf%2Fbignmf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenmf%2Fbignmf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenmf%2Fbignmf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thenmf","download_url":"https://codeload.github.com/thenmf/bignmf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenmf%2Fbignmf/sbom","scorecard":{"id":879440,"data":{"date":"2025-08-11","repo":{"name":"github.com/thenmf/bignmf","commit":"c10a6ce840fa5021fc8c08f34478308ee49eab29"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/20 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 10 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"18 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-230 / GHSA-248v-346w-9cwc","Warn: Project is vulnerable to: PYSEC-2024-60 / GHSA-jjg7-2v4v-x38h","Warn: Project is vulnerable to: GHSA-fpfv-jqm9-f5jm","Warn: Project is vulnerable to: PYSEC-2020-73","Warn: Project is vulnerable to: PYSEC-2022-42969","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2023-102","Warn: Project is vulnerable to: PYSEC-2023-114","Warn: Project is vulnerable to: PYSEC-2025-49 / GHSA-5rjg-fvgr-3xxf","Warn: Project is vulnerable to: GHSA-cx63-2mw6-8hw5","Warn: Project is vulnerable to: GHSA-g7vv-2v7x-gj9p","Warn: Project is vulnerable to: GHSA-34jh-p97f-mpxf","Warn: Project is vulnerable to: PYSEC-2023-212 / GHSA-g4mx-q9vg-27p4","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v","Warn: Project is vulnerable to: PYSEC-2023-192 / GHSA-v845-jxx5-vc9f","Warn: Project is vulnerable to: PYSEC-2024-187 / GHSA-rqc4-2hc7-8c8v","Warn: Project is vulnerable to: GHSA-jfmj-5v4g-7637"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-24T07:30:19.214Z","repository_id":32693220,"created_at":"2025-08-24T07:30:19.214Z","updated_at":"2025-08-24T07:30:19.214Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27729529,"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-12-14T02:00:11.348Z","response_time":56,"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":["factorization","machine-learning","nmf","python","python-package"],"created_at":"2025-12-14T14:09:17.552Z","updated_at":"2025-12-14T14:09:22.087Z","avatar_url":"https://github.com/thenmf.png","language":"Python","readme":"# BigNmf\n[![Build Status](https://travis-ci.org/thenmf/bignmf.svg?branch=master)](https://travis-ci.org/thenmf/bignmf)\n[![Read the Docs](https://readthedocs.org/projects/bignmf/badge/?version=latest)](https://bignmf.readthedocs.io/en/latest/?badge=latest)\n[![PyPI version](https://badge.fury.io/py/bignmf.svg)](https://badge.fury.io/py/bignmf)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Downloads](https://pepy.tech/badge/bignmf)](https://pepy.tech/project/bignmf)\n\nBigNmf (Big Data NMF) is a python 3 package for conducting analysis using NMF algorithms.\n\n## NMF Introduction \n[NMF](https://en.wikipedia.org/wiki/Non-negative_matrix_factorization)   (Non-negative matrix factorization) factorizes a non-negative input matrix into non-negative factors. The algorithm has an inherent clustering property and has been gaining attention in various fields especially in biological data analysis. \n\n_Brunet et al_ in their [paper](http://www.pnas.org/content/101/12/4164) demonstrated NMF's superior capability in clustering the [leukemia dataset](https://www.kaggle.com/crawford/gene-expression) compared to standard clustering algorithms like Hierarchial clustering and Self-organizeing maps.\n\n## Available algorithms\nThe following are the algorithms currently available. If you would like to know more about the algorithm, the links below lead to their papers of origin.\n* Single NMF\n    1. [Standard Single NMF](https://www.nature.com/articles/44565)\n    1. [Sparse NMF](https://www.merl.com/publications/docs/TR2015-023.pdf)\n* Joint NMF\n    1. [Standard Joint NMF](https://www.ncbi.nlm.nih.gov/pubmed/25411328)\n    2. [Integrative NMF](https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0176278)\n\n## Installation\n\nThis package is available on the PyPi repository. Therefore you can install, by running the following.\n\n```bash\npip3 install bignmf\n```\n\n## Usage\nThe following examples illustrate typical usage of the algorithm.\n\n### 1. Single NMF\n\n```python\nfrom bignmf.datasets.datasets import Datasets\nfrom bignmf.models.snmf.standard import StandardNmf\n\nDatasets.list_all()\ndata=Datasets.read(\"SimulatedX1\")\nk = 3\niter =100\ntrials = 50\n\nmodel = StandardNmf(data,k)\n\n# Runs the model\nmodel.run(trials, iter, verbose=0)\nprint(model.error)\n\n# Clusters the data\nmodel.cluster_data()\nprint(model.h_cluster)\n\n#Calculates the consensus matrices\nmodel.calc_consensus_matrices() \nprint(model.consensus_matrix_w)\n```\n\n### 2. Joint NMF\n\n```python\nfrom bignmf.models.jnmf.integrative import IntegrativeJnmf\nfrom bignmf.datasets.datasets import Datasets\n\nDatasets.list_all()\ndata_dict = {}\ndata_dict[\"sim1\"] = Datasets.read(\"SimulatedX1\")\ndata_dict[\"sim2\"] = Datasets.read(\"SimulatedX2\")\n\nk = 3\niter =100\ntrials = 50\nlamb = 0.1\n\nmodel = IntegrativeJnmf(data_dict, k, lamb)\n# Runs the model\nmodel.run(trials, iter, verbose=0)\nprint(model.error)\n\n# Clusters the data\nmodel.cluster_data()\nprint(model.h_cluster)\n\n#Calculates the consensus matrices\nmodel.calc_consensus_matrices() \nprint(model.consensus_matrix_w)\n```\n\n[Here](https://bignmf.readthedocs.io/en/latest/) is the extensive documentation for more details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthenmf%2Fbignmf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthenmf%2Fbignmf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthenmf%2Fbignmf/lists"}