{ "info": { "author": "Ezinne Nwankwo and Jennifer Wilson", "author_email": "enwankwo17@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "## Installation Instructions\n\nRun following code in terminal: \npython3 -m pip install bayesHC1\n\nThen import package and load cython as follows: \nimport bayesHC1\n\n## Documentation\nbayesHC.bayes_hier_clust(data_vec, alpha, alpha0, beta, kappa, mu)\n\nGiven a tuple of datapoints, build a hierarchical cluster tree. Algorithm will continue merging clusters until there is only one overarching cluster. This algorithm is recommended for clustering $<$23 observations.\n\nParameters:\n alpha : the expected number of clusters\n\n alpha0 : scale hyperparameter for gamma prior \n\n beta : location hyperparameter for gamma prior \n\n kappa : precision hyperparameter for normal prior\n\n mu : mean hyperparameer for normal prior\n\n\n\nReturns:nested tuple\n\nReturns a tuple with the following structure:\n cluster = (c_num,left,right,value,n_k,p_k,d_k)\n\n Where:\n c_num : the number of the cluster\n left : the entire cluster tuple for one subcluster\n right : the entire cluster tuple for the other subcluster\n value : all data values included in the cluster\n n_k : number of datapoints in the cluster\n p_k : the prior on merging\n d_k : a weight on the volume of data in pairs of clusters on the subtree T_k\n\n\n## Example\n\n<<>>z[1]\n(4, 0, 0, [24.649825190000001], 1, 1, 2.0)\n\n\n\nLast updated on April 30, 2019. \n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Jennifer2010/STA-663-Bayesian-Hierarchical-Clustering.git", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "bayesHC1", "package_url": "https://pypi.org/project/bayesHC1/", "platform": "", "project_url": "https://pypi.org/project/bayesHC1/", "project_urls": { "Homepage": "https://github.com/Jennifer2010/STA-663-Bayesian-Hierarchical-Clustering.git" }, "release_url": "https://pypi.org/project/bayesHC1/0.0.1/", "requires_dist": null, "requires_python": "", "summary": "A package for Bayesian Hierarchical Clustering", "version": "0.0.1" }, "last_serial": 5210906, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "0653396f6634cdca07788522a2d32be7", "sha256": "8ce4630c5de195d0407a75c7bef561da36c0acc7b56f0ca2b26a0d01b60bf214" }, "downloads": -1, "filename": "bayesHC1-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "0653396f6634cdca07788522a2d32be7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5276, "upload_time": "2019-05-01T00:32:58", "url": "https://files.pythonhosted.org/packages/21/1e/8d10b5dc233af8712d43be77ac12fe1ec18843ce3ef672ccfaebf94d450c/bayesHC1-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "94af08679c344841015c97e82f218b69", "sha256": "868d84080ed5abcc96897300959af7959c9c5bc9004e0df9a8947ad69d936e0e" }, "downloads": -1, "filename": "bayesHC1-0.0.1.tar.gz", "has_sig": false, "md5_digest": "94af08679c344841015c97e82f218b69", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4386, "upload_time": "2019-05-01T00:33:04", "url": "https://files.pythonhosted.org/packages/e1/84/8dea75673d3141002e5188a7a65526ffef9379dd24a1862b789e05e4bfef/bayesHC1-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0653396f6634cdca07788522a2d32be7", "sha256": "8ce4630c5de195d0407a75c7bef561da36c0acc7b56f0ca2b26a0d01b60bf214" }, "downloads": -1, "filename": "bayesHC1-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "0653396f6634cdca07788522a2d32be7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5276, "upload_time": "2019-05-01T00:32:58", "url": "https://files.pythonhosted.org/packages/21/1e/8d10b5dc233af8712d43be77ac12fe1ec18843ce3ef672ccfaebf94d450c/bayesHC1-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "94af08679c344841015c97e82f218b69", "sha256": "868d84080ed5abcc96897300959af7959c9c5bc9004e0df9a8947ad69d936e0e" }, "downloads": -1, "filename": "bayesHC1-0.0.1.tar.gz", "has_sig": false, "md5_digest": "94af08679c344841015c97e82f218b69", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4386, "upload_time": "2019-05-01T00:33:04", "url": "https://files.pythonhosted.org/packages/e1/84/8dea75673d3141002e5188a7a65526ffef9379dd24a1862b789e05e4bfef/bayesHC1-0.0.1.tar.gz" } ] }