Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    ArrowInvalid
Message:      Schema at index 1 was different: 
logs: list<item: list<item: string>>
train: double
donors: int64
calibration: double
block: double
gap: double
seed: int64
signals: list<item: string>
period: double
max_hold: double
min_speed: double
vs
logs: list<item: string>
signals: list<item: string>
period: double
max_hold: double
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1869, in _prepare_split_single
                  num_examples, num_bytes = writer.finalize()
                                            ~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 781, in finalize
                  self.write_rows_on_file()
                  ~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 662, in write_rows_on_file
                  table = pa.concat_tables(self.current_rows)
                File "pyarrow/table.pxi", line 6321, in pyarrow.lib.concat_tables
                File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
                File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
                  raise convert_status(status)
              pyarrow.lib.ArrowInvalid: Schema at index 1 was different: 
              logs: list<item: list<item: string>>
              train: double
              donors: int64
              calibration: double
              block: double
              gap: double
              seed: int64
              signals: list<item: string>
              period: double
              max_hold: double
              min_speed: double
              vs
              logs: list<item: string>
              signals: list<item: string>
              period: double
              max_hold: double
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1694, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1880, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

pgn
int64
start
float64
stop
float64
source
float64
first
int64
last
int64
moved
float64
65,132
1,612,431,248.339637
1,612,431,256.403272
1,608,460,519.782598
20
100
0.253993
61,445
1,612,431,357.35129
1,612,431,362.590763
1,609,756,015.584954
1,110
1,162
3.188586
61,445
1,612,431,371.715882
1,612,431,377.753377
1,606,812,394.610293
1,253
1,312
4.09961
65,266
1,612,431,471.72497
1,612,431,481.623043
1,606,917,695.669332
2,253
2,351
0.722521
61,442
1,612,431,531.852985
1,612,431,536.334166
1,606,473,681.355669
2,853
2,897
0.739126
61,449
1,612,431,564.916326
1,612,431,571.394836
1,609,756,028.571682
3,184
3,248
2.646964
65,265
1,612,431,623.446166
1,612,431,633.179017
1,606,812,415.330267
3,769
3,865
2.011848
65,266
1,612,431,707.6936
1,612,431,716.133823
1,606,141,098.430836
4,612
4,695
2.084989
61,441
1,612,431,752.05181
1,612,431,759.733838
1,608,460,513.114315
5,054
5,130
2.80439
61,449
1,612,431,818.46309
1,612,431,822.414377
1,607,353,921.517326
5,717
5,756
2.1207
61,443
1,612,431,883.265477
1,612,431,887.039109
1,610,374,850.5518
6,366
6,402
3.088603
65,266
1,612,431,947.544682
1,612,431,957.490455
1,606,223,337.279437
7,008
7,106
3.397913
61,442
1,612,431,986.695356
1,612,431,993.105494
1,607,331,218.123312
7,399
7,462
3.043175
65,266
1,612,432,049.910995
1,612,432,053.53661
1,610,354,794.503494
8,031
8,066
1.383112
61,449
1,612,432,105.879748
1,612,432,114.263228
1,610,457,607.647558
8,589
8,672
4.152757
61,441
1,612,432,167.058914
1,612,432,175.630651
1,606,812,422.776884
9,201
9,233
3.542388
61,443
1,612,432,244.964548
1,612,432,247.51723
1,609,756,048.795944
9,979
10,004
1.182271
65,266
1,612,432,288.646998
1,612,432,297.832383
1,606,223,355.033565
10,416
10,507
1.312924
61,444
1,612,432,360.494369
1,612,432,364.699441
1,610,096,416.750545
11,133
11,174
4.406032
65,132
1,612,432,402.46589
1,612,432,411.067996
1,610,374,848.518891
11,552
11,637
3.3281
61,449
1,612,432,436.740586
1,612,432,443.87016
1,610,982,481.313892
11,895
11,965
4.723844
61,449
1,612,432,536.4134
1,612,432,543.109997
1,609,756,008.978952
12,891
12,957
1.185619
61,444
1,612,432,571.854583
1,612,432,576.022887
1,611,228,794.607752
13,244
13,285
0.01657
61,442
1,612,432,650.711731
1,612,432,659.239036
1,608,980,805.059655
14,032
14,116
2.482922
65,266
1,612,432,704.685381
1,612,432,707.047254
1,606,896,925.369158
14,572
14,595
0.594532
61,442
1,612,432,750.250612
1,612,432,757.330611
1,606,394,470.403112
15,026
15,096
2.596493
61,444
1,612,432,889.824543
1,612,432,892.815705
1,611,059,580.341322
16,422
16,450
2.043533
65,132
1,612,432,943.80904
1,612,432,945.9913
1,610,982,497.120261
16,961
16,982
0.378955
61,445
1,612,432,987.280541
1,612,432,991.047175
1,606,223,323.221657
17,395
17,432
2.029342
61,442
1,612,433,064.825785
1,612,433,070.562835
1,610,096,388.652377
18,170
18,226
2.823106
65,265
1,612,433,132.431149
1,612,433,137.299592
1,606,917,705.630722
18,846
18,894
3.299112
61,444
1,612,433,196.162069
1,612,433,203.743646
1,606,729,386.226673
19,483
19,558
4.981248
61,443
1,612,433,224.728449
1,612,433,227.994119
1,610,982,463.342085
19,768
19,800
0.985243
61,443
1,612,433,265.645718
1,612,433,275.017065
1,610,457,626.596342
20,177
20,270
4.294456
61,445
1,612,433,357.210389
1,612,433,366.208827
1,610,374,845.25867
21,092
21,181
4.555123
65,266
1,612,433,422.189793
1,612,433,426.197254
1,610,982,474.644915
21,742
21,781
1.531745
61,441
1,612,433,473.107068
1,612,433,477.794401
1,606,223,320.583163
22,253
22,296
4.354185
61,443
1,612,433,598.325033
1,612,433,607.155227
1,610,615,319.564325
23,501
23,589
6.788909
61,442
1,612,433,621.640183
1,612,433,630.271405
1,608,980,771.439354
23,733
23,819
4.555112
61,444
1,612,433,716.802031
1,612,433,720.082669
1,607,353,939.175767
24,685
24,716
2.548244
65,132
1,612,433,742.115312
1,612,433,748.660523
1,610,982,495.366034
24,938
25,002
0.558263
61,441
1,612,433,808.85027
1,612,433,814.196083
1,610,374,829.329717
25,650
25,657
4.501784
65,266
1,612,433,909.108238
1,612,433,912.36973
1,611,059,627.360236
26,607
26,639
2.947886
61,441
1,612,433,944.26294
1,612,433,952.306818
1,610,457,608.844097
26,957
26,964
2.95199
65,132
1,612,433,989.024971
1,612,433,991.423827
1,609,411,606.359845
27,404
27,427
3.573794
61,443
1,612,434,086.893563
1,612,434,096.722137
1,610,615,319.85762
28,383
28,480
4.014826
61,441
1,612,434,108.914611
1,612,434,114.254492
1,610,982,488.065996
28,603
28,655
2.87819
65,266
1,612,434,187.0788
1,612,434,196.920757
1,606,118,726.469226
29,384
29,481
1.412012
61,445
1,612,434,230.762312
1,612,434,237.956435
1,610,457,643.35133
29,820
29,890
0.911025
65,132
1,612,434,309.121894
1,612,434,314.926738
1,606,394,452.264077
30,602
30,659
0.474955
61,442
1,612,434,378.274573
1,612,434,386.673169
1,609,411,556.599815
31,293
31,376
9.192495
61,449
1,612,434,399.492371
1,612,434,408.030556
1,610,096,375.6545
31,505
31,589
7.266546
61,444
1,612,434,491.655511
1,612,434,493.993892
1,606,118,951.798294
32,426
32,448
0.820528
61,441
1,612,434,554.338242
1,612,434,563.845753
1,607,951,958.188289
33,108
33,147
3.468588
65,265
1,612,434,604.702976
1,612,434,611.945871
1,610,457,612.19395
33,556
33,627
0.591481
65,132
1,612,434,663.345478
1,612,434,666.771785
1,610,354,770.302845
34,142
34,175
1.095536
61,449
1,612,434,733.380867
1,612,434,737.551854
1,606,473,683.468714
34,842
34,882
2.298841
61,441
1,612,434,751.279413
1,612,434,759.514748
1,607,353,926.377273
35,020
35,062
3.099589
65,132
1,612,434,862.990961
1,612,434,867.307208
1,610,374,832.975815
36,137
36,179
1.774531
61,444
1,612,434,917.885574
1,612,434,923.710091
1,606,394,467.542185
36,685
36,743
3.238529
61,445
1,612,434,948.035915
1,612,434,955.865201
1,610,096,384.63556
36,987
37,064
3.644098
65,266
1,612,435,037.88934
1,612,435,040.758551
1,608,980,788.417105
37,884
37,912
4.628263
61,442
1,612,435,085.399353
1,612,435,088.393951
1,607,353,941.970209
38,358
38,387
3.044316
61,443
1,612,435,155.314007
1,612,435,159.994662
1,607,331,209.311671
39,057
39,103
0.983344
61,442
1,612,435,167.695493
1,612,435,176.144441
1,608,460,474.978156
39,181
39,264
2.40083
65,132
1,612,435,223.899371
1,612,435,227.667841
1,611,228,833.301217
39,745
39,780
0.016597
65,265
1,612,435,325.731179
1,612,435,330.049746
1,610,096,406.809329
40,761
40,803
0.49564
65,132
1,612,435,996.347504
1,612,436,004.564306
1,610,374,831.730682
41,614
41,695
0.612283
65,266
1,612,436,071.38265
1,612,436,073.603602
1,611,059,615.229471
42,363
42,385
0.805095
61,445
1,612,436,115.75671
1,612,436,121.73341
1,606,394,453.339212
42,806
42,865
3.644098
61,442
1,612,436,173.958255
1,612,436,180.945576
1,606,812,409.288015
43,387
43,456
9.008878
61,442
1,612,436,272.458645
1,612,436,281.074538
1,610,354,819.456277
44,372
44,457
3.351599
65,132
1,612,436,327.999253
1,612,436,334.510485
1,606,473,670.022875
44,927
44,991
0.833083
65,265
1,612,436,373.086192
1,612,436,381.75446
1,607,353,962.14625
45,378
45,464
0.645666
61,444
1,612,436,400.719367
1,612,436,407.597532
1,610,354,806.671671
45,654
45,721
4.139924
61,449
1,612,436,461.136627
1,612,436,470.328691
1,611,228,790.046362
46,257
46,348
5.327542
61,443
1,612,436,562.607853
1,612,436,569.428547
1,606,917,686.249878
47,271
47,339
2.654119
65,265
1,612,436,581.096662
1,612,436,588.747648
1,611,059,581.26157
47,456
47,532
0.641598
61,443
1,612,436,639.099715
1,612,436,641.630552
1,606,141,094.582645
48,036
48,060
2.341122
61,443
1,612,436,739.733687
1,612,436,744.378442
1,609,411,597.018277
49,042
49,087
2.898492
65,266
1,612,436,774.256201
1,612,436,784.004987
1,609,411,575.91611
49,387
49,483
0.528473
65,266
1,612,436,854.483794
1,612,436,861.074773
1,606,141,145.576387
50,188
50,253
1.26338
61,444
1,612,436,889.430217
1,612,436,894.841151
1,611,228,919.566342
50,537
50,590
8.224944
65,265
1,612,436,976.108583
1,612,436,984.714155
1,608,980,810.90841
51,403
51,489
2.261946
61,441
1,612,437,027.140226
1,612,437,033.831334
1,610,457,593.088438
51,913
51,979
3.247189
61,445
1,612,437,070.155178
1,612,437,074.574714
1,606,729,410.133039
52,343
52,386
4.555123
61,445
1,612,437,149.773116
1,612,437,159.316693
1,606,917,674.783928
53,138
53,233
5.466147
61,443
1,612,437,184.26297
1,612,437,186.76104
1,608,460,511.845535
53,483
53,507
0.723895
61,441
1,612,437,257.510809
1,612,437,259.955026
1,607,353,926.025925
54,214
54,238
3.025789
61,443
1,612,437,331.402675
1,612,437,339.140185
1,610,457,611.009412
54,953
55,030
2.670738
65,132
1,612,437,373.052127
1,612,437,379.946294
1,606,141,099.002286
55,369
55,437
3.423937
61,443
1,612,437,444.40915
1,612,437,446.570975
1,606,473,649.909028
56,082
56,103
2.583104
61,444
1,612,437,487.775842
1,612,437,494.96778
1,610,354,810.128427
56,515
56,586
2.373225
61,442
1,612,437,635.04965
1,612,437,644.520974
1,610,615,335.492516
57,987
58,080
2.636875
61,443
1,612,437,695.000249
1,612,437,703.308781
1,607,331,194.888286
58,586
58,668
3.857317
61,442
1,612,437,731.410955
1,612,437,740.746054
1,607,331,214.298278
58,948
59,041
3.806529
65,132
1,612,437,790.232852
1,612,437,792.538327
1,606,812,432.57201
59,536
59,558
3.648967
61,442
1,612,437,876.489458
1,612,437,881.341888
1,609,411,598.635114
60,398
60,445
11.090066
61,444
1,612,437,947.801931
1,612,437,956.808949
1,610,374,866.689106
61,110
61,199
4.410004
65,266
1,612,438,023.99882
1,612,438,032.233985
1,610,615,315.583856
61,872
61,953
3.129548
End of preview.

