{"id":17141519,"url":"https://github.com/iskandr/censored_regression","last_synced_at":"2025-07-27T14:36:41.500Z","repository":{"id":20356752,"uuid":"23631827","full_name":"iskandr/censored_regression","owner":"iskandr","description":"Linear regression with lower-bound labels","archived":false,"fork":false,"pushed_at":"2014-09-08T17:55:06.000Z","size":143,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-15T20:25:35.364Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/iskandr.png","metadata":{"files":{"readme":"README","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}},"created_at":"2014-09-03T18:16:49.000Z","updated_at":"2021-01-13T19:43:14.000Z","dependencies_parsed_at":"2022-07-25T12:34:03.203Z","dependency_job_id":null,"html_url":"https://github.com/iskandr/censored_regression","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/iskandr%2Fcensored_regression","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iskandr%2Fcensored_regression/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iskandr%2Fcensored_regression/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iskandr%2Fcensored_regression/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iskandr","download_url":"https://codeload.github.com/iskandr/censored_regression/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227598458,"owners_count":17791605,"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-14T20:25:38.552Z","updated_at":"2024-12-01T17:16:25.126Z","avatar_url":"https://github.com/iskandr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"censored_regression\n===================\n\nLinear regression with inequality constraints on some of the target values. Useful when you don't care about the specific value predicted\nfor some samples, only that's they're above some given value. \n\nImplementations for ordinary least-squares regression, as well as L1-penalized (Lasso) and L2-penalized (Ridge). \n\nExample usage:\n```\n\tmodel = censored_regression.Lasso()\n\t# C is a boolean mask indicating which targets are lower bounds\n\tmodel.fit(X,Y,C)\n\tmodel.predict(X_test)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiskandr%2Fcensored_regression","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiskandr%2Fcensored_regression","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiskandr%2Fcensored_regression/lists"}