{"id":16572784,"url":"https://github.com/lemire/monotonesegment","last_synced_at":"2025-06-21T22:37:40.622Z","repository":{"id":35570077,"uuid":"39842152","full_name":"lemire/MonotoneSegment","owner":"lemire","description":"JavaScript library for monotone segmentation of time series","archived":false,"fork":false,"pushed_at":"2016-11-23T17:10:30.000Z","size":6,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-16T03:14:30.821Z","etag":null,"topics":["algorithm","javascript","monotone-segmentation"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/lemire.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}},"created_at":"2015-07-28T15:27:58.000Z","updated_at":"2023-07-08T16:35:53.000Z","dependencies_parsed_at":"2022-09-17T22:50:20.721Z","dependency_job_id":null,"html_url":"https://github.com/lemire/MonotoneSegment","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemire%2FMonotoneSegment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemire%2FMonotoneSegment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemire%2FMonotoneSegment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemire%2FMonotoneSegment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lemire","download_url":"https://codeload.github.com/lemire/MonotoneSegment/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242041855,"owners_count":20062296,"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":["algorithm","javascript","monotone-segmentation"],"created_at":"2024-10-11T21:28:34.486Z","updated_at":"2025-03-05T14:26:07.753Z","avatar_url":"https://github.com/lemire.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## MonotoneSegment\n\nJavaScript implementation of the main algorithm in \n\n- Daniel Lemire, Martin Brooks and Yuhong Yan, An Optimal Linear Time Algorithm for Quasi-Monotonic Segmentation. International Journal of Computer Mathematics 86 (7), 2009. http://arxiv.org/abs/0709.1166\n\n\nThis code was used in the preparation of the following manuscript : \n\n- Perrine Ruer, Charles Gouin-Vallerand, Le Zhang, Daniel Lemire, and Evelyne F.  Vallières,  An analysis tool for the contextual information from field experiments on driving fatigue,CONTEXT 2015, 2015.\n\n\nJava version\n======\n\nThe code was ported in Java for the Android platform.\n\nhttps://github.com/limvi-licef/AR-driving-assistant/blob/master/AndroidApp/app/src/main/java/com/limvi_licef/ar_driving_assistant/algorithms/MonotoneSegmentationAlgorithm.java\n\n\nUsage\n======\n\nThe script is just meant a demo. Please read the code\nand adapt it to your own purpose.\n\n\nAssuming you have a mac, you can run it in a command line...\n```bash\nsudo ln -s /System/Library/Frameworks/JavaScriptCore.framework/Versions/Current/Resources/jsc /bin/jsc\nchmod +x samplescript.js\ncat VehicleRunInfo.json | jsc samplescript.js \n```\n\nIf you have gnuplot installed:\n\n```bash\ncat VehicleRunInfo.json | jsc samplescript.js \u003e test.data \u0026\u0026 gnuplot test.gnuplot\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemire%2Fmonotonesegment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flemire%2Fmonotonesegment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemire%2Fmonotonesegment/lists"}