{"id":18071929,"url":"https://github.com/innerlee/halfspace","last_synced_at":"2026-01-18T19:01:51.131Z","repository":{"id":87049352,"uuid":"52524207","full_name":"innerlee/Halfspace","owner":"innerlee","description":"Learning Halfspaces and Neural Networks with Random Initialization","archived":false,"fork":false,"pushed_at":"2016-03-01T03:05:33.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-11T14:46:52.932Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Julia","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/innerlee.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":"2016-02-25T12:54:47.000Z","updated_at":"2016-02-25T13:28:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"252fe769-8d7e-4fa1-a6c5-2924e3e0cd7e","html_url":"https://github.com/innerlee/Halfspace","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/innerlee%2FHalfspace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/innerlee%2FHalfspace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/innerlee%2FHalfspace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/innerlee%2FHalfspace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/innerlee","download_url":"https://codeload.github.com/innerlee/Halfspace/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247378087,"owners_count":20929291,"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-10-31T09:17:48.815Z","updated_at":"2026-01-18T19:01:51.126Z","avatar_url":"https://github.com/innerlee.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Halfspace\n\nImplementation of algorithms in \"Learning Halfspaces and Neural Networks with Random Initialization\" \nby Yuchen Zhang, Jason D. Lee, Martin J. Wainwright, and Michael I. Jordan.\n\nCodes written in Julia.\n\n## Required Packages\n\nInstall the following packages,\n```julia\nPkg.add(\"JLD\")\nPkg.add(\"StatsBase\")\nPkg.add(\"Convex\")\nPkg.add(\"SCS\")\n```\n\n## Generate Synthetic Data\n\nFirst, you need to generate the synthetic data.\nModify code in `run.jl` as\n```julia\n#include(\"test/go.jl\")\ninclude(\"test/gendata.jl\")\n```\nThen type\n```julia\ninclude(\"run.jl\")\n```\nin REPL.\nTwo datasets `set2.jld` and `set5.jld` will be created in `data/` folder.\nIt does not override existing files.\n\n## Run\n\nModify code in `run.jl` as\n```julia\ninclude(\"test/go.jl\")\n#include(\"test/gendata.jl\")\n```\nThen type\n```julia\ninclude(\"run.jl\")\n```\nin REPL.\n\nModify `test/go.jl` to switch dataset or change parameters.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finnerlee%2Fhalfspace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finnerlee%2Fhalfspace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finnerlee%2Fhalfspace/lists"}