{ "info": { "author": "Fabian Pedregosa", "author_email": "f@bianp.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: BSD License", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Software Development" ], "description": ".. image:: https://travis-ci.org/fabianp/gdprox.svg?branch=master\n :target: https://travis-ci.org/fabianp/gdprox\n\ngdprox, proximal gradient-descent algorithms\n============================================\n\nImplements the proximal gradient-descent algorithm for composite objective functions, i.e. functions of the form :code:`f(x) + g(x)`, where f is a smooth function and g is a possibly non-smooth function for which the proximal operator is known. \n\nThe main function in this package is :code:`gdprox.fmin_cgprox`. This function follows a similar interface than the functions in :code:`scipy.optimize`. The definition of this function is:\n\n\n.. code-block:: python\n\n\tdef fmin_cgprox(f, fprime, g_prox, x0, rtol=1e-6,\n\t maxiter=1000, verbose=0, default_step_size=1.):\n\t \"\"\"\n\t proximal gradient-descent solver for optimization problems of the form\n\n\t minimize_x f(x) + g(x)\n\n\t where f is a smooth function and g is a (possibly non-smooth)\n\t function for which the proximal operator is known.\n\n\t Parameters\n\t ----------\n\t f : callable\n\t f(x) returns the value of f at x.\n\n\t f_prime : callable\n\t f_prime(x) returns the gradient of f.\n\n\t g_prox : callable of the form g_prox(x, alpha)\n\t g_prox(x, alpha) returns the proximal operator of g at x\n\t with parameter alpha.\n\n\t x0 : array-like\n\t Initial guess\n\n\t maxiter : int\n\t Maximum number of iterations.\n\n\t verbose : int\n\t Verbosity level, from 0 (no output) to 2 (output on each iteration)\n\n\t default_step_size : float\n\t Starting value for the line-search procedure.\n\n\t Returns\n\t -------\n\t res : OptimizeResult\n\t The optimization result represented as a\n\t ``scipy.optimize.OptimizeResult`` object. Important attributes are:\n\t ``x`` the solution array, ``success`` a Boolean flag indicating if\n\t the optimizer exited successfully and ``message`` which describes\n\t the cause of the termination. See `scipy.optimize.OptimizeResult`\n\t for a description of other attributes.\n\t \"\"\"", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/gdprox", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "gdprox", "package_url": "https://pypi.org/project/gdprox/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/gdprox/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/gdprox" }, "release_url": "https://pypi.org/project/gdprox/0.3/", "requires_dist": null, "requires_python": null, "summary": "UNKNOWN", "version": "0.3" }, "last_serial": 1836316, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "cfa7e16bd882d8487c9320182ea390aa", "sha256": "d47c54e62485d9f47a7fb80954c5b5217f0290e6899648af2ecd9f1d487f46b1" }, "downloads": -1, "filename": "gdprox-0.1.tar.gz", "has_sig": false, "md5_digest": "cfa7e16bd882d8487c9320182ea390aa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2636, "upload_time": "2015-11-18T12:27:04", "url": "https://files.pythonhosted.org/packages/93/56/2d37878561c98972f0c8d1b024f21cf9f3f42d218569ddeae3a07c235823/gdprox-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "d3f775ad3263db1e3d7694affdc446fa", "sha256": "8954f53016bb2dca28c0d46eea30ea6e302801ed3f5c02d7e10ff6055afc8b31" }, "downloads": -1, "filename": "gdprox-0.2.tar.gz", "has_sig": false, "md5_digest": "d3f775ad3263db1e3d7694affdc446fa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2698, "upload_time": "2015-11-19T10:22:52", "url": "https://files.pythonhosted.org/packages/72/89/75a07892e395f9541038bea0e8fb8c2d93379e98844dacdb64823c49a295/gdprox-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "e5a3d3496e9d37570a6554829fe99eba", "sha256": "7f077fd7c5f377c5aa34a0ec90cf1d7d2f7efe39e02061eb3b474130134498b4" }, "downloads": -1, "filename": "gdprox-0.3.tar.gz", "has_sig": false, "md5_digest": "e5a3d3496e9d37570a6554829fe99eba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2756, "upload_time": "2015-11-27T14:26:38", "url": "https://files.pythonhosted.org/packages/ae/61/3bb674f1c63ee9bf3b27929c00bf4563d3a82c4b267ad3f4d117555f4d10/gdprox-0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e5a3d3496e9d37570a6554829fe99eba", "sha256": "7f077fd7c5f377c5aa34a0ec90cf1d7d2f7efe39e02061eb3b474130134498b4" }, "downloads": -1, "filename": "gdprox-0.3.tar.gz", "has_sig": false, "md5_digest": "e5a3d3496e9d37570a6554829fe99eba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2756, "upload_time": "2015-11-27T14:26:38", "url": "https://files.pythonhosted.org/packages/ae/61/3bb674f1c63ee9bf3b27929c00bf4563d3a82c4b267ad3f4d117555f4d10/gdprox-0.3.tar.gz" } ] }