{"id":19448599,"url":"https://github.com/neurodata/preproject_sporf","last_synced_at":"2025-10-03T23:38:00.003Z","repository":{"id":140563245,"uuid":"220529922","full_name":"neurodata/preproject_sporf","owner":"neurodata","description":"Pre-project SPORF","archived":false,"fork":false,"pushed_at":"2019-11-08T20:38:58.000Z","size":61,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-07T23:25:40.300Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","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/neurodata.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-08T18:58:16.000Z","updated_at":"2024-02-18T23:39:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"3b50fd64-01ad-4fa1-a65b-cb1a60beac62","html_url":"https://github.com/neurodata/preproject_sporf","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/neurodata%2Fpreproject_sporf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurodata%2Fpreproject_sporf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurodata%2Fpreproject_sporf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neurodata%2Fpreproject_sporf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neurodata","download_url":"https://codeload.github.com/neurodata/preproject_sporf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240636663,"owners_count":19832922,"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-10T16:27:47.705Z","updated_at":"2025-10-03T23:37:54.982Z","avatar_url":"https://github.com/neurodata.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SPORF Preprocessing\n\nThis repo holds code to preprocess your data in a sporf-like manner.\nDISCLAMER:  This will increase the size of your data.\n\n## To compile:\n\nRun\n\nFirst, make virtualenv and activate\n\n```\ncd sporf_transform\npip install sklearn\npip install -e .\n```\n\n## To Use:\n\nRun \n\n```python\nfrom sporf_transform import sporf_ternaryColumns\n\n\"\"\"\nSuppose X_{n \\times p} is your data matrix.\np is the number of features in your data matrix.\nd is the number of new features created from sparse-oblique projections.\nlam is the parameter in a Pois(lam) + 1 that determins the sparsity.\n\"\"\"\n\np = 12\nd = 12**4\nlam = 1\nA = sporf_ternaryColumns(p,d,lam)\n\n### Create the projected data\n# Xt = X @ A\n```\n\n\n## [Example01](sporf_transform/docs/Example01.ipynb)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneurodata%2Fpreproject_sporf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneurodata%2Fpreproject_sporf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneurodata%2Fpreproject_sporf/lists"}