{ "info": { "author": "Allen B. Riddell", "author_email": "abr@ariddell.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering :: Information Analysis" ], "description": "horizont: Topic models in Python\n================================\n\n.. image:: https://travis-ci.org/ariddell/horizont.png\n :target: https://travis-ci.org/ariddell/horizont\n\nhorizont implements a number of topic models. Conventions from scikit-learn_ are\nfollowed.\n\nThe following models are implemented using Gibbs sampling.\n\n- Latent Dirichlet allocation (Blei et al., 2003; Pritchard et al., 2000)\n- (Coming soon) Logistic normal topic model\n- (Coming soon) Dynamic topic model (Blei and Lafferty, 2006)\n\nGetting started\n---------------\n\n``horizont.LDA`` implements latent Dirichlet allocation (LDA) using Gibbs\nsampling. The interface follows conventions in scikit-learn_.\n\n.. code-block:: python\n\n >>> import numpy as np\n >>> from horizont import LDA\n >>> X = np.array([[1,1], [2, 1], [3, 1], [4, 1], [5, 8], [6, 1]])\n >>> model = LDA(n_topics=2, random_state=0, n_iter=100)\n >>> doc_topic = model.fit_transform(X) # estimate of document-topic distributions\n >>> model.components_ # estimate of topic-word distributions\n\nRequirements\n------------\n\nPython 2.7 or Python 3.3+ is required. The following packages are also required:\n\n- numpy_\n- scipy_\n- scikit-learn_\n- futures (Python 2.7 only)\n\n`GSL `_ is required for random number\ngeneration inside the P\u00f3lya-Gamma random variate generator. On Debian-based\nsytems, GSL may be installed with the command ``sudo apt-get install\nlibgsl0-dev``. horizont looks for GSL headers and libraries in ``/usr/include``\nand ``/usr/lib/`` respectively.\n\nCython is needed if compiling from source.\n\nImportant links\n---------------\n\n- Documentation: http://pythonhosted.org/horizont\n- Source code: https://github.com/ariddell/horizont/\n- Issue tracker: https://github.com/ariddell/horizont/issues\n\nLicense\n-------\n\nhorizont is licensed under Version 3.0 of the GNU General Public License. See\nLICENSE file for a text of the license or visit\nhttp://www.gnu.org/copyleft/gpl.html.\n\n\n.. _Python: http://www.python.org/\n.. _scikit-learn: http://scikit-learn.org\n.. _MALLET: http://mallet.cs.umass.edu/\n.. _numpy: http://www.numpy.org/\n.. _scipy: http://docs.scipy.org/doc/", "description_content_type": null, "docs_url": "https://pythonhosted.org/horizont/", "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ariddell/horizont", "keywords": null, "license": "GPLv3", "maintainer": null, "maintainer_email": null, "name": "horizont", "package_url": "https://pypi.org/project/horizont/", "platform": "any", "project_url": "https://pypi.org/project/horizont/", "project_urls": { "Homepage": "https://github.com/ariddell/horizont" }, "release_url": "https://pypi.org/project/horizont/0.0.5/", "requires_dist": null, "requires_python": null, "summary": "Dynamic topic models", "version": "0.0.5" }, "last_serial": 1217348, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "090df152c86abbb442aa41e9db03b158", "sha256": "e1defce779e8050f6f19e84276141d2660e1935dee01dc6178588d0f3318dd3b" }, "downloads": -1, "filename": "horizont-0.0.1.tar.gz", "has_sig": false, "md5_digest": "090df152c86abbb442aa41e9db03b158", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2997052, "upload_time": "2013-11-02T16:02:53", "url": "https://files.pythonhosted.org/packages/1a/6b/75c40f1d87280c9189e7bf5e0d62c6c38c032a37937c8d5e83350f239dff/horizont-0.0.1.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "c7b68f75d89c3980e65e19cf9fcbff5b", "sha256": "7779af8bf8caa9da15e7ee35602e7db481b83c0c3f9dd39bfb9a8d78a5e1f9d9" }, "downloads": -1, "filename": "horizont-0.0.3.tar.gz", "has_sig": true, "md5_digest": "c7b68f75d89c3980e65e19cf9fcbff5b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 927084, "upload_time": "2014-04-26T12:19:37", "url": "https://files.pythonhosted.org/packages/75/d2/1da28044026228a19925db9179bd195714029cbc107d6a0168ca4ea56cc6/horizont-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "76d2c57fc9ed755122c57dd95b89463c", "sha256": "4fab98f57bb1069188e8b226466fbd35fab159e2326a6726dfe0e25eb669c89b" }, "downloads": -1, "filename": "horizont-0.0.4.tar.gz", "has_sig": true, "md5_digest": "76d2c57fc9ed755122c57dd95b89463c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1202418, "upload_time": "2014-09-08T16:57:11", "url": "https://files.pythonhosted.org/packages/ae/4e/6f2d081f6c2c6218fee5aeb80a6e21fb3611d90f0ff18f5d9e9887edbd3e/horizont-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "74e598d35503f699766b8a705e53eee0", "sha256": "1af2470d7524a4b15f2a1d74a07df63e5f52327a2a22f894be3c3a84af61ec7d" }, "downloads": -1, "filename": "horizont-0.0.5.tar.gz", "has_sig": true, "md5_digest": "74e598d35503f699766b8a705e53eee0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1262178, "upload_time": "2014-09-08T19:38:56", "url": "https://files.pythonhosted.org/packages/3c/9e/b2959b398b7d2b6c089ccc9a1f6f262d4df76eb79ca1576c9b7139043698/horizont-0.0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "74e598d35503f699766b8a705e53eee0", "sha256": "1af2470d7524a4b15f2a1d74a07df63e5f52327a2a22f894be3c3a84af61ec7d" }, "downloads": -1, "filename": "horizont-0.0.5.tar.gz", "has_sig": true, "md5_digest": "74e598d35503f699766b8a705e53eee0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1262178, "upload_time": "2014-09-08T19:38:56", "url": "https://files.pythonhosted.org/packages/3c/9e/b2959b398b7d2b6c089ccc9a1f6f262d4df76eb79ca1576c9b7139043698/horizont-0.0.5.tar.gz" } ] }