{ "info": { "author": "Ricardo Ocampo", "author_email": "me@ocampor.ai", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3.7", "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Scientific/Engineering :: Image Recognition" ], "description": ".. image:: https://travis-ci.com/ocampor/libsvm.svg?branch=master\n :target: https://travis-ci.com/ocampor/libsvm\n\nLibSVM\n======\n\nDescription\n-----------\n\nPre-built LibSVM packages for Python.\n\nWhat is LibSVM?\n---------------\n\nCrated by Chih-Chung Chang and Chih-Jen Lin, LIBSVM is an integrated\nsoftware for support vector classification, (C-SVC, nu-SVC), regression\n(epsilon-SVR, nu-SVR) and distribution estimation (one-class SVM). It\nsupports multi-class classification.\n\nOriginal Links\n--------------\n\n- Repository: https://github.com/cjlin1/libsvm\n- Library website: https://www.csie.ntu.edu.tw/~cjlin/libsvm\n\nPurpose of this package\n-----------------------\n\nThe idea behind this package is to use the same code as in\nhttps://github.com/cjlin1/libsvm using the very convenient pip command\n\nHow to install\n--------------\n\n::\n\n pip install libsvm\n\nExample\n-------\n\n1. Download https://github.com/cjlin1/libsvm/blob/master/heart_scale\n file.\n2. Run the following commands\n\n::\n\n >>> from libsvm.svmutil import *\n >>> y, x = svm_read_problem('path/to/heart_scale')\n >>> m = svm_train(y[:200], x[:200], '-c 4')\n *.*\n optimization finished, #iter = 257\n nu = 0.351161\n obj = -225.628984, rho = 0.636110\n nSV = 91, nBSV = 49\n Total nSV = 91\n >>> p_label, p_acc, p_val = svm_predict(y[200:], x[200:], m)\n Accuracy = 84.2857% (59/70) (classification)\n\nCopyright\n---------\n\nCopyright (c) 2000-2018 Chih-Chung Chang and Chih-Jen Lin All rights\nreserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are\nmet:\n\n1. Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\n\n3. Neither name of copyright holders nor the names of its contributors\n may be used to endorse or promote products derived from this software\n without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\\``AS IS\u2019\u2019 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\nLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\nPARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR\nCONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\nEXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\nPROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\nPROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\nLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\nNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\nMaintainer\n----------\n\n- Ricardo Ocampo `me@ocampor.ai`_\n\n.. _me@ocampor.ai: me@ocampor.ai", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ocampor/libsvm", "keywords": "", "license": "Apache 2.0", "maintainer": "", "maintainer_email": "", "name": "libsvm", "package_url": "https://pypi.org/project/libsvm/", "platform": "", "project_url": "https://pypi.org/project/libsvm/", "project_urls": { "Homepage": "https://github.com/ocampor/libsvm" }, "release_url": "https://pypi.org/project/libsvm/3.23.0/", "requires_dist": null, "requires_python": "", "summary": "Pre-built LibSVM packages for Python.", "version": "3.23.0" }, "last_serial": 5687560, "releases": { "3.23.0": [ { "comment_text": "", "digests": { "md5": "369d28336661e63632286641877e80d6", "sha256": "95f6a422ffbf1bc303f9a647184f850c814e013f25f3e9b367549bd60cd1d65d" }, "downloads": -1, "filename": "libsvm-3.23.0.tar.gz", "has_sig": false, "md5_digest": "369d28336661e63632286641877e80d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29467, "upload_time": "2019-08-16T12:52:31", "url": "https://files.pythonhosted.org/packages/ff/01/5506c690789f1d76105815d826f213ce724960851be45799d7023ed1aee7/libsvm-3.23.0.tar.gz" } ], "3.23.0-a1": [ { "comment_text": "", "digests": { "md5": "a20dbfd89e15d9608b1322a421d44ac9", "sha256": "0580df1024136175682a7f7c8114ebfa8c6ecb702e2d59b8343282cbb6691925" }, "downloads": -1, "filename": "libsvm-3.23.0-a1.tar.gz", "has_sig": false, "md5_digest": "a20dbfd89e15d9608b1322a421d44ac9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29477, "upload_time": "2019-08-15T02:10:58", "url": "https://files.pythonhosted.org/packages/3b/8a/ccabe72776cf9fffcd892bf06136646a60ffd3fd381a8759a3ffbea78856/libsvm-3.23.0-a1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "369d28336661e63632286641877e80d6", "sha256": "95f6a422ffbf1bc303f9a647184f850c814e013f25f3e9b367549bd60cd1d65d" }, "downloads": -1, "filename": "libsvm-3.23.0.tar.gz", "has_sig": false, "md5_digest": "369d28336661e63632286641877e80d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29467, "upload_time": "2019-08-16T12:52:31", "url": "https://files.pythonhosted.org/packages/ff/01/5506c690789f1d76105815d826f213ce724960851be45799d7023ed1aee7/libsvm-3.23.0.tar.gz" } ] }