RoadNetwork

class itergp.datasets.uci.RoadNetwork(dir='data/uci/3droad', overwrite=False)

Bases: UCIDataset

3D Road Network (North Jutland, Denmark) (434,874 × 3).

Dataset of longitude, latitude and altitude values of a road network in North Jutland, Denmark (covering a region of 185x135 km2). Elevation values where extracted from a publicly available massive Laser Scan Point Cloud for Denmark. This 3D road network was eventually used for benchmarking various fuel and CO2 estimation algorithms.

Source: https://archive.ics.uci.edu/ml/datasets/3D+Road+Network+(North+Jutland,+Denmark)

Attributes Summary

URL

input_shape

Input shape of the data.

output_shape

Output shape of the data.

test

Test data.

train

Training data.

Methods Summary

from_disk(dir)

resample(rng_state)

Resample the training and test set from the entire data set.

save([dir, overwrite])

Save dataset to disk.

Attributes Documentation

Parameters
  • dir (Optional[str]) –

  • overwrite (bool) –

URL = 'https://archive.ics.uci.edu/ml/machine-learning-databases/00246/'
input_shape

Input shape of the data.

output_shape

Output shape of the data.

test

Test data.

train

Training data.

Methods Documentation

classmethod from_disk(dir)
Parameters

dir (str) –

Return type

Dataset

resample(rng_state)

Resample the training and test set from the entire data set.

Randomly selects new datapoints for the training and test set of the same sizes as the original dataset.

Parameters

rng_state (SeedSequence) – Random number generator state.

Return type

Dataset

save(dir='data', overwrite=False)

Save dataset to disk.

Parameters
  • dir (str) – Directory to save data to.

  • overwrite – Whether to overwrite existing data.

Return type

None