{ "info": { "author": "Boris Yakubchik", "author_email": "yboris@yahoo.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# Keras History Graph\n\nUses `matplotlib` to generate a simple graph of the history object. Particularly useful with _Jupyter_\n\nIt will show the _accuracy_ and _loss_ for both _training data_ and _validation data_.\nIt will also print the maximum _validation accuracy_ reached during the training.\n\n![Example output](https://user-images.githubusercontent.com/17264277/43170872-5ff85946-8f75-11e8-86e8-d08a0fa79f15.png)\n\n# Installation\n\n`pip install keras-hist-graph`\n\n# Usage\n\nRequires _Keras_\n\n```py\nfrom keras_hist_graph import plot_history\n\nhistory = model.fit(x, y, ...)\n\nplot_history(history)\n```\n\n# Arguments\n\n_plot_history_ now accepts any of these arguments (in any order)\n\n| argument | default | possible | details |\n| -------- | ------- | -------- | ------- |\n| fig_size | (10, 6) | (`float`, `float`) | Indicates _width_ and _height_ of the resulting graph |\n| min_accuracy | 0.5 | `[0, 1)` | Minimum accuracy to graph (often we don't care if acuracy is below 50%) |\n| smooth_factor | 0.75 | `[0, 1]` | Zero to one, inclusive. Smooths out the curves by averaging previous points. Consider makeing smaller if number of epochs is small. |\n| start_epoch | 5 | integer >= 0 | Plot the history starting at this epoch. Useful since the first epochs can have very high loss that makes the later loss hard to analyze visually |\n| xkcd | True | `True` `False` | Whether to render in the _XKCD_ style. You might need to render twice for all properties to update if you change the boolean after using the method before |\n\nExample:\n\n```py\nplot_history(history, fig_size = (11, 8.5), min_accuracy = 0.8, start_epoch = 2, smooth_factor = 0.1)\n```\n\n### Notes\n\n[Why use the XKCD style?](https://www.chrisstucchio.com/blog/2014/why_xkcd_style_graphs_are_important.html)\n\nIt\u2019s a great way to communicate the imprecision of the underlying data!\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/whyboris/keras-hist-graph", "keywords": "keras,jupyter", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "keras-hist-graph", "package_url": "https://pypi.org/project/keras-hist-graph/", "platform": "", "project_url": "https://pypi.org/project/keras-hist-graph/", "project_urls": { "Homepage": "https://github.com/whyboris/keras-hist-graph" }, "release_url": "https://pypi.org/project/keras-hist-graph/0.0.3/", "requires_dist": [ "Keras", "matplotlib" ], "requires_python": "", "summary": "Graph Keras training history object", "version": "0.0.3" }, "last_serial": 5656406, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "e0477e04e3dc42fbbe6ff22cd0b03f7f", "sha256": "c9812fbdc0174be13fdff085acbfbd61d45fee0c929489347160365fe178991d" }, "downloads": -1, "filename": "keras_hist_graph-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "e0477e04e3dc42fbbe6ff22cd0b03f7f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4235, "upload_time": "2018-08-07T20:16:58", "url": "https://files.pythonhosted.org/packages/60/37/1a5c255ba7f06ff11209aa6ffc46141a074c326352b22ca38df7385c605a/keras_hist_graph-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "30d823cc211fbe27baa7da0c92877766", "sha256": "44c9fc331fc716b78308665a48b1219287a4567736fb8c3cd4575b5f6f60a64c" }, "downloads": -1, "filename": "keras-hist-graph-0.0.1.tar.gz", "has_sig": false, "md5_digest": "30d823cc211fbe27baa7da0c92877766", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2541, "upload_time": "2018-08-07T20:16:59", "url": "https://files.pythonhosted.org/packages/db/5e/88842ff7cb15d222e96a1def8c769fbebfd8badab0a373cdf2a232fa2bf6/keras-hist-graph-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "5c7e0a7a19fbcf822c425ed1350f4eca", "sha256": "7bdfbfa036605d832f026bc2a521f711afc3342e74d42120d68317fe412bc508" }, "downloads": -1, "filename": "keras_hist_graph-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "5c7e0a7a19fbcf822c425ed1350f4eca", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4023, "upload_time": "2019-08-08T18:39:10", "url": "https://files.pythonhosted.org/packages/47/62/95d02b0db36154cfe01f57c212f25969ce137771f1695cc68ac37788dc9f/keras_hist_graph-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8451f584b057e089612929b0de19eb6f", "sha256": "4f1821d64e4de6ac090e911c4f43b2a770eaae83b9f19e22cc62a50608b9230b" }, "downloads": -1, "filename": "keras-hist-graph-0.0.2.tar.gz", "has_sig": false, "md5_digest": "8451f584b057e089612929b0de19eb6f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2702, "upload_time": "2019-08-08T18:39:11", "url": "https://files.pythonhosted.org/packages/59/26/145bda06b3f6219929e6f6861a12dbb8410027ddbbecea1bc96430330266/keras-hist-graph-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "3cb70d5e7bfba9db6a6bb367bd65bf36", "sha256": "bf3169e913485ec9f526072d31ed1d05b2d6d8f06b34cb83a95c99375384af0a" }, "downloads": -1, "filename": "keras_hist_graph-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "3cb70d5e7bfba9db6a6bb367bd65bf36", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4574, "upload_time": "2019-08-09T15:15:40", "url": "https://files.pythonhosted.org/packages/20/2f/afc4a43f0e6d8e6c344c1bdf30ea93bc2695ad7a5962ac4e22c515e933c1/keras_hist_graph-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "187429dbbc734684b54734ca2af928bc", "sha256": "57225d44bba2f04ec8c3e27f67b21aff96e1fced3a825c2f6ec52813c2291d7e" }, "downloads": -1, "filename": "keras-hist-graph-0.0.3.tar.gz", "has_sig": false, "md5_digest": "187429dbbc734684b54734ca2af928bc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3298, "upload_time": "2019-08-09T15:15:42", "url": "https://files.pythonhosted.org/packages/76/72/ce41f3496cda715bb8c5bd5ac0c5c4142a42fe8d18d90fd1cc4651cb5f2d/keras-hist-graph-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3cb70d5e7bfba9db6a6bb367bd65bf36", "sha256": "bf3169e913485ec9f526072d31ed1d05b2d6d8f06b34cb83a95c99375384af0a" }, "downloads": -1, "filename": "keras_hist_graph-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "3cb70d5e7bfba9db6a6bb367bd65bf36", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4574, "upload_time": "2019-08-09T15:15:40", "url": "https://files.pythonhosted.org/packages/20/2f/afc4a43f0e6d8e6c344c1bdf30ea93bc2695ad7a5962ac4e22c515e933c1/keras_hist_graph-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "187429dbbc734684b54734ca2af928bc", "sha256": "57225d44bba2f04ec8c3e27f67b21aff96e1fced3a825c2f6ec52813c2291d7e" }, "downloads": -1, "filename": "keras-hist-graph-0.0.3.tar.gz", "has_sig": false, "md5_digest": "187429dbbc734684b54734ca2af928bc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3298, "upload_time": "2019-08-09T15:15:42", "url": "https://files.pythonhosted.org/packages/76/72/ce41f3496cda715bb8c5bd5ac0c5c4142a42fe8d18d90fd1cc4651cb5f2d/keras-hist-graph-0.0.3.tar.gz" } ] }