Временной ряд (библиотека примеров)

Материал из MachineLearning.

Перейти к: навигация, поиск

Time series is a sequence of equally spaced data measurements. This page lists a number of examples of time series for testing forecasting algorithms.

Содержание

File structure

Data is stored in comma-separated .csv format, with decimals searated by periods. The first column contains timestamps. The second column stores the forecasted time series, other columns may store complementary time series. Each dataset is followed with a tsNameReadme.txt file, with specifies:

  • data source (or a problem that was solved),
  • timestamps format,
  • interpretation of the data, column-wise,
  • type of data scale for each column,
  • periodicity, if present,
  • other information.
ts Describes time series
t [T,1] Time in milliseconds since 1/1/1970 (UNIX format)
x [T, N] Columns of the matrix are time series; missing values are NaNs
legend {1, N } Time series descriptions ts.x, e.g. ts.legend={‘Consumption, ‘Price’, ‘Temperature’};
readme [string] Data information (source, formation time etc.)
type [1,N] (optional) Time series types ts.x, 1-real-valued, 2-binary, k – k-valued
timegen [T,1]=func(timetick) (optional) Time ticks generator, may contain the start (end) time in UNIX format and a function to generate the vector t [T,1]

Examples

Synthetic time series (in ts format - see. TSForecastingInterfaces)

Highly periodic

Noisy periodic time series

Complex periodicity

  • ECG ECG
  • Pulse wave
  • MEG
  • Reflected time series

Aperiodic

  • Flu propagation FluUSA
  • Migration

High noise

Event-driven

Accelerometry

OPPORTUNITY Activity Recognition Data Set for Human Activity Recognition from Wearable, Object, and Ambient Sensors is a dataset devised to benchmark human activity recognition algorithms (classification, etc.).

  • http://www-scf.usc.edu/~mizhang/datasets.html (2012) 14 subjects, 12 activities (walk forward, walk left, walk right, go upstairs, go downstairs, run forward, jump up and down, sit and fidget, stand, sleep, elevator up, and elevator down). The data is captured by the MotionNode inertial sensing device which integrates an 3-axis accelerometer (+-6g) and an 3-axis gyroscope (+-500dps), sampled at 100 Hz.
  • http://www.opportunity-project.eu/challengedatasetdownload (2011), 4 subjects. An annotated dataset of complex, interleaved and hierarchical activities, with a particularly large number of atomic activities (around 30’000), collected in a rich sensor environment. The full setup including both ambient and on-body sensors comprises 72 sensors of 10 modalities, integrated in the environment and on the body.

Other

  • http://llmpp.nih.gov/lymphoma/: classification of DLBCL (Diffuse large B-cell lymphoma) patients via gene expression (pdf). Raw data for all Lymphochip microarrays are available here. For each microarray, two scan files were generated, one for each fluorescence emission wavelength corresponding to the fluorophor used in the reverse transcription labeling reaction.
  • http://www.cse.ust.hk/~qyang/ICDMDMC07/: indoor location and transferlearning. The task is to predict the location of each collection of received signal strength (RSS) values in an indoor environment, received from the WiFi Access Points (APs).
    1. The training data a set of (RSS values, Location Label) pairs, where the location labels are discrete (non-sequential), and a collection of partially labelled user traces, which corresponds to a sequence of RSS values collected as a user continuously walks around a building.
    2. The training data and test data are collected at different time periods. Some test data objects are associated with location labels to use as benchmarks.
  • CAIDA collects several different types Internet-related of data at geographically and topologically diverse locations.

Kaggle competitions

  • https://www.kaggle.com/c/seizure-prediction: predict seizures in intracranial EEG recordings. Intracranial EEG was recorded from dogs with naturally occurring epilepsy using an ambulatory monitoring system. EEG was sampled from 16 electrodes at 400 Hz, and recorded voltages were referenced to the group average. These are long duration recordings, spanning multiple months up to a year and recording up to a hundred seizures in some dogs. Preictal training and testing data segments are provided covering one hour prior to seizure with a five minute seizure horizon.
  • https://www.kaggle.com/c/belkin-energy-disaggregation-competition/data: SmartHouse energy consumption prediction. Electromagnetic Interference (EMI) is measured using a special sensor built at the Ubicomp Lab to identify what appliance is being used and how much energy it is consuming. The data is available from 4 homes (H1-H4) consisting of both training datasets and testing datasets. The training set includes information about which appliance was turned ON or OFF and at what timestamps.
  • https://www.kaggle.com/c/predicting-parkinson-s-disease-progression-with-smartphone-data: measure the symptoms of Parkinson’s disease with a smartphone. The data was collected from 9 PD patients, at varying stages of the disease, and 7 healthy controls over a period wthin 4 months. The data includes the following streams: audio, accelerometry (3D, for each of the 3 axes: mean, absolute central moment, standard deviation, maximum deviation, power spectral density across four separate bands), GPS (latitude, longitude, altitude), compass (for each of the 3 axes: mean, absolute central moment, standard deviation, maximum deviation).
  • https://www.kaggle.com/c/accelerometer-biometric-competition/data: recognize users of mobile devices from accelerometer data. The dataset contains approximately 60 million unique samples of accelerometer data collected from 387 different devices. These are split into equal sets for training and test. Samples in the training set are labeled with the unique device from which the data was collected. The test set is demarcated into 90k sequences of consecutive samples from one device.
  • https://www.kaggle.com/c/connectomics: network structure reconstruction. Test data includes time series of neural activities obtained from fluorescence signals and (x, y) coordinates of the neurons. (Neurons are arranged on a flat surface simulating a neural culture). For training data, the network connectivity is also provided. The task is to reconstruct their connectivity from activity data.
  • https://www.kaggle.com/c/grasp-and-lift-eeg-detection: identify hand motions from EEG recordings. Dataset contains EEG time series for 12 subjects in total, 10 series of trials for each subject (8 series in training set and 2 series in test set), and approximately 30 trials within each series. The task is to detect each of six events: HandStart, FirstDigitTouch, BothStartLoadPhase, LiftOff, Replace or BothReleased.

Databases

Medicine:

  • http://www.physionet.org/ contains collections of recorded physiologic signals (accelerometry, ECG, EEG, EHG, EMG, blood pressure, hart rate, auditory brainstem response, etc.)
  • http://www.ebi.ac.uk/arrayexpress/experiments/browse.html is a database of genomic data. Data can be searched by a number of parameters, such as molecule (DNA, RNA, amplicon, metabolite, protein) or experimntal technology (array, high-throughput sequencing, mass spectrometry)
  • https://www.ieeg.org/ includes a large database of scientific data and tools to analyze epilepsy datasets.
  • https://sleepdata.org/datasets offers six public datasets of sleep research data collected in children and adults across the U.S.

Cross-disciplinary data repositories, data collections and data search engines (from datacentral.com):

Sensors

  • Smart City Includes Vehicle Traffic, Pollution and Weather data.
  • At the bottom of the page there are links to the Live data set, which contains sensor data from the meeting room, including presence of people in the room with temperature, humidity, oxygen and carbon dioxide values.

Spatial-time series

See also

The dataset is used in: