{ "info": { "author": "Yu Umegaki", "author_email": "yu.umegaki@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "All rights reserved.\n\nRedistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\n\nRedistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\nRedistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\nDescription: GroupLasso\n ========================\n \n Group Lasso package for Python.\n \n \n ## Installation Guide\n \n Run the following commands:\n \n ```\n git clone https://github.com/AnchorBlues/GroupLasso.git\n cd GroupLasso\n python setup.py install\n ```\n \n ## Getting started\n Here is the `GroupLassoRegressor` model:\n \n ```python\n from grouplasso import GroupLassoRegressor\n ```\n \n Create sample dataset:\n ```python\n import numpy as np\n np.random.seed(0)\n X = np.random.randn(10, 3)\n # target variable is strongly correlated with 0th feature.\n y = X[:, 0] + np.random.randn(10) * 0.1\n ```\n \n Set group_ids, which specify group membership:\n ```python\n # 0th feature and 1st feature are the same group.\n group_ids = np.array([0, 0, 1])\n ```\n \n You can now train Group Lasso:\n ```python\n model = GroupLassoRegressor(group_ids=group_ids, random_state=42, verbose=False, alpha=1e-1)\n model.fit(X, y)\n ```\n \n Note that all the members of a particular group are either selected(`coef_ != 0`) or not selected(`coef_ == 0`).\n ```python\n model.coef_\n # array([ 0.84795715, -0.01193528, -0. ])\n ```\n \nPlatform: UNKNOWN\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/AnchorBlues/GroupLasso", "keywords": "", "license": "Copyright (c) 2018, Yu Umegaki", "maintainer": "", "maintainer_email": "", "name": "GroupLasso", "package_url": "https://pypi.org/project/GroupLasso/", "platform": "", "project_url": "https://pypi.org/project/GroupLasso/", "project_urls": { "Homepage": "https://github.com/AnchorBlues/GroupLasso" }, "release_url": "https://pypi.org/project/GroupLasso/0.1.0/", "requires_dist": null, "requires_python": "", "summary": "Group Lasso package for Python", "version": "0.1.0" }, "last_serial": 4627057, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "b310b8de558ce8b27da212908e91369d", "sha256": "28ca52ebf9059f15d6b4dde5ec01d95977cb052f3e7014edd06a711be985ff97" }, "downloads": -1, "filename": "GroupLasso-0.1.0-py3.6.egg", "has_sig": false, "md5_digest": "b310b8de558ce8b27da212908e91369d", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 18786, "upload_time": "2018-12-22T02:39:39", "url": "https://files.pythonhosted.org/packages/cf/5c/4dbb772b400d999800d521e58f348f5985f2e083fbff6d022df4dfeef6f0/GroupLasso-0.1.0-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "3f510ecc2ccdfe5aa40d6ceb61cd19ca", "sha256": "5d49ab21d86b22f4303a3a87a92213546811dbc97d0018f4f979a09d3c6d7af3" }, "downloads": -1, "filename": "GroupLasso-0.1.0.tar.gz", "has_sig": false, "md5_digest": "3f510ecc2ccdfe5aa40d6ceb61cd19ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4915, "upload_time": "2018-12-22T02:39:41", "url": "https://files.pythonhosted.org/packages/79/f1/c409e0cb40998f9765ecec67f2c943035fe88ac57f38180314feb8f97af9/GroupLasso-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b310b8de558ce8b27da212908e91369d", "sha256": "28ca52ebf9059f15d6b4dde5ec01d95977cb052f3e7014edd06a711be985ff97" }, "downloads": -1, "filename": "GroupLasso-0.1.0-py3.6.egg", "has_sig": false, "md5_digest": "b310b8de558ce8b27da212908e91369d", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 18786, "upload_time": "2018-12-22T02:39:39", "url": "https://files.pythonhosted.org/packages/cf/5c/4dbb772b400d999800d521e58f348f5985f2e083fbff6d022df4dfeef6f0/GroupLasso-0.1.0-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "3f510ecc2ccdfe5aa40d6ceb61cd19ca", "sha256": "5d49ab21d86b22f4303a3a87a92213546811dbc97d0018f4f979a09d3c6d7af3" }, "downloads": -1, "filename": "GroupLasso-0.1.0.tar.gz", "has_sig": false, "md5_digest": "3f510ecc2ccdfe5aa40d6ceb61cd19ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4915, "upload_time": "2018-12-22T02:39:41", "url": "https://files.pythonhosted.org/packages/79/f1/c409e0cb40998f9765ecec67f2c943035fe88ac57f38180314feb8f97af9/GroupLasso-0.1.0.tar.gz" } ] }