{"id":19267073,"url":"https://github.com/mljs/airpls","last_synced_at":"2025-04-21T19:32:34.982Z","repository":{"id":33278473,"uuid":"121425407","full_name":"mljs/airpls","owner":"mljs","description":"Baseline correction using adaptive iteratively reweighted penalized least squares","archived":false,"fork":false,"pushed_at":"2024-05-03T01:47:01.000Z","size":1376,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-04-15T09:06:07.070Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/mljs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"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}},"created_at":"2018-02-13T19:19:26.000Z","updated_at":"2024-05-03T01:46:09.000Z","dependencies_parsed_at":"2023-11-08T12:33:22.913Z","dependency_job_id":"3e8895c7-e6b0-4642-997e-9ea38064a2b5","html_url":"https://github.com/mljs/airpls","commit_stats":{"total_commits":40,"total_committers":5,"mean_commits":8.0,"dds":"0.44999999999999996","last_synced_commit":"c28cb279aea85b7f7368f461dae2a88f8d0eeb94"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mljs%2Fairpls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mljs%2Fairpls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mljs%2Fairpls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mljs%2Fairpls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mljs","download_url":"https://codeload.github.com/mljs/airpls/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250120089,"owners_count":21378135,"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":[],"created_at":"2024-11-09T20:09:59.629Z","updated_at":"2025-04-21T19:32:34.974Z","avatar_url":"https://github.com/mljs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# airpls\n\n  [![NPM version][npm-image]][npm-url]\n  [![Test coverage][codecov-image]][codecov-url]\n  [![npm download][download-image]][download-url]\n\nBaseline correction using adaptive iteratively reweighted penalized least squares\n\nIt is an javascript implementation of [airpls](https://github.com/zmzhang/airPLS/blob/main/airPLS_manuscript.pdf) using cholesky decomposition and reverse Cuthill-Mckee method for reducing the bandwidth of sparse linear systems, obtaining a fast baseline fitter. \n\n## Installation\n\n`$ npm install ml-airpls`\n\n## [API Documentation](https://mljs.github.io/airpls/)\n\n## Example\n\n```js\nconst airpls = require('ml-airpls');\n\nlet y = [1, 1, 1, 1, 3, 6, 3, 1, 1, 1];\nlet x = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];\n\nvar {baseline, corrected, iteration, error} = airpls(x, y);\n```\n\n## License\n\n[MIT](./LICENSE)\n\n[npm-image]: https://img.shields.io/npm/v/ml-airpls.svg?style=flat-square\n[npm-url]: https://www.npmjs.com/package/ml-airpls\n[codecov-image]: https://img.shields.io/codecov/c/github/mljs/airpls.svg?style=flat-square\n[codecov-url]: https://codecov.io/gh/mljs/airpls\n[download-image]: https://img.shields.io/npm/dm/ml-airpls.svg?style=flat-square\n[download-url]: https://www.npmjs.com/package/ml-airpls\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmljs%2Fairpls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmljs%2Fairpls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmljs%2Fairpls/lists"}