ai_can_anomaly_detection_data

The rows the detectors in asana17/ai_can_anomaly_detection are trained, calibrated and tested on, built from CAN logs by assemble.dataset there. A run reads them at one revision and records that revision, so the models in asana17/ai_can_anomaly_detection_runs each name the data they were fitted on.

python3 -m evaluate.pc.run asana17/ai_can_anomaly_detection_data <revision> out runs_clone

main holds the dataset built from every log. A smaller one built for a quick try goes to a branch of its own.

Source

Built from the University of Turku J1939 truck dataset, a Renault Euro VI truck on the road, normal traffic only. It is CC BY 4.0, and so is this. https://etsin.fairdata.fi/dataset/7586f24f-c91b-41df-92af-283524de8b3e/data

The raw logs are not here. Fetch them from the page above.

Files

file holds
seconds.json MIN_SPEED, and each log's seconds above it, which splits the logs into train and test
grid.json the train logs and the grid settings the grid was built with
grid_raw.npy the train logs on a 0.1 s grid, float32, 17 signals a row. The train and calibration rows are cut from it
grid_t.npy, grid_seg.npy each grid row's time and segment
scale.npy the mean, then the std, every row is z-scored by, fitted to the train rows
built.json the logs and the settings the attack set and the scale were built with
attacked.json where each attack sits, its PGN, time span, rows and how far it moved them
attacked_raw.npy the test logs with one attack each, on the grid
attacked_rows.npy attacked_raw.npy z-scored by scale.npy
attacked_t.npy, attacked_seg.npy, attacked_label.npy, attacked_wheel.npy each test row's time, segment, attack label and wheel speed

The signals and the settings are in grid.json and built.json.

The attacked CAN frames are not stored, only the rows built from them.

Downloads last month
-

Models trained or fine-tuned on asana17/ai_can_anomaly_detection_data