{ "info": { "author": "sirbiscuit", "author_email": "", "bugtrack_url": null, "classifiers": [], "description": "outerspace\n==========\n\nAn interactive widget for Jupyter notebooks to explore the parameters of t-SNE\nor UMAP.\n\n![outerspace demo](demo.gif)\n\nInstallation\n------------\n\n```bash\npip install outerspace\n```\n\nAdditionally, if you use `jupyter notebook`:\n```bash\njupyter nbextension enable --py widgetsnbextension\n```\n\n... or for `jupyter lab`:\n```bash\njupyter labextension install @jupyter-widgets/jupyterlab-manager\njupyter labextension install jupyterlab_bokeh\n```\n\nUsage\n-----\n\nRun t-SNE on the digits data set (see result in the image above):\n\n```python\nfrom outerspace import tsne_playground\nfrom sklearn.datasets import load_digits\ndigits = load_digits()\nX, y = digits.data, digits.target\ntsne_playground(X, y)\n```\n\nShow the actual digit images in a tooltip:\n\n```python\nfrom outerspace import tsne_playground, array2d_to_html_img\nfrom sklearn.datasets import load_digits\n\ndigits = load_digits()\nX, y, images = digits.data, digits.target, digits.images\n\nimages = 256 - images * 16 # convert range and invert\nimages = images.clip(0, 255) # clip values at 255\nimages = images.astype('uint8') # convert to uint8\nimages = [array2d_to_html_img(image, resize=(32,32))\n for image in images] # convert to HTML images\n\ntsne_playground(X, y,\n additional_columns=dict(images=images),\n tooltips='@images{safe}') # safe = do not escape HTML\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/sirbiscuit/outerspace", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "outerspace", "package_url": "https://pypi.org/project/outerspace/", "platform": "", "project_url": "https://pypi.org/project/outerspace/", "project_urls": { "Homepage": "https://github.com/sirbiscuit/outerspace" }, "release_url": "https://pypi.org/project/outerspace/0.2.3/", "requires_dist": null, "requires_python": "", "summary": "", "version": "0.2.3" }, "last_serial": 5994803, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "96baa87561a9d330874b052af0f90f7a", "sha256": "f56c2b4d1ce1c3a94657c2664b0c47d54e85b59e6dc9ce33d1534260482eb325" }, "downloads": -1, "filename": "outerspace-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "96baa87561a9d330874b052af0f90f7a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7694, "upload_time": "2019-06-23T08:35:47", "url": "https://files.pythonhosted.org/packages/af/59/40855080a9e552237358b053b222c17b646bbee59d11f739108b39bfcf76/outerspace-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "19a67c11ba08e2a06eea7c0e09b848b2", "sha256": "5ff2bdd0212dec017f8dbe9ba11b6f2b1dc7d55ca81b830b623ed26dda433391" }, "downloads": -1, "filename": "outerspace-0.1.0.tar.gz", "has_sig": false, "md5_digest": "19a67c11ba08e2a06eea7c0e09b848b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6123, "upload_time": "2019-06-23T08:35:50", "url": "https://files.pythonhosted.org/packages/be/c0/eae6bb3a133858d0fdf23cfd2cbb1b8cacc4a4bd87715dbe7083dea02641/outerspace-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "16e5a5539dedc1c1b9c93c2c83ae9bef", "sha256": "0c27eed6c588607fba2709ee8706251bc0b72d1991d548d38490ce16fa097385" }, "downloads": -1, "filename": "outerspace-0.1.1.tar.gz", "has_sig": false, "md5_digest": "16e5a5539dedc1c1b9c93c2c83ae9bef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6766, "upload_time": "2019-07-31T12:33:10", "url": "https://files.pythonhosted.org/packages/ab/35/b811e88904c919e967db73c6d6af0092e9a44c981c9e9c36024e05307df8/outerspace-0.1.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "469db184834827c2848810f16e0bb792", "sha256": "42a0a20921a27da9247ec183a8cfe933f301e295ed255eb73508546459aa5d29" }, "downloads": -1, "filename": "outerspace-0.2.2.tar.gz", "has_sig": false, "md5_digest": "469db184834827c2848810f16e0bb792", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11020, "upload_time": "2019-10-18T09:46:43", "url": "https://files.pythonhosted.org/packages/1f/f0/58d53a17f20b2f44d16d326a2501d5277e277682146d7a631bb5dd3609ae/outerspace-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "0c6877ad7c4f3c15303be93e1ce4dda0", "sha256": "4660cc7700f1542a49828a710c023daa9be9a207d4b3839ec9f013e27499137b" }, "downloads": -1, "filename": "outerspace-0.2.3.tar.gz", "has_sig": false, "md5_digest": "0c6877ad7c4f3c15303be93e1ce4dda0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11028, "upload_time": "2019-10-18T10:00:47", "url": "https://files.pythonhosted.org/packages/5b/33/9e1452786e9e5ae49579502e7b270ea52547b9109e0c62eefb22e4f13732/outerspace-0.2.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0c6877ad7c4f3c15303be93e1ce4dda0", "sha256": "4660cc7700f1542a49828a710c023daa9be9a207d4b3839ec9f013e27499137b" }, "downloads": -1, "filename": "outerspace-0.2.3.tar.gz", "has_sig": false, "md5_digest": "0c6877ad7c4f3c15303be93e1ce4dda0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11028, "upload_time": "2019-10-18T10:00:47", "url": "https://files.pythonhosted.org/packages/5b/33/9e1452786e9e5ae49579502e7b270ea52547b9109e0c62eefb22e4f13732/outerspace-0.2.3.tar.gz" } ] }