{"id":15970736,"url":"https://github.com/braun-steven/multiway-algorithms-comparison","last_synced_at":"2026-07-21T01:34:57.274Z","repository":{"id":88952162,"uuid":"131563139","full_name":"braun-steven/multiway-algorithms-comparison","owner":"braun-steven","description":null,"archived":false,"fork":false,"pushed_at":"2018-05-03T05:06:24.000Z","size":2493,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-09T19:38:08.717Z","etag":null,"topics":["algorithms","multiway","nway","parafac"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/braun-steven.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2018-04-30T06:29:56.000Z","updated_at":"2018-05-04T03:06:43.000Z","dependencies_parsed_at":"2023-03-11T00:30:53.183Z","dependency_job_id":null,"html_url":"https://github.com/braun-steven/multiway-algorithms-comparison","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/braun-steven/multiway-algorithms-comparison","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/braun-steven%2Fmultiway-algorithms-comparison","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/braun-steven%2Fmultiway-algorithms-comparison/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/braun-steven%2Fmultiway-algorithms-comparison/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/braun-steven%2Fmultiway-algorithms-comparison/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/braun-steven","download_url":"https://codeload.github.com/braun-steven/multiway-algorithms-comparison/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/braun-steven%2Fmultiway-algorithms-comparison/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278909736,"owners_count":26066894,"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-10-08T02:00:06.501Z","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":["algorithms","multiway","nway","parafac"],"created_at":"2024-10-07T20:02:25.396Z","updated_at":"2025-10-08T08:10:28.902Z","avatar_url":"https://github.com/braun-steven.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Multiway-Algorithms PARAFAC Comparison Test\n\nTo compare the multiway-algorithms PARAFAC implementation with the matlab nway toolbox run the following step:\n\n1. Initialize the mutliway-algorithms and nway-toolbox local installations by running\n    ```bash\n    $ bash init.sh\n    ```\n    This should clone the latest multiway-algorithms develop branch and the nway repository\n    \n2. Run the nway PARAFAC implementation:\n    ```bash\n    $ bash run-nway-toolbox-parafac.sh\n    ```\n    Results in:\n    ``` \n    Loss =\n    \n      413.6739\n    ```\n    \n3. Run the multiway-algorithms PARAFAC implementation:\n    ```bash\n    $ bash run-multiway-alg-parafac.sh\n    ```\n    Results in:\n    ``` \n    [INFO ] 18:14:11.388 [Main.main()] Main - Loss = 413.9942821962213\n    ```\n    \n\nThe data can be found in `matlab/Fluorescence\\ EEMs/` as `.dat` files or in `data/` as `.csv` files. The matlab script `matlab/generate_data_dir.m` generates the `.csv` files.\n\n### Algorithm Setup\nBoth runs are started with the same options:\n\nOption | Value\n--- | ---\nnumber of components | 4..10\nmax. iterations | 2500\nimprovement tolerance threshold | 10e-6\ninit method | {random orthogonalized matrices, SVD}\n\n### Results\nnumber of components | nway loss (random orth. init)| mwa loss (random orth. init) | nway loss (SVD init)| mwa loss (SVD init)\n:---: | ---: | ---: | ---: | ---: \n 3 | 562.3193 | 562.6590  | **562.3179** | 562.9468\n 4 | **413.7502** | 413.9942 | 413.7559 | 414.0267\n 5 | **306.6297**  | 307.1157 | 306.691  | 310.7814\n 6 | 217.8061| 218.3507 | **217.7974**| 218.0926\n 7 | 175.0781 | 175.6058 | **175.0551** | 175.9703\n 8 | 144.0486 | 145.9342 | **143.9903** | 145.5471\n 9 | **122.1815** | 126.5388 | 122.2394 | 122.3786\n 10 | **104.1776** | 109.5957 | 104.1796 | 107.6224\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbraun-steven%2Fmultiway-algorithms-comparison","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbraun-steven%2Fmultiway-algorithms-comparison","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbraun-steven%2Fmultiway-algorithms-comparison/lists"}