ds-pricing-framework-0.1.9
توضیحات
Read the latest Real Python tutorials
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | ds-pricing-framework-0.1.9 |
| نام | ds-pricing-framework |
| نسخه کتابخانه | 0.1.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Kelsey Messonnier <kelsey@just.insure> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/ds-pricing-framework/ |
| مجوز | - |
# 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()
```
نیازمندی
| مقدار | نام |
|---|---|
| - | pandas |
| - | statsmodels |
| - | tabulate |
| - | numpy |
| - | matplotlib |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl ds-pricing-framework-0.1.9:
pip install ds-pricing-framework-0.1.9.whl
نصب پکیج tar.gz ds-pricing-framework-0.1.9:
pip install ds-pricing-framework-0.1.9.tar.gz