diabetes
Bases: tabular_dataloader
A dataloader class for the Pima Indians Diabetes dataset.
This class extends the tabular_dataloader
class to load and process the Pima Indians Diabetes dataset.
The dataset contains medical data for 768 women of Pima Indian heritage, including several diagnostic
measurements and a binary label indicating whether the individual has diabetes.
Attributes:
Name | Type | Description |
---|---|---|
name |
str, default = 'pima_indians_diabetes_dataset'
|
The name of the dataset. |
data_contents |
(list or tuple, optional)
|
The contents of the Pima Indians Diabetes dataset, typically provided as a list of data entries. |
Methods:
Name | Description |
---|---|
__init__ |
Initializes the Pima Indians Diabetes dataset dataloader. |
Source code in tinybig/data/tabular_dataloader.py
__init__(name='pima_indians_diabetes_dataset', data_contents=Pima_indian_Diabetes_Dataset, *args, **kwargs)
Initializes the Pima Indians Diabetes dataset dataloader.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
name
|
str
|
The name of the dataset. |
= 'pima_indians_diabetes_dataset'
|
data_contents
|
list or tuple
|
The contents of the Pima Indians Diabetes dataset. |
Pima_indian_Diabetes_Dataset
|
Returns:
Type | Description |
---|---|
None
|
|