Now you can request additional data and/or customized columns!

Try It Now!

Arrhythmia

machine-learning

Files Size Format Created Updated License Source
3 1MB arff csv zip 1 year ago 1 year ago Open Data Commons Public Domain Dedication and License
The resources for this dataset can be found at https://www.openml.org/d/5 Author: H. Altay Guvenir, Burak Acar, Haldun Muderrisoglu Source: UCI Please cite: UCI Cardiac Arrhythmia Database The aim is to determine the type of arrhythmia from the ECG recordings. This database contains 279 read more
Download Developers

Data Files

Download files in this dataset

File Description Size Last changed Download
arrhythmia_arff 409kB arff (409kB)
arrhythmia 403kB csv (403kB) , json (3MB)
arrhythmia_zip Compressed versions of dataset. Includes normalized CSV and JSON data with original data and datapackage.json. 552kB zip (552kB)

arrhythmia_arff  

Signup to Premium Service for additional or customised data - Get Started

This is a preview version. There might be more data in the original version.

arrhythmia  

Signup to Premium Service for additional or customised data - Get Started

This is a preview version. There might be more data in the original version.

Field information

Field Name Order Type (Format) Description
age 1 number (default)
sex 2 number (default)
height 3 number (default)
weight 4 number (default)
QRSduration 5 number (default)
PRinterval 6 number (default)
Q-Tinterval 7 number (default)
Tinterval 8 number (default)
Pinterval 9 number (default)
QRS 10 number (default)
T 11 number (default)
P 12 number (default)
QRST 13 number (default)
J 14 string (default)
heartrate 15 number (default)
chDI_Qwave 16 number (default)
chDI_Rwave 17 number (default)
chDI_Swave 18 number (default)
chDI_RPwave 19 number (default)
chDI_SPwave 20 number (default)
chDI_intrinsicReflecttions 21 number (default)
chDI_RRwaveExists 22 number (default)
chDI_DD_RRwaveExists 23 number (default)
chDI_RPwaveExists 24 number (default)
chDI_DD_RPwaveExists 25 number (default)
chDI_RTwaveExists 26 number (default)
chDI_DD_RTwaveExists 27 number (default)
chDII_Qwave 28 number (default)
chDII_Rwave 29 number (default)
chDII_Swave 30 number (default)
chDII_RPwave 31 number (default)
chDII_SPwave 32 number (default)
chDII_intrinsicReflecttions 33 number (default)
chDII_RRwaveExists 34 number (default)
chDII_DD_RRwaveExists 35 number (default)
chDII_RPwaveExists 36 number (default)
chDII_DD_RPwaveExists 37 number (default)
chDII_RTwaveExists 38 number (default)
chDII_DD_RTwaveExists 39 number (default)
chDIII_Qwave 40 number (default)
chDIII_Rwave 41 number (default)
chDIII_Swave 42 number (default)
chDIII_RPwave 43 number (default)
chDIII_SPwave 44 number (default)
chDIII_intrinsicReflecttions 45 number (default)
chDIII_RRwaveExists 46 number (default)
chDIII_DD_RRwaveExists 47 number (default)
chDIII_RPwaveExists 48 number (default)
chDIII_DD_RPwaveExists 49 number (default)
chDIII_RTwaveExists 50 number (default)
chDIII_DD_RTwaveExists 51 number (default)
chAVR_Qwave 52 number (default)
chAVR_Rwave 53 number (default)
chAVR_Swave 54 number (default)
chAVR_RPwave 55 number (default)
chAVR_SPwave 56 number (default)
chAVR_intrinsicReflecttions 57 number (default)
chAVR_RRwaveExists 58 number (default)
chAVR_DD_RRwaveExists 59 number (default)
chAVR_RPwaveExists 60 number (default)
chAVR_DD_RPwaveExists 61 number (default)
chAVR_RTwaveExists 62 number (default)
chAVR_DD_RTwaveExists 63 number (default)
chAVL_Qwave 64 number (default)
chAVL_Rwave 65 number (default)
chAVL_Swave 66 number (default)
chAVL_RPwave 67 number (default)
chAVL_SPwave 68 number (default)
chAVL_intrinsicReflecttions 69 number (default)
chAVL_RRwaveExists 70 number (default)
chAVL_DD_RRwaveExists 71 number (default)
chAVL_RPwaveExists 72 number (default)
chAVL_DD_RPwaveExists 73 number (default)
chAVL_RTwaveExists 74 number (default)
chAVL_DD_RTwaveExists 75 number (default)
chAVF_Qwave 76 number (default)
chAVF_Rwave 77 number (default)
chAVF_Swave 78 number (default)
chAVF_RPwave 79 number (default)
chAVF_SPwave 80 number (default)
chAVF_intrinsicReflecttions 81 number (default)
chAVF_RRwaveExists 82 number (default)
chAVF_DD_RRwaveExists 83 number (default)
chAVF_RPwaveExists 84 number (default)
chAVF_DD_RPwaveExists 85 number (default)
chAVF_RTwaveExists 86 number (default)
chAVF_DD_RTwaveExists 87 number (default)
chV1_Qwave 88 number (default)
chV1_Rwave 89 number (default)
chV1_Swave 90 number (default)
chV1_RPwave 91 number (default)
chV1_SPwave 92 number (default)
chV1_intrinsicReflecttions 93 number (default)
chV1_RRwaveExists 94 number (default)
chV1_DD_RRwaveExists 95 number (default)
chV1_RPwaveExists 96 number (default)
chV1_DD_RPwaveExists 97 number (default)
chV1_RTwaveExists 98 number (default)
chV1_DD_RTwaveExists 99 number (default)
chV2_Qwave 100 number (default)
chV2_Rwave 101 number (default)
chV2_Swave 102 number (default)
chV2_RPwave 103 number (default)
chV2_SPwave 104 number (default)
chV2_intrinsicReflecttions 105 number (default)
chV2_RRwaveExists 106 number (default)
chV2_DD_RRwaveExists 107 number (default)
chV2_RPwaveExists 108 number (default)
chV2_DD_RPwaveExists 109 number (default)
chV2_RTwaveExists 110 number (default)
chV2_DD_RTwaveExists 111 number (default)
chV3_Qwave 112 number (default)
chV3_Rwave 113 number (default)
chV3_Swave 114 number (default)
chV3_RPwave 115 number (default)
chV3_SPwave 116 number (default)
chV3_intrinsicReflecttions 117 number (default)
chV3_RRwaveExists 118 number (default)
chV3_DD_RRwaveExists 119 number (default)
chV3_RPwaveExists 120 number (default)
chV3_DD_RPwaveExists 121 number (default)
chV3_RTwaveExists 122 number (default)
chV3_DD_RTwaveExists 123 number (default)
chV4_Qwave 124 number (default)
chV4_Rwave 125 number (default)
chV4_Swave 126 number (default)
chV4_RPwave 127 number (default)
chV4_SPwave 128 number (default)
chV4_intrinsicReflecttions 129 number (default)
chV4_RRwaveExists 130 number (default)
chV4_DD_RRwaveExists 131 number (default)
chV4_RPwaveExists 132 number (default)
chV4_DD_RPwaveExists 133 number (default)
chV4_RTwaveExists 134 number (default)
chV4_DD_RTwaveExists 135 number (default)
chV5_Qwave 136 number (default)
chV5_Rwave 137 number (default)
chV5_Swave 138 number (default)
chV5_RPwave 139 number (default)
chV5_SPwave 140 number (default)
chV5_intrinsicReflecttions 141 number (default)
chV5_RRwaveExists 142 number (default)
chV5_DD_RRwaveExists 143 number (default)
chV5_RPwaveExists 144 number (default)
chV5_DD_RPwaveExists 145 number (default)
chV5_RTwaveExists 146 number (default)
chV5_DD_RTwaveExists 147 number (default)
chV6_Qwave 148 number (default)
chV6_Rwave 149 number (default)
chV6_Swave 150 number (default)
chV6_RPwave 151 number (default)
chV6_SPwave 152 number (default)
chV6_intrinsicReflecttions 153 number (default)
chV6_RRwaveExists 154 number (default)
chV6_DD_RRwaveExists 155 number (default)
chV6_RPwaveExists 156 number (default)
chV6_DD_RPwaveExists 157 number (default)
chV6_RTwaveExists 158 number (default)
chV6_DD_RTwaveExists 159 number (default)
chDI_JJwaveAmp 160 number (default)
chDI_QwaveAmp 161 number (default)
chDI_RwaveAmp 162 number (default)
chDI_SwaveAmp 163 number (default)
chDI_RPwaveAmp 164 number (default)
chDI_SPwaveAmp 165 number (default)
chDI_PwaveAmp 166 number (default)
chDI_TwaveAmp 167 number (default)
chDI_QRSA 168 number (default)
chDI_QRSTA 169 number (default)
chDII_JJwaveAmp 170 number (default)
chDII_QwaveAmp 171 number (default)
chDII_RwaveAmp 172 number (default)
chDII_SwaveAmp 173 number (default)
chDII_RPwaveAmp 174 number (default)
chDII_SPwaveAmp 175 number (default)
chDII_PwaveAmp 176 number (default)
chDII_TwaveAmp 177 number (default)
chDII_QRSA 178 number (default)
chDII_QRSTA 179 number (default)
chDIII_JJwaveAmp 180 number (default)
chDIII_QwaveAmp 181 number (default)
chDIII_RwaveAmp 182 number (default)
chDIII_SwaveAmp 183 number (default)
chDIII_RPwaveAmp 184 number (default)
chDIII_SPwaveAmp 185 number (default)
chDIII_PwaveAmp 186 number (default)
chDIII_TwaveAmp 187 number (default)
chDIII_QRSA 188 number (default)
chDIII_QRSTA 189 number (default)
chAVR_JJwaveAmp 190 number (default)
chAVR_QwaveAmp 191 number (default)
chAVR_RwaveAmp 192 number (default)
chAVR_SwaveAmp 193 number (default)
chAVR_RPwaveAmp 194 number (default)
chAVR_SPwaveAmp 195 number (default)
chAVR_PwaveAmp 196 number (default)
chAVR_TwaveAmp 197 number (default)
chAVR_QRSA 198 number (default)
chAVR_QRSTA 199 number (default)
chAVL_JJwaveAmp 200 number (default)
chAVL_QwaveAmp 201 number (default)
chAVL_RwaveAmp 202 number (default)
chAVL_SwaveAmp 203 number (default)
chAVL_RPwaveAmp 204 number (default)
chAVL_SPwaveAmp 205 number (default)
chAVL_PwaveAmp 206 number (default)
chAVL_TwaveAmp 207 number (default)
chAVL_QRSA 208 number (default)
chAVL_QRSTA 209 number (default)
chAVF_JJwaveAmp 210 number (default)
chAVF_QwaveAmp 211 number (default)
chAVF_RwaveAmp 212 number (default)
chAVF_SwaveAmp 213 number (default)
chAVF_RPwaveAmp 214 number (default)
chAVF_SPwaveAmp 215 number (default)
chAVF_PwaveAmp 216 number (default)
chAVF_TwaveAmp 217 number (default)
chAVF_QRSA 218 number (default)
chAVF_QRSTA 219 number (default)
chV1_JJwaveAmp 220 number (default)
chV1_QwaveAmp 221 number (default)
chV1_RwaveAmp 222 number (default)
chV1_SwaveAmp 223 number (default)
chV1_RPwaveAmp 224 number (default)
chV1_SPwaveAmp 225 number (default)
chV1_PwaveAmp 226 number (default)
chV1_TwaveAmp 227 number (default)
chV1_QRSA 228 number (default)
chV1_QRSTA 229 number (default)
chV2_JJwaveAmp 230 number (default)
chV2_QwaveAmp 231 number (default)
chV2_RwaveAmp 232 number (default)
chV2_SwaveAmp 233 number (default)
chV2_RPwaveAmp 234 number (default)
chV2_SPwaveAmp 235 number (default)
chV2_PwaveAmp 236 number (default)
chV2_TwaveAmp 237 number (default)
chV2_QRSA 238 number (default)
chV2_QRSTA 239 number (default)
chV3_JJwaveAmp 240 number (default)
chV3_QwaveAmp 241 number (default)
chV3_RwaveAmp 242 number (default)
chV3_SwaveAmp 243 number (default)
chV3_RPwaveAmp 244 number (default)
chV3_SPwaveAmp 245 number (default)
chV3_PwaveAmp 246 number (default)
chV3_TwaveAmp 247 number (default)
chV3_QRSA 248 number (default)
chV3_QRSTA 249 number (default)
chV4_JJwaveAmp 250 number (default)
chV4_QwaveAmp 251 number (default)
chV4_RwaveAmp 252 number (default)
chV4_SwaveAmp 253 number (default)
chV4_RPwaveAmp 254 number (default)
chV4_SPwaveAmp 255 number (default)
chV4_PwaveAmp 256 number (default)
chV4_TwaveAmp 257 number (default)
chV4_QRSA 258 number (default)
chV4_QRSTA 259 number (default)
chV5_JJwaveAmp 260 number (default)
chV5_QwaveAmp 261 number (default)
chV5_RwaveAmp 262 number (default)
chV5_SwaveAmp 263 number (default)
chV5_RPwaveAmp 264 number (default)
chV5_SPwaveAmp 265 number (default)
chV5_PwaveAmp 266 number (default)
chV5_TwaveAmp 267 number (default)
chV5_QRSA 268 number (default)
chV5_QRSTA 269 number (default)
chV6_JJwaveAmp 270 number (default)
chV6_QwaveAmp 271 number (default)
chV6_RwaveAmp 272 number (default)
chV6_SwaveAmp 273 number (default)
chV6_RPwaveAmp 274 number (default)
chV6_SPwaveAmp 275 number (default)
chV6_PwaveAmp 276 number (default)
chV6_TwaveAmp 277 number (default)
chV6_QRSA 278 number (default)
chV6_QRSTA 279 number (default)
class 280 number (default)

