Table of Contents

Load the libraries

Load the data

Train Test Split

Pure Premium Modelling : Tweedie GLM

Modelling: Product of Frequency and Severity Modelling

Lorentz Curves

Reference: https://scikit-learn.org/stable/auto_examples/linear_model/plot_tweedie_regression_insurance_claims.html#sphx-glr-auto-examples-linear-model-plot-tweedie-regression-insurance-claims-py

To compare the models, we can plot the Lorentz curve.