{ "info": { "author": "Li Yao", "author_email": "yaol17@mails.tsinghua.edu.cn", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Science/Research", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Scientific/Engineering" ], "description": "URF: Unsupervised Random Forest\n==============================================\n\nURF (Unsupervised Random Forest, or Random Forest Clustering) is a python implementation of the paper: Shi, T., & Horvath, S. (2006). Unsupervised learning with random forest predictors. *Journal of Computational and Graphical Statistics*, 15(1), 118-138.\n\nPrerequisite\n------------\n::\n\n conda install -c bioconda pycluster\n\nor::\n\n wget http://bonsai.hgc.jp/~mdehoon/software/cluster/Pycluster-1.54.tar.gz\n tar -zxvf Pycluster-1.54.tar.gz\n cd Pycluster-1.54\n python setup.py install\n\nInstallation\n------------\n::\n\n pip install URF\n\nUsage\n-----\n::\n\n from sklearn.datasets import load_iris\n from URF.main import random_forest_cluster, plot_cluster_result\n iris = load_iris()\n X = iris.data\n y = iris.target\n print(len(list(set(y))))\n\n clf, prox_mat, cluster_ids = random_forest_cluster(X, k=3, max_depth=20, random_state=0)\n plot_cluster_result(prox_mat, cluster_ids, marker=y)\n\nIf you encountered an error like\n\n > QXcbConnection: Could not connect to display\n\nthen you need to add these codes to the very beginning of your file::\n\n import matplotlib as mpl\n mpl.use(\"Agg\")\n\nand you must assign the output file when you call `plot_cluster_result`, like this::\n\n plot_cluster_result(prox_mat, cluster_ids, marker=y, output=\"test_123.png\")", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/liyao001/URF", "keywords": "", "license": "Apache 2.0", "maintainer": "", "maintainer_email": "", "name": "URF", "package_url": "https://pypi.org/project/URF/", "platform": "", "project_url": "https://pypi.org/project/URF/", "project_urls": { "Homepage": "https://github.com/liyao001/URF" }, "release_url": "https://pypi.org/project/URF/0.0.5/", "requires_dist": null, "requires_python": "", "summary": "Unsupervised Random Forest (Random Forest Clustering)", "version": "0.0.5" }, "last_serial": 3733190, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "c38f631439bf7f421295d5c35bba8fa7", "sha256": "003b05da98ece6f7a4c46ef27ff5d165547e381886a95882abd3833cade49b0a" }, "downloads": -1, "filename": "URF-0.0.1.tar.gz", "has_sig": false, "md5_digest": "c38f631439bf7f421295d5c35bba8fa7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3343, "upload_time": "2018-03-29T11:05:57", "url": "https://files.pythonhosted.org/packages/e9/80/ff96f8c623b5e1fc2702345591ac10e29c04f39e079ad87b2fbbe66cad5b/URF-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "9f985f75607eb62e364e208e0832a0db", "sha256": "4f01389f7be783ec31fde51887c7063fa7a5896505aefccee4557233fa788136" }, "downloads": -1, "filename": "URF-0.0.2.tar.gz", "has_sig": false, "md5_digest": "9f985f75607eb62e364e208e0832a0db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3378, "upload_time": "2018-03-30T05:57:56", "url": "https://files.pythonhosted.org/packages/67/49/e035b19a515c3a1deb7d506bd5f3e7d62cb8b8648ba6967d643e769155e0/URF-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "1f209406c0b4172b4946ce160cd74790", "sha256": "d889fcdc7239d9e63e40917b1f8fc0f102c4f1073047819cd15c4a8b5686d113" }, "downloads": -1, "filename": "URF-0.0.3.tar.gz", "has_sig": false, "md5_digest": "1f209406c0b4172b4946ce160cd74790", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3630, "upload_time": "2018-04-03T11:12:15", "url": "https://files.pythonhosted.org/packages/42/af/d19e6e2a11efe90d6cece20ed7712031066a089c0f12f808efacf9c84453/URF-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "49006756cb309764974fba8c87e018d9", "sha256": "1bc0de2c6e5efc9ab728d5009fcf03f437f488a1ab5f494fd57942667cfe4beb" }, "downloads": -1, "filename": "URF-0.0.4.tar.gz", "has_sig": false, "md5_digest": "49006756cb309764974fba8c87e018d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3630, "upload_time": "2018-04-04T07:28:14", "url": "https://files.pythonhosted.org/packages/d7/1d/eb40a0a3cbdaa4d71ecc9879d79e601847b6e93432b4a469b9610284b0e2/URF-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "957f55b26b68b222a2a7b826cab43159", "sha256": "2c3cbb794dd284b0387ea28e38c3ed4137ade6488667d7adb2914a551afaf9f1" }, "downloads": -1, "filename": "URF-0.0.5.tar.gz", "has_sig": false, "md5_digest": "957f55b26b68b222a2a7b826cab43159", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3675, "upload_time": "2018-04-04T10:14:15", "url": "https://files.pythonhosted.org/packages/ba/c6/afc7d111e338acccf917daca888da4d5b36e3af32017ee26e39c7c9b89ae/URF-0.0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "957f55b26b68b222a2a7b826cab43159", "sha256": "2c3cbb794dd284b0387ea28e38c3ed4137ade6488667d7adb2914a551afaf9f1" }, "downloads": -1, "filename": "URF-0.0.5.tar.gz", "has_sig": false, "md5_digest": "957f55b26b68b222a2a7b826cab43159", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3675, "upload_time": "2018-04-04T10:14:15", "url": "https://files.pythonhosted.org/packages/ba/c6/afc7d111e338acccf917daca888da4d5b36e3af32017ee26e39c7c9b89ae/URF-0.0.5.tar.gz" } ] }