Integrate this dataset into your favourite tool

Use our data-cli tool designed for data wranglers:

data get https://datahub.io/machine-learning/arrhythmia
data info machine-learning/arrhythmia
tree machine-learning/arrhythmia
# Get a list of dataset's resources
curl -L -s https://datahub.io/machine-learning/arrhythmia/datapackage.json | grep path

# Get resources

curl -L https://datahub.io/machine-learning/arrhythmia/r/0.arff

curl -L https://datahub.io/machine-learning/arrhythmia/r/1.csv

curl -L https://datahub.io/machine-learning/arrhythmia/r/2.zip

If you are using R here's how to get the data you want quickly loaded:

install.packages("jsonlite", repos="https://cran.rstudio.com/")
library("jsonlite")

json_file <- 'https://datahub.io/machine-learning/arrhythmia/datapackage.json'
json_data <- fromJSON(paste(readLines(json_file), collapse=""))

# get list of all resources:
print(json_data$resources$name)

# print all tabular data(if exists any)
for(i in 1:length(json_data$resources$datahub$type)){
  if(json_data$resources$datahub$type[i]=='derived/csv'){
    path_to_file = json_data$resources$path[i]
    data <- read.csv(url(path_to_file))
    print(data)
  }
}

Note: You might need to run the script with root permissions if you are running on Linux machine

