towardsinnovationlab commited on
Commit
2e4aac0
·
verified ·
1 Parent(s): ba276f2

Delete prompt_dataset_generation_D1_80.txt

Browse files
Files changed (1) hide show
  1. prompt_dataset_generation_D1_80.txt +0 -130
prompt_dataset_generation_D1_80.txt DELETED
@@ -1,130 +0,0 @@
1
- Prompt D1 80
2
-
3
- context: you are an expert actuarial data scientist with 20 Years of experience.
4
- task: You are involved in a project to build synthetic datasets for the non-life insurance field.
5
- request: please, generate 53320 rows of a synthetic dataset and save in a csv file with the following characteristics
6
-
7
-
8
- I retrieved features from the dataset
9
-
10
- 1) columns and datatypes
11
- Exposure float64
12
- VehValue float64
13
- VehAge object
14
- VehBody object
15
- Gender object
16
- DrivAge object
17
- ClaimOcc int64
18
- ClaimNb int64
19
- ClaimAmount float64
20
-
21
- 2) distribution of categorical columns
22
-
23
- count unique top freq
24
- VehAge 53320 4 old cars 15748
25
- VehBody 53320 13 Sedan 17524
26
- Gender 53320 2 Female 30331
27
- DrivAge 53320 6 older work. people 12668
28
-
29
-
30
- 3) classes of categorical variables
31
- Unique classes in 'VehAge': ['old cars' 'young cars' 'oldest cars' 'youngest cars']
32
- Unique classes in 'VehBody': ['Hatchback' 'Utility' 'Station wagon' 'Hardtop' 'Panel van' 'Sedan'
33
- 'Truck' 'Coupe' 'Minibus' 'Motorized caravan' 'Bus' 'Convertible'
34
- 'Roadster']
35
- Unique classes in 'Gender': ['Female' 'Male']
36
- Unique classes in 'DrivAge': ['young people' 'older work. people' 'oldest people' 'working people'
37
- 'old people' 'youngest people']
38
-
39
- 4) distribution of numerical variables
40
-
41
- count mean std min 25% 50% 75% max
42
- Exposure 53320.0 0.466535 0.288448 0.002738 0.21629 0.443532 0.706366 0.999316
43
- VehValue 53320.0 1.784108 1.217545 0.000000 1.01000 1.500000 2.160000 34.560000
44
- ClaimOcc 53320.0 0.069449 0.254218 0.000000 0.00000 0.000000 0.000000 1.000000
45
- ClaimNb 53320.0 0.074194 0.280946 0.000000 0.00000 0.000000 0.000000 4.000000
46
- ClaimAmount 53320.0 136.092076 1004.945014 0.000000 0.00000 0.000000 0.000000 46868.1799
47
-
48
-
49
- 5) few examples of rows are here
50
-
51
- Exposure VehValue VehAge VehBody Gender DrivAge ClaimOcc ClaimNb ClaimAmount
52
- 0 0.588638 2.370 old cars Station wagon Female working people 0 0 0.000000
53
- 1 0.539357 0.740 oldest cars Sedan Female older work. people 0 0 0.000000
54
- 2 0.941821 2.110 young cars Sedan Male older work. people 0 0 0.000000
55
- 3 0.087611 2.610 youngest cars Station wagon Female young people 0 0 0.000000
56
- 4 0.999316 0.000 oldest cars Bus Male oldest people 1 1 490.910000
57
- 5 0.095825 9.800 young cars Convertible Male young people 0 0 0.000000
58
- 6 0.106776 1.440 old cars Coupe Female working people 0 0 0.000000
59
- 7 0.624230 2.070 old cars Hardtop Female older work. people 1 1 353.770000
60
- 8 0.396988 1.549 youngest cars Hatchback Female youngest people 0 0 0.000000
61
- 9 0.114990 2.980 old cars Minibus Female working people 0 0 0.000000
62
- 10 0.999316 17.000 youngest cars Motorized caravan Female oldest people 0 0 0.000000
63
- 11 0.944559 3.230 young cars Panel van Male youngest people 1 1 2639.439995
64
- 12 0.060233 3.670 youngest cars Roadster Male young people 0 0 0.000000
65
- 13 0.561259 1.070 oldest cars Sedan Male old people 0 0 0.000000
66
- 14 0.922656 4.470 youngest cars Station wagon Female young people 1 1 353.770000
67
- 15 0.052019 2.520 old cars Truck Male working people 0 0 0.000000
68
- 16 0.199863 2.100 old cars Utility Female old people 0 0 0.000000
69
- 17 0.227242 0.500 oldest cars Station wagon Female old people 0 0 0.000000
70
- 18 0.602327 1.360 youngest cars Hatchback Female older work. people 0 0 0.000000
71
- 19 0.522930 0.390 oldest cars Sedan Female oldest people 0 0 0.000000
72
- 20 0.509240 0.440 oldest cars Minibus Female working people 0 0 0.000000
73
- 21 0.076660 3.520 young cars Truck Female young people 0 0 0.000000
74
- 22 0.344969 1.490 young cars Hatchback Female youngest people 0 0 0.000000
75
- 23 0.386037 1.350 youngest cars Hatchback Female older work. people 0 0 0.000000
76
- 24 0.347707 2.880 young cars Utility Male working people 0 0 0.000000
77
- 25 0.624230 3.090 old cars Station wagon Male old people 1 1 866.820000
78
- 26 0.528405 1.030 old cars Hatchback Female working people 1 1 4945.919998
79
- 27 0.720055 1.100 young cars Hatchback Female working people 1 1 1604.730000
80
- 28 0.607803 2.120 youngest cars Sedan Female working people 1 1 567.150000
81
- 29 0.772074 2.200 youngest cars Hatchback Female young people 1 1 353.770000
82
- 30 0.626968 2.700 young cars Station wagon Male working people 1 1 353.770000
83
- 31 0.635181 0.650 oldest cars Sedan Female older work. people 1 1 200.000000
84
- 32 0.928131 3.770 young cars Station wagon Male young people 1 1 520.730000
85
- 33 0.468172 1.790 young cars Sedan Male old people 1 1 964.000000
86
- 34 0.490075 0.910 old cars Hatchback Female working people 1 1 1266.709999
87
- 35 0.911704 2.050 oldest cars Station wagon Male old people 1 3 6510.209987
88
- 36 0.520192 0.710 oldest cars Hatchback Female young people 1 3 2453.269997
89
- 37 0.668036 1.330 young cars Truck Male young people 1 3 3097.859996
90
- 38 0.731006 1.300 youngest cars Hatchback Female young people 1 3 1884.479999
91
- 39 0.657084 0.740 oldest cars Sedan Female working people 1 3 2351.829998
92
- 40 0.980151 1.210 old cars Sedan Male oldest people 1 3 8990.809998
93
- 41 0.703628 0.720 oldest cars Hatchback Male youngest people 1 3 2677.663635
94
- 42 0.887064 1.000 oldest cars Utility Male older work. people 1 3 4054.109993
95
- 43 0.613279 1.800 young cars Sedan Male oldest people 1 3 4076.819997
96
- 44 0.914442 2.950 old cars Station wagon Female old people 1 4 2356.409999
97
-
98
-
99
- 6) The distribution of the two target columns:
100
- - ClaimNb: 0 if no claim, else it follows a ~Poisson distribution
101
- - ClaimAmount: 0 if no claim, else positively skewed with ~gamma distribution
102
-
103
- 7) Core logical relationships:
104
- If ClaimOcc = 0 → ClaimNb = 0 and ClaimAmount = 0
105
- If ClaimOcc = 1 → ClaimNb ≥ 1 and ClaimAmount > 0
106
- ClaimNb ∈ {0,1,2,3,4}
107
- Exposure ∈ (0,1]
108
- VehValue >= 0
109
- ClaimAmount >= 0
110
-
111
- 8) Exposure as an offset-like driver of frequency:
112
- For similar risk factors, rows with higher Exposure should have proportionally higher probability of ClaimOcc and higher expected ClaimNb.
113
-
114
- 9) VehAge ↔ VehValue relationship:
115
- VehValue distribution should depend on VehAge with a clear decreasing trend as vehicles get older
116
-
117
- 10) Driver age effects on frequency:
118
- ClaimOcc probability should vary by DrivAge with higher risk for youngest/young and slightly elevated risk for oldest groups, and lower risk for middle working-age groups
119
-
120
- 11) VehBody effects on value and severity:
121
- VehBody should be associated with VehValue and modestly with ClaimAmount distribution (heavier tail for larger/specialty vehicles).
122
-
123
- 12) Severity structure tied to count:
124
- Conditional on ClaimOcc=1, ClaimAmount should have a positive association with ClaimNb at the distribution level.
125
-
126
- 13) Interaction hints:
127
- Include mild interactions such that the combination of younger drivers and higher-value younger cars has a modestly higher claim propensity.
128
-
129
- 14) generate a csv files and not provide code to build a dataframe
130
-