{
"info": {
"author": "Zhi Zhang",
"author_email": "850734033@qq.com",
"bugtrack_url": null,
"classifiers": [],
"description": "torchcluster\n============\n\n`Documentation `__ \\|\n\nTorchcluster is a python package for cluster analysis. The speed of the\nclustering algorithm has been effectively improved with the Pytorch\nbackend. We are also working on test datasets and visualization tools.\nRelated work is coming in the next release.\n\nSystem requirements\n-------------------\n\ntorchcluster should work on\n\n- all Linux distributions no earlier than Ubuntu 16.04\n- macOS X\n- Windows 10\n\ntorchcluster also requires Python 3.5 or later. Python 2 support is\ncoming.\n\nRight now, torchcluster works on `PyTorch `__\n0.4.1.\n\nInstallation\n------------\n\nUsing pip\n~~~~~~~~~\n\n::\n\n pip install torchcluster\n\nUsing anaconda\n~~~~~~~~~~~~~~\n\n::\n\n conda install -c tczhangzhi torchcluster\n\nHow torchcluster looks like\n---------------------------\n\nDefine a dataset generator and generate a dataset:\n\n::\n\n from torchcluster.dataset.simple import SimpleDataset\n\n dataset_factory = SimpleDataset(2, feature=2, sigma=2, device=device)\n dataset = dataset_factory(100)\n\nConfiguring a clustering algorithm and get your result:\n\n::\n\n from torchcluster.zoo.spectrum import SpectrumClustering\n\n cluster = SpectrumClustering(2)\n result, _ = cluster(dataset)\n\nYou can also cluster your own data sets. The dataset should be a tensor\nof n by m, where n is the number of data points in the dataset and m is\nthe dimension of each data point:\n\n::\n\n dataset = torch.cat([torch.randn(500,2) + torch.Tensor([-2,-3]), torch.randn(500,2) + torch.Tensor([2,1])])\n\nUse spectral clustering to get the following results:\n\n::\n\n tensor([0, 0, ..., 1, 1])\n\nLicense\n-------\n\n`MIT `__\n\nCopyright (c) 2019-present, Zhang Zhi",
"description_content_type": "",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/tczhangzhi/cluster",
"keywords": "pytorch",
"license": "MIT",
"maintainer": "",
"maintainer_email": "",
"name": "torchcluster",
"package_url": "https://pypi.org/project/torchcluster/",
"platform": "",
"project_url": "https://pypi.org/project/torchcluster/",
"project_urls": {
"Homepage": "https://github.com/tczhangzhi/cluster"
},
"release_url": "https://pypi.org/project/torchcluster/0.1.4/",
"requires_dist": null,
"requires_python": "",
"summary": "Torchcluster is a python package for cluster analysis.",
"version": "0.1.4"
},
"last_serial": 4932814,
"releases": {
"0.1.0": [
{
"comment_text": "",
"digests": {
"md5": "1e0b78bcafb09d302154ed47395f31f4",
"sha256": "0c65f1e8b8e44864c3f5d5f440641581099d6315786a194d841ffb5a831b2f09"
},
"downloads": -1,
"filename": "torchcluster-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "1e0b78bcafb09d302154ed47395f31f4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4331,
"upload_time": "2019-02-28T12:37:43",
"url": "https://files.pythonhosted.org/packages/be/1e/05831a317353ed3dd13bae91ff3e513ffa78de7f3d8f15b97f440cfa77bd/torchcluster-0.1.0.tar.gz"
}
],
"0.1.1": [
{
"comment_text": "",
"digests": {
"md5": "a870b2f24f2b6b3cb85db7127a263f05",
"sha256": "390db940389ce07d0e83b53b5a7aa962424b6399f6dd1f524b18b2dba34974c0"
},
"downloads": -1,
"filename": "torchcluster-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "a870b2f24f2b6b3cb85db7127a263f05",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4356,
"upload_time": "2019-03-02T14:42:16",
"url": "https://files.pythonhosted.org/packages/d2/23/3f5a5c34ce28bdc3dc84c0317482c4443d23201b9368cbfaa9cfcc818792/torchcluster-0.1.1.tar.gz"
}
],
"0.1.2": [
{
"comment_text": "",
"digests": {
"md5": "2654010fc930ae25a88345806b34c15c",
"sha256": "61ae02791d2d5eb6f18e178257fd7b09bd69511ad3c39cf1e60d58da5b4d3e35"
},
"downloads": -1,
"filename": "torchcluster-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "2654010fc930ae25a88345806b34c15c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4502,
"upload_time": "2019-03-03T05:47:47",
"url": "https://files.pythonhosted.org/packages/3d/5b/e72130f78b311a6d74b9f33b8fc3e57aa91da99edaa47459012977720b4b/torchcluster-0.1.2.tar.gz"
}
],
"0.1.3": [
{
"comment_text": "",
"digests": {
"md5": "267692188882d77a737c5b6c5f709e8f",
"sha256": "374be6ca9c32cf3c730a8778aa146163a7c0da9d2ac1dcee934811cd45c3645c"
},
"downloads": -1,
"filename": "torchcluster-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "267692188882d77a737c5b6c5f709e8f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4592,
"upload_time": "2019-03-06T07:39:51",
"url": "https://files.pythonhosted.org/packages/ed/e7/2bb13fd14e5436a9f00439f580841afd78f9f0d63f7ad036d6ed7184034e/torchcluster-0.1.3.tar.gz"
}
],
"0.1.4": [
{
"comment_text": "",
"digests": {
"md5": "48bf8cc8ec2f26026948e4c4b18ec825",
"sha256": "af97d32e7cb48075e18d3cfc9e5b7e81967b454e51d732441f461d6c10062a24"
},
"downloads": -1,
"filename": "torchcluster-0.1.4.tar.gz",
"has_sig": false,
"md5_digest": "48bf8cc8ec2f26026948e4c4b18ec825",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4659,
"upload_time": "2019-03-13T03:01:49",
"url": "https://files.pythonhosted.org/packages/cc/09/97acea1de00a69f0dbee4cbaa1661ae9152f385d280465c68b65d28a196f/torchcluster-0.1.4.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "48bf8cc8ec2f26026948e4c4b18ec825",
"sha256": "af97d32e7cb48075e18d3cfc9e5b7e81967b454e51d732441f461d6c10062a24"
},
"downloads": -1,
"filename": "torchcluster-0.1.4.tar.gz",
"has_sig": false,
"md5_digest": "48bf8cc8ec2f26026948e4c4b18ec825",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4659,
"upload_time": "2019-03-13T03:01:49",
"url": "https://files.pythonhosted.org/packages/cc/09/97acea1de00a69f0dbee4cbaa1661ae9152f385d280465c68b65d28a196f/torchcluster-0.1.4.tar.gz"
}
]
}