Install the Frictionless Data data package library and the pandas itself:

pip install datapackage
pip install pandas

Now you can use the datapackage in the Pandas:

import datapackage
import pandas as pd

data_url = 'https://datahub.io/machine-learning/arrhythmia/datapackage.json'

# to load Data Package into storage
package = datapackage.Package(data_url)

# to load only tabular data
resources = package.resources
for resource in resources:
    if resource.tabular:
        data = pd.read_csv(resource.descriptor['path'])
        print (data)

For Python, first install the `datapackage` library (all the datasets on DataHub are Data Packages):

pip install datapackage

To get Data Package into your Python environment, run following code:

from datapackage import Package

package = Package('https://datahub.io/machine-learning/arrhythmia/datapackage.json')

# print list of all resources:
print(package.resource_names)

# print processed tabular data (if exists any)
for resource in package.resources:
    if resource.descriptor['datahub']['type'] == 'derived/csv':
        print(resource.read())

If you are using JavaScript, please, follow instructions below:

Install data.js module using npm:

  $ npm install data.js

Once the package is installed, use the following code snippet:

const {Dataset} = require('data.js')

const path = 'https://datahub.io/machine-learning/arrhythmia/datapackage.json'

// We're using self-invoking function here as we want to use async-await syntax:
;(async () => {
  const dataset = await Dataset.load(path)
  // get list of all resources:
  for (const id in dataset.resources) {
    console.log(dataset.resources[id]._descriptor.name)
  }
  // get all tabular data(if exists any)
  for (const id in dataset.resources) {
    if (dataset.resources[id]._descriptor.format === "csv") {
      const file = dataset.resources[id]
      // Get a raw stream
      const stream = await file.stream()
      // entire file as a buffer (be careful with large files!)
      const buffer = await file.buffer
      // print data
      stream.pipe(process.stdout)
    }
  }
})()

