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

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

(Различия между версиями)
Перейти к: навигация, поиск
м (Synthetic time series (in ts fomat - see. TSForecastingInterfaces))
(Sensors)
 
(5 промежуточных версий не показаны.)
Строка 9: Строка 9:
* periodicity, if present,
* periodicity, if present,
* other information.
* other information.
 +
 +
{|class="wikitable"
 +
|-
 +
|ts
 +
|colspan="2" |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 ==
== Examples ==
Строка 55: Строка 86:
* Records
* Records
=== Accelerometry ===
=== Accelerometry ===
 +
* [https://archive.ics.uci.edu/ml/datasets/OPPORTUNITY+Activity+Recognition]
 +
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://hasc.jp/hc2010/HASC2010corpus/hasc2010corpus-en.html (2010) 540 subjects, 6 activities (stay, walk, jog, skip, stair up, stair down). Includes segmented data (only one activity type, 20 seconds) and sequence data.
* http://hasc.jp/hc2010/HASC2010corpus/hasc2010corpus-en.html (2010) 540 subjects, 6 activities (stay, walk, jog, skip, stair up, stair down). Includes segmented data (only one activity type, 20 seconds) and sequence data.
Строка 76: Строка 110:
*# 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.
*# 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.
** Similar dataset http://www.cse.ust.hk/~derekhh/ActivityRecognition/dataset/hkust.rar set was used in the papers [https://www.aaai.org/Papers/AAAI/2004/AAAI04-092.pdf High-level Goal Recognition in a Wireless LAN] and [https://www.aaai.org/Papers/AAAI/2005/AAAI05-001.pdf Multiple-Goal Recognition from Low-Level Signals] for "inferring high-level user-behavior patterns from low-level sensory data through '''location-based plan recognition'''".
** Similar dataset http://www.cse.ust.hk/~derekhh/ActivityRecognition/dataset/hkust.rar set was used in the papers [https://www.aaai.org/Papers/AAAI/2004/AAAI04-092.pdf High-level Goal Recognition in a Wireless LAN] and [https://www.aaai.org/Papers/AAAI/2005/AAAI05-001.pdf Multiple-Goal Recognition from Low-Level Signals] for "inferring high-level user-behavior patterns from low-level sensory data through '''location-based plan recognition'''".
 +
* [http://www.caida.org/data/overview/ CAIDA] collects several different types Internet-related of data at geographically and topologically diverse locations.
== Kaggle competitions ==
== Kaggle competitions ==
Строка 86: Строка 121:
== Databases ==
== 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.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)
* 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://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.
* 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):
 +
* [http://aws.amazon.com/ru/datasets/ AWS public data sets]
 +
* https://datahub.io/ - data management platform from the Open Knowledge Foundation, based on the CKAN data management system
 +
 +
== Sensors ==
 +
* [http://iot.ee.surrey.ac.uk:8080/datasets.html Smart City] Includes Vehicle Traffic, Pollution and Weather data.
 +
* At the bottom of the page there are links to the [http://iot.ee.surrey.ac.uk:8080/datasets.html 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 ==
 +
* [http://copernicus.eu/data-access-satellite Copernicus: European's eye on Earth]
== See also ==
== See also ==

Текущая версия

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:

Личные инструменты