Skip to main content

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()

Release files for ds-pricing-framework 0.1.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ds-pricing-framework 0.1.14
File Size Uploaded
ds-pricing-framework-0.1.14.tar.gz 5.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ds-pricing-framework 0.1.14
File Interpreter ABI Platform
ds_pricing_framework-0.1.14-py3-none-any.whl Python 3 none any Details

Total release size:11.2 kB

Release files / ds-pricing-framework-0.1.14.tar.gz

Download URL ds-pricing-framework-0.1.14.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3d567331c8b29139376f29ca52e6e0f804e0fdb95730fb48ddbbb713ae165776
BLAKE2b-256 checksum
How to use checksums
ee380724aab7c2d6de621f79b870a7f8fa4a06f51b2128333e548deca2b56cf8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / ds_pricing_framework-0.1.14-py3-none-any.whl

Download URL ds_pricing_framework-0.1.14-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b498eb00043122c272cdc25c4f2f7bd84d8e4637392a8514bd6fe0a2bda73907
BLAKE2b-256 checksum
How to use checksums
108c55e32b938acfb0d59de0db3961d614cb9ee94c70052705ebb819f2022cd5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release history Release notifications | RSS feed

This release

0.1.14 This release

2 release files

0.1.13

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.4

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page