Read me

The resources for this dataset can be found at https://www.openml.org/d/5

Author: H. Altay Guvenir, Burak Acar, Haldun Muderrisoglu
Source: UCI
Please cite: UCI

Cardiac Arrhythmia Database
The aim is to determine the type of arrhythmia from the ECG recordings. This database contains 279 attributes, 206 of which are linear valued and the rest are nominal.

Concerning the study of H. Altay Guvenir: "The aim is to distinguish between the presence and absence of cardiac arrhythmia and to classify it in one of the 16 groups. Class 01 refers to ‘normal’ ECG classes, 02 to 15 refers to different classes of arrhythmia and class 16 refers to the rest of unclassified ones. For the time being, there exists a computer program that makes such a classification. However, there are differences between the cardiologist’s and the program’s classification. Taking the cardiologist’s as a gold standard we aim to minimize this difference by means of machine learning tools.

The names and id numbers of the patients were recently removed from the database.

Attribute Information

   1 Age: Age in years , linear
   2 Sex: Sex (0 = male; 1 = female) , nominal
   3 Height: Height in centimeters , linear
   4 Weight: Weight in kilograms , linear
   5 QRS duration: Average of QRS duration in msec., linear
   6 P-R interval: Average duration between onset of P and Q waves
     in msec., linear
   7 Q-T interval: Average duration between onset of Q and offset
     of T waves in msec., linear
   8 T interval: Average duration of T wave in msec., linear
   9 P interval: Average duration of P wave in msec., linear
  Vector angles in degrees on front plane of:, linear
  10 QRS
  11 T
  12 P
  13 QRST
  14 J
  15 Heart rate: Number of heart beats per minute ,linear
  Of channel DI:
   Average width, in msec., of: linear
   16 Q wave
   17 R wave
   18 S wave
   19 R' wave, small peak just after R
   20 S' wave
   21 Number of intrinsic deflections, linear
   22 Existence of ragged R wave, nominal
   23 Existence of diphasic derivation of R wave, nominal
   24 Existence of ragged P wave, nominal
   25 Existence of diphasic derivation of P wave, nominal
   26 Existence of ragged T wave, nominal
   27 Existence of diphasic derivation of T wave, nominal
  Of channel DII: 
   28 .. 39 (similar to 16 .. 27 of channel DI)
  Of channels DIII:
   40 .. 51
  Of channel AVR:
   52 .. 63
  Of channel AVL:
   64 .. 75
  Of channel AVF:
   76 .. 87
  Of channel V1:
   88 .. 99
  Of channel V2:
   100 .. 111
  Of channel V3:
   112 .. 123
  Of channel V4:
   124 .. 135
  Of channel V5:
   136 .. 147
  Of channel V6:
   148 .. 159
  Of channel DI:
   Amplitude , * 0.1 milivolt, of
   160 JJ wave, linear
   161 Q wave, linear
   162 R wave, linear
   163 S wave, linear
   164 R' wave, linear
   165 S' wave, linear
   166 P wave, linear
   167 T wave, linear
   168 QRSA , Sum of areas of all segments divided by 10,
       ( Area= width * height / 2 ), linear
   169 QRSTA = QRSA + 0.5 * width of T wave * 0.1 * height of T
       wave. (If T is diphasic then the bigger segment is
       considered), linear
  Of channel DII:
   170 .. 179
  Of channel DIII:
   180 .. 189
  Of channel AVR:
   190 .. 199
  Of channel AVL:
   200 .. 209
  Of channel AVF:
   210 .. 219
  Of channel V1:
   220 .. 229
  Of channel V2:
   230 .. 239
  Of channel V3:
   240 .. 249
  Of channel V4:
   250 .. 259
  Of channel V5:
   260 .. 269
  Of channel V6:
   270 .. 279

Class code - class - number of instances:

    01             Normal                245
    02             Ischemic changes (Coronary Artery Disease)   44
    03             Old Anterior Myocardial Infarction           15
    04             Old Inferior Myocardial Infarction           15
    05             Sinus tachycardy        13
    06             Sinus bradycardy        25
    07             Ventricular Premature Contraction (PVC)       3
    08             Supraventricular Premature Contraction       2
    09             Left bundle branch block         9 
    10             Right bundle branch block       50
    11             1. degree AtrioVentricular block       0 
    12             2. degree AV block                0
    13             3. degree AV block                0
    14             Left ventricule hypertrophy                4
    15             Atrial Fibrillation or Flutter               5
    16             Others                 22
Datapackage.json

Request Customized Data


Notifications of data updates and schema changes

Warranty / guaranteed updates

Workflow integration (e.g. Python packages, NPM packages)

Customized data (e.g. you need different or additional data)

Or suggest your own feature from the link below