Datasets:
Upload README.md
Browse files
README.md
CHANGED
@@ -2,13 +2,13 @@
|
|
2 |
language:
|
3 |
- en
|
4 |
tags:
|
5 |
-
-
|
6 |
- tabular_classification
|
7 |
- binary_classification
|
8 |
- multiclass_classification
|
9 |
-
pretty_name:
|
10 |
size_categories:
|
11 |
-
-
|
12 |
task_categories: # Full list at https://github.com/huggingface/hub-docs/blob/main/js/src/lib/interfaces/Types.ts
|
13 |
- tabular-classification
|
14 |
configs:
|
@@ -17,40 +17,19 @@ configs:
|
|
17 |
- income-no race
|
18 |
- race
|
19 |
---
|
20 |
-
#
|
21 |
-
The [
|
22 |
Census dataset including personal characteristic of a person, and their income threshold.
|
23 |
|
24 |
# Configurations and tasks
|
25 |
| **Configuration** | **Task** | Description |
|
26 |
|-------------------|---------------------------|---------------------------------------------------------------|
|
27 |
-
|
|
28 |
-
| income | Binary classification | Classify the person's income as over or under the threshold. |
|
29 |
-
| income-no race | Binary classification | As `income`, but the `race` feature is removed. |
|
30 |
-
| race | Multiclass classification | Predict the race of the individual. |
|
31 |
|
32 |
# Usage
|
33 |
```
|
34 |
from datasets import load_dataset
|
35 |
from sklearn.tree import DecisionTreeClassifier
|
36 |
|
37 |
-
dataset = load_dataset("mstz/
|
38 |
```
|
39 |
-
|
40 |
-
# Features
|
41 |
-
|**Feature** |**Type** | **Description** |
|
42 |
-
|-------------------|-----------|-----------------------------------------------------------|
|
43 |
-
|`age` |`[int64]` | Age of the person |
|
44 |
-
|`capital_gain` |`[float64]`| Capital gained by the person |
|
45 |
-
|`capital_loss` |`[float64]`| Capital lost by the person |
|
46 |
-
|`education` |`[int8]` | Education level: the higher, the more educated the person |
|
47 |
-
|`final_weight` |`[int64]` | |
|
48 |
-
|`hours_per_week` |`[int64]` | Hours worked per week |
|
49 |
-
|`marital_status` |`[string]` | Marital status of the person |
|
50 |
-
|`native_country` |`[string]` | Native country of the person |
|
51 |
-
|`occupation` |`[string]` | Job of the person |
|
52 |
-
|`race` |`[string]` | Race of the person |
|
53 |
-
|`relationship` |`[string]` | |
|
54 |
-
|`sex` |`[int8]` | Sex of the person |
|
55 |
-
|`workclass` |`[string]` | Type of job of the person |
|
56 |
-
|`over_threshold` |`int8` |`1` for income `>= 50k$`, `0` otherwise |
|
|
|
2 |
language:
|
3 |
- en
|
4 |
tags:
|
5 |
+
- acute_inflammation
|
6 |
- tabular_classification
|
7 |
- binary_classification
|
8 |
- multiclass_classification
|
9 |
+
pretty_name: Acute Inflammation
|
10 |
size_categories:
|
11 |
+
- 100<n<1K
|
12 |
task_categories: # Full list at https://github.com/huggingface/hub-docs/blob/main/js/src/lib/interfaces/Types.ts
|
13 |
- tabular-classification
|
14 |
configs:
|
|
|
17 |
- income-no race
|
18 |
- race
|
19 |
---
|
20 |
+
# Acute Inflammation
|
21 |
+
The [Acute Inflammation dataset](https://archive.ics.uci.edu/ml/datasets/Acute Inflammation) from the [UCI ML repository](https://archive.ics.uci.edu/ml/datasets).
|
22 |
Census dataset including personal characteristic of a person, and their income threshold.
|
23 |
|
24 |
# Configurations and tasks
|
25 |
| **Configuration** | **Task** | Description |
|
26 |
|-------------------|---------------------------|---------------------------------------------------------------|
|
27 |
+
| inflammation | Binary classification | Predict if the patient has an acute inflammation. |
|
|
|
|
|
|
|
28 |
|
29 |
# Usage
|
30 |
```
|
31 |
from datasets import load_dataset
|
32 |
from sklearn.tree import DecisionTreeClassifier
|
33 |
|
34 |
+
dataset = load_dataset("mstz/acute_inflammation", "inflammation")["train"]
|
35 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|