{"id":19082293,"url":"https://github.com/waikato-datamining/android-matrix-algorithms","last_synced_at":"2026-05-18T19:45:54.249Z","repository":{"id":57738218,"uuid":"203262572","full_name":"waikato-datamining/android-matrix-algorithms","owner":"waikato-datamining","description":"Java library to be used on Android, simply applies precomputed matrices etc.","archived":false,"fork":false,"pushed_at":"2019-11-01T01:22:50.000Z","size":57,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-25T20:02:46.915Z","etag":null,"topics":["android","java","matrix-algorithms","pls","savitzky-golay"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/waikato-datamining.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":"2019-08-19T23:05:42.000Z","updated_at":"2020-08-13T07:57:57.000Z","dependencies_parsed_at":"2022-08-25T21:40:50.343Z","dependency_job_id":null,"html_url":"https://github.com/waikato-datamining/android-matrix-algorithms","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/waikato-datamining/android-matrix-algorithms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waikato-datamining%2Fandroid-matrix-algorithms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waikato-datamining%2Fandroid-matrix-algorithms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waikato-datamining%2Fandroid-matrix-algorithms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waikato-datamining%2Fandroid-matrix-algorithms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/waikato-datamining","download_url":"https://codeload.github.com/waikato-datamining/android-matrix-algorithms/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waikato-datamining%2Fandroid-matrix-algorithms/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269713884,"owners_count":24463244,"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-08-10T02:00:08.965Z","response_time":71,"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":["android","java","matrix-algorithms","pls","savitzky-golay"],"created_at":"2024-11-09T02:42:49.808Z","updated_at":"2026-05-18T19:45:49.203Z","avatar_url":"https://github.com/waikato-datamining.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# android-matrix-algorithms\nJava library to be used on Android, simply applies precomputed matrices etc.\nas generated by [py-matrix-algorithms](https://github.com/waikato-datamining/py-matrix-algorithms).\n\n## Algorithms\n* [Simple PLS (SIMPLS)](http://www.statsoft.com/textbook/partial-least-squares/#SIMPLS)\n* [Savitzky-Golay](https://en.wikipedia.org/wiki/Savitzky%E2%80%93Golay_filter)\n* Standardize\n* Log\n\n## Usage\nUse the following code to load the preprocessing map from the serialized file\n`map.bin` (with `one` and `two` named pipelines) and apply it to data (processing\nthe same data with both pre-processing pipelines):\n\n```java\nimport com.github.waikatodatamining.androidmatrix.PreprocessingMap;\nimport java.io.FileInputStream;\nimport java.utils.Map;\nimport java.utils.HashMap;\n \nPreprocessingMap preprocessingMap;\npreprocessingMap = new PreprocessingMap(new FileInputStream(\"map.bin\"));\n\ndouble[] data = ...;\nMap\u003cString, double[]\u003e map = new HashMap\u003c\u003e();\nmap.put(\"one\", data);\nmap.put(\"two\", data);\n\n// for ordered application\ndouble[][] processedOrdered = preprocessingMap.applyOrdered(data);\n \n// for mapped application\nMap\u003cString, double[]\u003e processedMapped = preprocessingMap.apply(data);\n```\n\n## Android\nSee the following StackOverflow post for how to wrap a `java.nio.ByteBuffer` in\na `java.io.InputStream`:\n\nhttps://stackoverflow.com/a/6603018/4698227\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaikato-datamining%2Fandroid-matrix-algorithms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwaikato-datamining%2Fandroid-matrix-algorithms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaikato-datamining%2Fandroid-matrix-algorithms/lists"}