leonleyang commited on
Commit
dd6b9de
·
verified ·
1 Parent(s): e605ead

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +77 -0
README.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ {}
3
+ ---
4
+
5
+ # Dataset Card for STL-10
6
+
7
+ <!-- Provide a quick summary of the dataset. -->
8
+
9
+ ## Dataset Details
10
+
11
+ ### Dataset Description
12
+
13
+ <!-- Provide a longer summary of what this dataset is. -->
14
+ The STL-10 dataset is an image recognition dataset for developing unsupervised feature learning, deep learning, self-taught learning algorithms. It is inspired by the CIFAR-10 dataset but with some modifications. In particular, each class has fewer labeled training examples than in CIFAR-10, but a very large set of unlabeled examples is provided to learn image models prior to supervised training.
15
+
16
+ ### Dataset Sources
17
+
18
+ <!-- Provide the basic links for the dataset. -->
19
+
20
+ - **Homepage:** https://cs.stanford.edu/~acoates/stl10/
21
+ - **Paper:** Coates, A., Ng, A., & Lee, H. (2011, June). An analysis of single-layer networks in unsupervised feature learning. In Proceedings of the fourteenth international conference on artificial intelligence and statistics (pp. 215-223). JMLR Workshop and Conference Proceedings.
22
+
23
+ ## Dataset Structure
24
+
25
+ <!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
26
+
27
+ #### Labeled
28
+ Total images: 13,000
29
+
30
+ Classes: 10 categories (airplane, bird, car, cat, deer, dog, horse, monkey, ship, truck)
31
+
32
+ Splits:
33
+
34
+ - **Train:** 5,000 images
35
+
36
+ - **Test:** 8,000 images
37
+
38
+ Image specs: 96x96 pixels, RGB
39
+
40
+ #### Unlabeled
41
+ Total images: 100,000
42
+
43
+ Classes: all labels are -1
44
+
45
+ ## Example Usage
46
+ Below is a quick example of how to load this dataset via the Hugging Face Datasets library.
47
+ ```
48
+ from datasets import load_dataset
49
+
50
+ # Load the dataset
51
+ dataset = load_dataset("randall-lab/stl10", split="train", trust_remote_code=True)
52
+ # dataset = load_dataset("randall-lab/stl10", split="test", trust_remote_code=True)
53
+ # dataset = load_dataset("randall-lab/stl10", split="unlabeled", trust_remote_code=True)
54
+
55
+ # Access a sample from the dataset
56
+ example = dataset[0]
57
+ image = example["image"]
58
+ label = example["label"]
59
+
60
+ image.show() # Display the image
61
+ print(f"Label: {label}")
62
+ ```
63
+
64
+ ## Citation
65
+
66
+ <!-- If there is a paper or blog post introducing the dataset, the APA and Bibtex information for that should go in this section. -->
67
+
68
+ **BibTeX:**
69
+
70
+ @inproceedings{coates2011analysis,
71
+ title={An analysis of single-layer networks in unsupervised feature learning},
72
+ author={Coates, Adam and Ng, Andrew and Lee, Honglak},
73
+ booktitle={Proceedings of the fourteenth international conference on artificial intelligence and statistics},
74
+ pages={215--223},
75
+ year={2011},
76
+ organization={JMLR Workshop and Conference Proceedings}
77
+ }