ds-pricing-framework


Nameds-pricing-framework JSON
Version 0.1.8 PyPI version JSON
download
home_page
SummaryRead the latest Real Python tutorials
upload_time2023-02-01 20:34:17
maintainer
docs_urlNone
author
requires_python>=3.7
license
keywords feed reader tutorial
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # ds-pricing-framework

This package contains the following class(es):
- TriageVariable

To use the TriageVariable module, you will need to start with a pandas dataframe that has the following variables:
- ep
- il
- policy_number
- claim_indicator
- policy_gen
- age
- price_per_mile

You will also need:
- a target variable for the model (claim_indicator is the preferred variable)
- a proposed variable that you are testing, summarized at the policy level
- any variables that you would like to control for

The inputs for TriageVariable are:
- pandas dataframe
- target variable
- proposed variable
- list of control variables

Call the function run_triage which will output tables to help make a decision about the variable.

Example:
```
pip install ds-pricing-framework
import pricing_framework_triage as pf
triage = pf.TriageVariable(df, "claim_indicator", "prior_claim", ["package", "seasoning", "age_bucket"])
triage.run_triage()
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "ds-pricing-framework",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "feed,reader,tutorial",
    "author": "",
    "author_email": "Kelsey Messonnier <kelsey@just.insure>",
    "download_url": "https://files.pythonhosted.org/packages/82/b1/4fa03fe186cde1e390c090aa56a6e9abee5b76dcc08e50425c52377c21ba/ds-pricing-framework-0.1.8.tar.gz",
    "platform": null,
    "description": "# ds-pricing-framework\n\nThis package contains the following class(es):\n- TriageVariable\n\nTo use the TriageVariable module, you will need to start with a pandas dataframe that has the following variables:\n- ep\n- il\n- policy_number\n- claim_indicator\n- policy_gen\n- age\n- price_per_mile\n\nYou will also need:\n- a target variable for the model (claim_indicator is the preferred variable)\n- a proposed variable that you are testing, summarized at the policy level\n- any variables that you would like to control for\n\nThe inputs for TriageVariable are:\n- pandas dataframe\n- target variable\n- proposed variable\n- list of control variables\n\nCall the function run_triage which will output tables to help make a decision about the variable.\n\nExample:\n```\npip install ds-pricing-framework\nimport pricing_framework_triage as pf\ntriage = pf.TriageVariable(df, \"claim_indicator\", \"prior_claim\", [\"package\", \"seasoning\", \"age_bucket\"])\ntriage.run_triage()\n```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Read the latest Real Python tutorials",
    "version": "0.1.8",
    "split_keywords": [
        "feed",
        "reader",
        "tutorial"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "746c0e33225de75bfbbbafbe51759a670676a7ebe2226ac79dd82eab1c71b28f",
                "md5": "90f8bc0757582f662401cdc7df99ae7a",
                "sha256": "b70b5481b49b7689df2df657ef60f90180ab1109829ccdb261267db090ac8ea8"
            },
            "downloads": -1,
            "filename": "ds_pricing_framework-0.1.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "90f8bc0757582f662401cdc7df99ae7a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 5361,
            "upload_time": "2023-02-01T20:34:15",
            "upload_time_iso_8601": "2023-02-01T20:34:15.781170Z",
            "url": "https://files.pythonhosted.org/packages/74/6c/0e33225de75bfbbbafbe51759a670676a7ebe2226ac79dd82eab1c71b28f/ds_pricing_framework-0.1.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "82b14fa03fe186cde1e390c090aa56a6e9abee5b76dcc08e50425c52377c21ba",
                "md5": "a6e6982c954b4b8186cfa55e38ef5228",
                "sha256": "e954dd64d172b1b16b07ae0afc2a15f99d2dde4acd1727ad7481adaddb170d6c"
            },
            "downloads": -1,
            "filename": "ds-pricing-framework-0.1.8.tar.gz",
            "has_sig": false,
            "md5_digest": "a6e6982c954b4b8186cfa55e38ef5228",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 4598,
            "upload_time": "2023-02-01T20:34:17",
            "upload_time_iso_8601": "2023-02-01T20:34:17.487467Z",
            "url": "https://files.pythonhosted.org/packages/82/b1/4fa03fe186cde1e390c090aa56a6e9abee5b76dcc08e50425c52377c21ba/ds-pricing-framework-0.1.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-02-01 20:34:17",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "ds-pricing-framework"
}
        
Elapsed time: 0.04497s