Skip to content

Commit

Permalink
more cats tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jackgerrits committed Aug 15, 2023
1 parent 043648e commit 3c933cf
Show file tree
Hide file tree
Showing 6 changed files with 186 additions and 186 deletions.
114 changes: 57 additions & 57 deletions test/pred-sets/ref/cats.predict
Original file line number Diff line number Diff line change
@@ -1,57 +1,57 @@
17118.012,0.00016043648
15724.644,0.00016043648
15331.798,0.00016043648
15138.831,0.00016043648
13393.029,0.00016043648
12710.978,0.00016043648
14503.708,0.00016043648
15936.4,0.00016043648
17257.076,0.00016043648
17208.654,0.00016043648
14921.187,0.00016043648
16660.594,0.00016043648
13486.455,0.00016043648
6641.8545,2.1031378e-06
14801.345,0.00016043648
17399.625,0.00016043648
16820.953,0.00016043648
13160.789,0.00016043648
15094.871,0.00016043648
13487.722,0.00016043648
17514.398,0.00016043648
12287.391,0.00016043648
17394.318,0.00016043648
12249.621,0.00016043648
12830.798,0.00016043648
14759.012,0.00016043648
17850.668,0.00016043648
15202.806,0.00016043648
16561.379,0.00016043648
12855.774,0.00016043648
13520.215,0.00016043648
14063.967,0.00016043648
16150.232,0.00016043648
12360.427,0.00016043648
13487.657,0.00016043648
17476.367,0.00016043648
15890.128,0.00016043648
14077.783,0.00016043648
17775.543,0.00016043648
15440.219,0.00016043648
16326.922,0.00016043648
13204.399,0.00016043648
17127.232,0.00016043648
17641.572,0.00016043648
13169.023,0.00016043648
16228.357,0.00016043648
14428.307,0.00016043648
16230.57,0.00016043648
12099.055,0.00016043648
17408.406,0.00016043648
17183.14,0.00016043648
13980.631,0.00016043648
16711.67,0.00016043648
1768.2766,2.1031378e-06
12294.268,0.00016043648
15582.021,0.00016043648
17690.637,0.00016043648
16793.773,0.00016043647
17118.012,0.00016043647
17713.61,0.00016043647
15724.643,0.00016043647
13239.782,0.00016043647
15331.797,0.00016043647
12142.141,0.00016043647
15138.831,0.00016043647
14645.7,0.00016043647
13393.029,0.00016043647
17545.05,0.00016043647
12710.977,0.00016043647
12617.485,0.00016043647
14503.707,0.00016043647
15984.484,0.00016043647
15936.399,0.00016043647
14643.835,0.00016043647
17257.074,0.00016043647
17299.61,0.00016043647
17208.654,0.00016043647
12631.003,0.00016043647
14921.187,0.00016043647
12721.814,0.00016043647
16660.594,0.00016043647
15443.514,0.00016043647
13486.455,0.00016043647
12181.869,0.00016043647
6641.853,2.1031378e-06
15241.56,0.00016043647
14801.344,0.00016043647
910.76746,2.1031378e-06
17399.625,0.00016043647
12541.766,0.00016043647
16820.953,0.00016043647
12102.344,0.00016043647
13160.788,0.00016043647
16463.285,0.00016043647
15094.871,0.00016043647
17983.957,0.00016043647
13487.721,0.00016043647
16005.059,0.00016043647
17514.398,0.00016043647
14627.654,0.00016043647
12287.391,0.00016043647
17782.832,0.00016043647
17394.316,0.00016043647
16736.158,0.00016043647
12249.621,0.00016043647
15287.943,0.00016043647
12830.798,0.00016043647
17067.023,0.00016043647
14759.012,0.00016043647
16284.014,0.00016043647
17850.668,0.00016043647
17372.887,0.00016043647
15202.805,0.00016043647
17974.736,0.00016043647
20 changes: 10 additions & 10 deletions test/pred-sets/ref/cats_load.predict
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
2.3137953,0.40625
1.8475317,0.40625
2.1299162,0.40625
1.7430687,0.40625
14.327164,0.00625
1.7164373,0.40625
1.748255,0.40625
30.00431,0.00625
0.51225615,0.40625
2.3816023,0.40625
25.271912,0.00625
2.1290207,0.40625
4.473629,0.00625
18.205719,0.00625
2.4059067,0.40625
9.585819,0.00625
0.93930376,0.40625
1.7801242,0.40625
2.0926502,0.40625
0.8038121,0.40625
200 changes: 100 additions & 100 deletions test/pred-sets/ref/cats_room_temp.predict
Original file line number Diff line number Diff line change
@@ -1,100 +1,100 @@
84.607056,0.005
3.9181187,0.08833334
39.260834,0.005
17.99776,0.08833334
39.331844,0.005
6.7627044,0.005
77.12543,0.005
69.8972,0.005
17.184662,0.08833334
54.76903,0.005
0.66596967,0.005
13.026539,0.005
52.522453,0.08833334
86.18144,0.005
49.648746,0.08833334
53.096367,0.08833334
41.92059,0.005
88.03693,0.005
50.15336,0.08833334
1.6463974,0.005
57.090523,0.08833334
25.416866,0.005
94.471146,0.005
43.387676,0.005
59.151047,0.08833334
38.3481,0.005
51.486103,0.08833334
50.88297,0.08833334
85.89383,0.005
55.38167,0.005
51.260296,0.08833334
85.17497,0.005
50.680935,0.08833334
49.601463,0.08833334
59.61712,0.005
76.559,0.005
51.651062,0.08833334
62.96363,0.005
7.8253226,0.005
32.741436,0.005
21.816528,0.005
53.33639,0.08833334
33.895855,0.005
48.782,0.08833334
48.93803,0.08833334
48.645847,0.08833334
53.199036,0.08833334
77.73645,0.005
62.783302,0.005
18.494978,0.005
66.79538,0.005
53.29303,0.08833334
53.5938,0.08833334
47.533524,0.005
8.389192,0.005
28.030102,0.005
52.605915,0.08833334
53.525967,0.08833334
50.158722,0.08833334
47.26561,0.005
72.41367,0.005
1.1448574,0.005
53.4234,0.08833334
88.777985,0.005
95.276276,0.005
49.196915,0.08833334
48.705658,0.08833334
51.38816,0.08833334
9.958978,0.005
95.176796,0.005
56.863132,0.005
48.599724,0.08833334
42.992935,0.005
49.75944,0.08833334
21.298155,0.005
21.954062,0.005
54.1602,0.08833334
53.210964,0.08833334
52.06177,0.08833334
55.077793,0.005
50.11463,0.08833334
55.921093,0.005
67.825,0.005
74.41847,0.005
79.864365,0.005
24.734612,0.005
53.9586,0.08833334
94.53804,0.005
48.65285,0.08833334
67.55201,0.005
48.724384,0.08833334
50.91952,0.08833334
40.403355,0.005
46.697994,0.005
49.63687,0.08833334
50.199287,0.08833334
52.23696,0.08833334
48.77658,0.08833334
52.563095,0.08833334
14.676942,0.005
53.204613,0.08833334
9.196535,0.005
17.174236,0.08833334
77.29088,0.005
15.437802,0.08833334
93.60582,0.005
73.45269,0.005
19.235268,0.08833334
40.03132,0.005
18.64663,0.08833334
66.666214,0.005
53.193462,0.08833334
34.754963,0.005
34.70198,0.005
57.403484,0.005
67.80745,0.005
86.91858,0.005
52.78149,0.08833334
43.365547,0.005
55.016094,0.08833334
8.145193,0.005
57.61373,0.08833334
50.82185,0.08833334
48.282825,0.005
81.51001,0.005
26.397629,0.005
23.397736,0.005
50.563953,0.08833334
53.253433,0.08833334
53.1661,0.08833334
50.818462,0.08833334
72.26961,0.005
73.63446,0.005
70.71592,0.005
23.83146,0.005
51.322205,0.08833334
26.74537,0.005
54.481422,0.08833334
52.270885,0.08833334
48.716354,0.08833334
9.419978,0.005
2.7159307,0.005
51.904087,0.08833334
51.104538,0.08833334
0.30527782,0.005
76.84366,0.005
20.968102,0.005
58.275642,0.005
6.868239,0.005
40.830856,0.005
54.12306,0.08833334
51.63766,0.08833334
95.59329,0.005
48.718655,0.08833334
53.290802,0.08833334
80.52641,0.005
50.78907,0.08833334
12.805883,0.005
89.139755,0.005
76.673355,0.005
55.5548,0.005
11.593977,0.005
51.98833,0.08833334
30.242346,0.005
66.171425,0.005
51.027653,0.08833334
53.797455,0.08833334
91.31642,0.005
75.98573,0.005
51.8337,0.08833334
95.297424,0.005
54.301224,0.08833334
49.036102,0.08833334
31.043774,0.005
56.56052,0.005
48.77767,0.08833334
53.00767,0.08833334
49.76527,0.08833334
28.06632,0.005
53.554474,0.08833334
54.24915,0.08833334
15.149416,0.005
48.76757,0.08833334
48.71854,0.08833334
52.769234,0.08833334
79.30612,0.005
2.7464993,0.005
53.082054,0.08833334
58.80374,0.005
49.790363,0.08833334
56.0045,0.005
88.90586,0.005
52.904503,0.08833334
52.2649,0.08833334
11.048922,0.005
53.87539,0.08833334
49.905197,0.08833334
42.230206,0.005
42.714077,0.005
68.1033,0.005
14 changes: 7 additions & 7 deletions test/train-sets/ref/cats-predict.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ Input label = CONTINUOUS
Output pred = ACTION_PDF_VALUE
average since example example current current current
loss last counter weight label predict features
0.000000 0.000000 1 1.0 {185.12,0.6... 17118.01,0 10
0.000000 0.000000 2 2.0 {772.59,0.4... 15724.64,0 10
0.226921 0.453841 4 4.0 {14122,0.02,0} 15138.83,0 10
0.321934 0.416948 8 8.0 {12715.1,0.... 15936.4,0 10
0.177189 0.032443 16 16.0 {669.12,0.4... 17399.62,0 10
0.189219 0.201250 32 32.0 {10786.7,0.... 14063.97,0 10
0.000000 0.000000 1 1.0 {185.12,0.6... 16793.77,0 10
0.000000 0.000000 2 2.0 {772.59,0.4... 17118.01,0 10
0.226921 0.453841 4 4.0 {14122,0.02,0} 15724.64,0 10
0.321934 0.416948 8 8.0 {12715.1,0.... 15138.83,0 10
0.200445 0.078955 16 16.0 {669.12,0.4... 15936.4,0 10
0.191026 0.181608 32 32.0 {10786.7,0.... 17399.62,0 10

finished run
number of examples = 57
weighted example sum = 57.000000
weighted label sum = 57.000000
average loss = 0.168316
average loss = 0.184755
total feature number = 570
Learn() count per node: id=0, #l=17; id=1, #l=0; id=2, #l=0;
8 changes: 4 additions & 4 deletions test/train-sets/ref/cats_load.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ Input label = CONTINUOUS
Output pred = ACTION_PDF_VALUE
average since example example current current current
loss last counter weight label predict features
0.000000 0.000000 1 1.0 {0,0,0.01} 2.31,0.41 6
0.000000 0.000000 2 2.0 {0.58,0,0.41} 1.85,0.41 6
0.000000 0.000000 4 4.0 {10.35,0,0.01} 1.74,0.41 6
0.000000 0.000000 8 8.0 {2.41,0,0.41} 30,0.01 6
0.000000 0.000000 1 1.0 {0,0,0.01} 25.27,0.01 6
0.000000 0.000000 2 2.0 {0.58,0,0.41} 2.13,0.41 6
0.000000 0.000000 4 4.0 {10.35,0,0.01} 18.21,0.01 6
0.000000 0.000000 8 8.0 {2.41,0,0.41} 1.78,0.41 6

finished run
number of examples = 10
Expand Down
Loading

0 comments on commit 3c933cf

Please sign in to comment.