{ "info": { "author": "Sergey Rubinsky, Alexander Lashkov, Polina Eistrikh-Heller", "author_email": "alashkov83@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved", "Operating System :: MacOS", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Topic :: Scientific/Engineering", "Topic :: Software Development" ], "description": "# CDbw\nCompute the S_Dbw validity index \nS_Dbw validity index is defined by equation:\n##### CDbw = compactness\\*cohesion*separation\n**Highest value -> better clustering.**\n______________________________________________\n\n#### Installation:\n\n```shell\npip install --upgrade cdbw\n```\n\n### Usage:\n\n```python\nfrom cdbw import CDbw\nscore = CDbw(X, labels, metric=\"euclidean\", alg_noise='comb', \n intra_dens_inf=False, s=3, multipliers=False)\n\n```\n\n### Parameters:\n X : array-like, shape (n_samples, n_features)\n List of n_features-dimensional data points. Each row corresponds\n to a single data point.\n labels : array-like, shape (n_samples,)\n Predicted labels for each sample. (-1 - for noise)\n metric : str,\n The distance metric, can be \u2018braycurtis\u2019, \u2018canberra\u2019, \u2018chebyshev\u2019, \u2018cityblock\u2019, \u2018correlation\u2019,\n \u2018cosine\u2019, \u2018dice\u2019, \u2018euclidean\u2019, \u2018hamming\u2019, \u2018jaccard\u2019, \u2018kulsinski\u2019, \u2018mahalanobis\u2019, \u2018matching\u2019, \u2018minkowski\u2019,\n \u2018rogerstanimoto\u2019, \u2018russellrao\u2019, \u2018seuclidean\u2019, \u2018sokalmichener\u2019, \u2018sokalsneath\u2019, \u2018sqeuclidean\u2019, \u2018wminkowski\u2019,\n \u2018yule\u2019.\n alg_noise : str,\n Algorithm for recording noise points.\n 'comb' - combining all noise points into one cluster (default)\n 'sep' - definition of each noise point as a separate cluster\n 'bind' - binding of each noise point to the cluster nearest from it\n 'filter' - filtering noise points\n intra_dens_inf : bool,\n If False (default) CDbw index = 0 for cohesion or compactness - inf or nan.\n s : int,\n Number of art representative points. (>2)\n multipliers : bool,\n Format of output. False (default) - only CDbw index, True - tuple (compactness, cohesion, separation, CDbw)\n\n### Returns:\n cdbw : float,\n The resulting CDbw validity index.\n\nReferences:\n-----------\n1. M. Halkidi and M. Vazirgiannis, \u201cA density-based cluster validity approach using multi-representatives\u201d\n Pattern Recognition Letters 29 (2008) 773\u2013786.\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/alashkov83/CDbw", "keywords": "clustering,cluster analysis,cluster validation", "license": "MIT License", "maintainer": "Alexander Lashkov", "maintainer_email": "", "name": "cdbw", "package_url": "https://pypi.org/project/cdbw/", "platform": "any", "project_url": "https://pypi.org/project/cdbw/", "project_urls": { "Homepage": "https://github.com/alashkov83/CDbw" }, "release_url": "https://pypi.org/project/cdbw/0.2/", "requires_dist": [ "scipy", "numpy (>=1.14.2)" ], "requires_python": ">=2.7", "summary": "Compute the CDbw validity index", "version": "0.2" }, "last_serial": 4987265, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "89eb3acce6f6e3af8e6801811f902726", "sha256": "1c93f6871dbbb15dc3346aa45529e7af59647e1334da6db9fa3ff5dae463433a" }, "downloads": -1, "filename": "cdbw-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "89eb3acce6f6e3af8e6801811f902726", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7", "size": 7352, "upload_time": "2019-02-05T06:45:25", "url": "https://files.pythonhosted.org/packages/a9/83/c5f7fc84a80dd5268ab249b72e18d789a1226b951b21862e2143950c0eea/cdbw-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "57c0156b372270535882ccd8053aa3c6", "sha256": "978aac68d88313f752b9a896e307b3515d59cbc0bf8028e4cd198a7068dd162d" }, "downloads": -1, "filename": "cdbw-0.1.tar.gz", "has_sig": false, "md5_digest": "57c0156b372270535882ccd8053aa3c6", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 7676, "upload_time": "2019-02-05T06:45:27", "url": "https://files.pythonhosted.org/packages/20/c8/5d3f2eb98881ccfcc42898cf13b90cd4d1fb22dcc01c1ff268ea82a1cdf7/cdbw-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "142987e7dd78e5182f7df5b5f8fb658e", "sha256": "4b4be00dfae7911bebfd72416584dfbc9d21674ee2447898a71bbd2330db4089" }, "downloads": -1, "filename": "cdbw-0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "142987e7dd78e5182f7df5b5f8fb658e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7", "size": 8007, "upload_time": "2019-03-26T11:47:07", "url": "https://files.pythonhosted.org/packages/18/b7/690e4758d06446b235fee7e7f6b1ef1cded365e78eb09925bda0906c41d8/cdbw-0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fcb910d39b970a186582070df9351cd9", "sha256": "616c6d29bbff01e5695588229527ce271c9fe1fef671515bc823b8244d50f161" }, "downloads": -1, "filename": "cdbw-0.2.tar.gz", "has_sig": false, "md5_digest": "fcb910d39b970a186582070df9351cd9", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 8629, "upload_time": "2019-03-26T11:47:10", "url": "https://files.pythonhosted.org/packages/15/49/5e1751cd8eeeba37f306ec1c4b4b0f6f1be8c4021e8c3b58c0559b5d2232/cdbw-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "142987e7dd78e5182f7df5b5f8fb658e", "sha256": "4b4be00dfae7911bebfd72416584dfbc9d21674ee2447898a71bbd2330db4089" }, "downloads": -1, "filename": "cdbw-0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "142987e7dd78e5182f7df5b5f8fb658e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7", "size": 8007, "upload_time": "2019-03-26T11:47:07", "url": "https://files.pythonhosted.org/packages/18/b7/690e4758d06446b235fee7e7f6b1ef1cded365e78eb09925bda0906c41d8/cdbw-0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fcb910d39b970a186582070df9351cd9", "sha256": "616c6d29bbff01e5695588229527ce271c9fe1fef671515bc823b8244d50f161" }, "downloads": -1, "filename": "cdbw-0.2.tar.gz", "has_sig": false, "md5_digest": "fcb910d39b970a186582070df9351cd9", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 8629, "upload_time": "2019-03-26T11:47:10", "url": "https://files.pythonhosted.org/packages/15/49/5e1751cd8eeeba37f306ec1c4b4b0f6f1be8c4021e8c3b58c0559b5d2232/cdbw-0.2.tar.gz" } ] }