language:en license:mit region:us medical
---
license: mit
language:
- en
tags:
- medical
pretty_name: Diabetes Readmissions
---

# Data source:
  Clore,John, Cios,Krzysztof, DeShazo,Jon, and Strack,Beata. (2014).
  Diabetes 130-US hospitals for years 1999-2008. UCI Machine Learning
  Repository. https://doi.org/10.24432/C5230J.

# Basic data preprocessing was based on this [notebook](https://github.com/csinva/imodels-data/blob/master/notebooks_fetch_data/00_get_datasets_custom.ipynb).

# To load raw train and test sets

  from datasets import load_dataset
  
  train_set = load_dataset(dataset_name, data_files="train.csv")
  
  test_set = load_dataset(dataset_name, data_files="test.csv")

# To load preprocessed train set

  from datasets import load_dataset
  
  preprocessed_train_set = load_dataset(dataset_name, data_files="preprocessed_train_set.csv")




