File size: 2,971 Bytes
4b174e9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
  "corpus_targets": {
    "class": {
      "TEXT": 0.5699935050876813,
      "PERSON": 0.15743667460489283,
      "MISC": 0.1885256549036588,
      "FORMULA": 0.04360251136609656,
      "CHAINED": 0.04044165403767049
    },
    "bucket": [
      0.0,
      0.0922277549253085,
      0.2612686728729162,
      0.3286425633253951,
      0.3178610088763802
    ],
    "old": 0.3979216280580212,
    "density": 7.405629335744738,
    "total_spans": 23095,
    "total_books": 254
  },
  "measured_splits": {
    "train": {
      "books": 210,
      "spans": 18753,
      "class_mix": {
        "TEXT": 0.5699354769903482,
        "PERSON": 0.15784141204074015,
        "MISC": 0.1887697968325068,
        "FORMULA": 0.04431290993441049,
        "CHAINED": 0.03914040420199435
      },
      "density": 7.398483240299252,
      "old_pct": 39.956273662880605
    },
    "val": {
      "books": 25,
      "spans": 2005,
      "class_mix": {
        "TEXT": 0.5695760598503741,
        "PERSON": 0.1571072319201995,
        "MISC": 0.18703241895261846,
        "FORMULA": 0.040897755610972565,
        "CHAINED": 0.045386533665835414
      },
      "density": 7.373870304729927,
      "old_pct": 39.30174563591022
    },
    "test": {
      "books": 19,
      "spans": 2337,
      "class_mix": {
        "TEXT": 0.5708172871202396,
        "PERSON": 0.15447154471544716,
        "MISC": 0.1878476679503637,
        "FORMULA": 0.04022250748823278,
        "CHAINED": 0.04664099272571673
      },
      "density": 7.504141463092419,
      "old_pct": 38.89602053915276
    }
  },
  "chosen_weights": {
    "density_weight": 10.0,
    "batch_weight": 0.5,
    "book_cap": 25,
    "seed": 2,
    "score": 1.5593887306483656,
    "err_test": 0.446689887529903,
    "err_val": 0.2240123873040929
  },
  "leakage_audit": {
    "table": [
      {
        "min_length": 10,
        "spans": 23072,
        "more_than_one_book": 3921,
        "more_than_one_book_pct": 16.994625520110958,
        "crosses_split": 1837,
        "crosses_split_pct": 7.9620319001386965,
        "held_out_in_train": 732,
        "total_held_out": 4324,
        "held_out_in_train_pct": 16.92876965772433
      },
      {
        "min_length": 20,
        "spans": 22755,
        "more_than_one_book": 3884,
        "more_than_one_book_pct": 17.06877609316634,
        "crosses_split": 1818,
        "crosses_split_pct": 7.989452867501648,
        "held_out_in_train": 724,
        "total_held_out": 4267,
        "held_out_in_train_pct": 16.96742441996719
      },
      {
        "min_length": 30,
        "spans": 21977,
        "more_than_one_book": 3765,
        "more_than_one_book_pct": 17.131546616917685,
        "crosses_split": 1748,
        "crosses_split_pct": 7.9537698502980385,
        "held_out_in_train": 699,
        "total_held_out": 4088,
        "held_out_in_train_pct": 17.098825831702545
      }
    ],
    "seen_in_train_count": 724,
    "seen_in_train_pct": 16.674343620451406
  }
}