{"id":20374762,"url":"https://github.com/kmedian/pctl_scale","last_synced_at":"2026-05-10T00:49:07.463Z","repository":{"id":57451318,"uuid":"154119026","full_name":"kmedian/pctl_scale","owner":"kmedian","description":"Scale a variable into an open interval (0,1) whereas values within a given lower and upper percentile maintain a linear relation, and outlier saturate towards the interval limits.","archived":false,"fork":false,"pushed_at":"2019-08-22T10:49:31.000Z","size":58,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-15T07:01:51.156Z","etag":null,"topics":["feature-engineering","pypi","sklearn","sklearn-compatible"],"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/kmedian.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","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-10-22T09:37:11.000Z","updated_at":"2019-12-12T11:34:48.000Z","dependencies_parsed_at":"2022-09-04T10:13:01.813Z","dependency_job_id":null,"html_url":"https://github.com/kmedian/pctl_scale","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/kmedian%2Fpctl_scale","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmedian%2Fpctl_scale/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmedian%2Fpctl_scale/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmedian%2Fpctl_scale/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kmedian","download_url":"https://codeload.github.com/kmedian/pctl_scale/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241923571,"owners_count":20043042,"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":["feature-engineering","pypi","sklearn","sklearn-compatible"],"created_at":"2024-11-15T01:26:48.238Z","updated_at":"2026-05-10T00:49:02.443Z","avatar_url":"https://github.com/kmedian.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/kmedian/pctl_scale.svg?branch=master)](https://travis-ci.org/kmedian/pctl_scale)\n[![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/kmedian/pctl_scale/master?urlpath=lab)\n\n# pctl_scale\nScale a variable into an open interval (0,1) whereas values within a given lower and upper percentile maintain a linear relation, and outlier saturate towards the interval limits.\n\nThis scaling functions was developed with **ratio-scale** data in mind \n(i.e. it has a natural zero value).\n\n\n## Table of Contents\n* [Installation](#installation)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Support](#support)\n* [Contributing](#contributing)\n\n\n## Installation\nThe `pctl_scale` [git repo](http://github.com/kmedian/pctl_scale) is available as [PyPi package](https://pypi.org/project/pctl_scale)\n\n```\npip install pctl_scale\n```\n\n\n## Usage\nCheck the [examples](examples) folder for notebooks.\n\n\n## Commands\n* Check syntax: `flake8 --ignore=F401`\n* Run Unit Tests: `python -W ignore -m unittest discover`\n* Remove `.pyc` files: `find . -type f -name \"*.pyc\" | xargs rm`\n* Remove `__pycache__` folders: `find . -type d -name \"__pycache__\" | xargs rm -rf`\n* Upload to PyPi with twine: `python setup.py sdist \u0026\u0026 twine upload -r pypi dist/*`\n\n\n## Debugging\n* Notebooks to profile python code are in the [profile](profile) folder\n\n\n## Support\nPlease [open an issue](https://github.com/kmedian/pctl_scale/issues/new) for support.\n\n\n## Contributing\nPlease contribute using [Github Flow](https://guides.github.com/introduction/flow/). Create a branch, add commits, and [open a pull request](https://github.com/kmedian/pctl_scale/compare/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkmedian%2Fpctl_scale","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkmedian%2Fpctl_scale","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkmedian%2Fpctl_scale/lists"}