{ "info": { "author": "David Yu (KPMG)", "author_email": "davidyjun@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "======\nwoe_iv\n======\n\n\n\n\n\n\ncaculate woe(weight of evidence) of each feature and then iv(information value).\n\n\n\nFeatures\n--------\n\n* 1 Calculation of WOE and IV\n\n def WOE(cls, data, varList, type0='Con', target_id='y', resfile='result.xlsx'):\n \"\"\"\n \u5bf9\u5206\u7c7b\u53d8\u91cf\u76f4\u63a5\u8fdb\u884c\u5206\u7ec4\u7edf\u8ba1\u5e76\u8fdb\u884cWOE\u3001IV\u503c \u8ba1\u7b97\n \u5bf9\u8fde\u7eed\u578b\u53d8\u91cf\u8fdb\u884c\u5206\u7ec4\uff08default:10\uff09\u540e\u8fdb\u884cWOE\u3001IV\u503c \u8ba1\u7b97\n :param data: pandas DataFrame, mostly refer to ABT(Analysis Basics Table)\n :param varList: variable list\n :param type0: Continuous or Discontinuous(Category), 'con' is the required input for Continuous\n :param target_id: y flag when gen the train data\n :param resfile: download path of the result file of WOE and IV\n :return: pandas DataFrame, result of woe and iv value according y flag\n \"\"\"\n pass\n\n* 2 Apply of WOE repalcement of ABT\n\n def applyWOE(cls, X_data, X_map, var_list, id_cols_list=None, flag_y=None):\n \"\"\"\n \u5c06\u6700\u4f18\u5206\u7bb1\u7684\u7ed3\u679cWOE\u503c\u5bf9\u539f\u59cb\u6570\u636e\u8fdb\u884c\u7f16\u7801\n :param X_data: pandas DataFrame, mostly refer to ABT(Analysis Basics Table)\n :param X_map: pandas dataframe, map table, result of applying WOE, refer the func woe_iv.WOE\n :param var_list: variable list\n :param id_cols_list: some other features not been analysed but wanted like id, adress, etc.\n :param flag_y: y flag when gen the train data\n :return: pandas DataFrame, result of bining with y flag\n \"\"\"\n pass\n\nCredits\n-------\n\nThis package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n\n\n=======\nHistory\n=======\n\n0.1.0 (2018-12-19)\n0.2.0 (2018-12-2l)\n------------------\n\n* First release on PyPI.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/helloourworld/woe_iv", "keywords": "woe_iv", "license": "", "maintainer": "", "maintainer_email": "", "name": "woe-iv", "package_url": "https://pypi.org/project/woe-iv/", "platform": "", "project_url": "https://pypi.org/project/woe-iv/", "project_urls": { "Homepage": "https://github.com/helloourworld/woe_iv" }, "release_url": "https://pypi.org/project/woe-iv/0.2.0/", "requires_dist": null, "requires_python": "", "summary": "caculate woe(weight of evidence) of each feature and then iv(information value).", "version": "0.2.0" }, "last_serial": 4629108, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "56c64ef6fb6a629b930c507564bac923", "sha256": "e0a052684f2a1b0aaf001d50155a62d0e1a8b4a37061e779009d35dc89240729" }, "downloads": -1, "filename": "woe_iv-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "56c64ef6fb6a629b930c507564bac923", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5254, "upload_time": "2018-12-23T08:45:50", "url": "https://files.pythonhosted.org/packages/73/5f/8e0b704264a9ecffb1f37e71469f0cbdc7c1c07415c9e19560a5c6b6dbc7/woe_iv-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cb1b492b2f5ad22e128bb11502d87df2", "sha256": "e7215d2c398fed2c747e1eaea2671e00212c1a8231344d177a7d3716ed1019b4" }, "downloads": -1, "filename": "woe_iv-0.2.0.tar.gz", "has_sig": false, "md5_digest": "cb1b492b2f5ad22e128bb11502d87df2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15490, "upload_time": "2018-12-23T08:45:52", "url": "https://files.pythonhosted.org/packages/84/99/469b3c58a657814a3117cd0c575cd6b6d58b0880762dac97fb7ec1f49aa9/woe_iv-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "56c64ef6fb6a629b930c507564bac923", "sha256": "e0a052684f2a1b0aaf001d50155a62d0e1a8b4a37061e779009d35dc89240729" }, "downloads": -1, "filename": "woe_iv-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "56c64ef6fb6a629b930c507564bac923", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5254, "upload_time": "2018-12-23T08:45:50", "url": "https://files.pythonhosted.org/packages/73/5f/8e0b704264a9ecffb1f37e71469f0cbdc7c1c07415c9e19560a5c6b6dbc7/woe_iv-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cb1b492b2f5ad22e128bb11502d87df2", "sha256": "e7215d2c398fed2c747e1eaea2671e00212c1a8231344d177a7d3716ed1019b4" }, "downloads": -1, "filename": "woe_iv-0.2.0.tar.gz", "has_sig": false, "md5_digest": "cb1b492b2f5ad22e128bb11502d87df2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15490, "upload_time": "2018-12-23T08:45:52", "url": "https://files.pythonhosted.org/packages/84/99/469b3c58a657814a3117cd0c575cd6b6d58b0880762dac97fb7ec1f49aa9/woe_iv-0.2.0.tar.gz" } ] }