Datasets:
Merge branch 'main' of https://huggingface.co/datasets/oxai4science/sdoml-lite into main
Browse files
README.md
CHANGED
@@ -77,6 +77,8 @@ Each sample obtained by iterating through the WebDataset corresponds to one sola
|
|
77 |
|
78 |
## Usage Example
|
79 |
|
|
|
|
|
80 |
```python
|
81 |
from datasets import load_dataset
|
82 |
from datetime import datetime
|
@@ -113,6 +115,9 @@ sample = next(iter(dataset['train']))
|
|
113 |
timestamp, data = process(sample)
|
114 |
plot(timestamp, data)
|
115 |
```
|
|
|
|
|
|
|
116 |
|
117 |
## Data Generation and Processing
|
118 |
|
|
|
77 |
|
78 |
## Usage Example
|
79 |
|
80 |
+
In the [SDOML-lite GitHub repository](https://github.com/oxai4science/sdoml-lite) you can find a well-tested PyTorch dataset implementation that is designed to work with a local copy of the dataset. The following is another minimal code example of how to read data from a streaming version of the dataset.
|
81 |
+
|
82 |
```python
|
83 |
from datasets import load_dataset
|
84 |
from datetime import datetime
|
|
|
115 |
timestamp, data = process(sample)
|
116 |
plot(timestamp, data)
|
117 |
```
|
118 |
+
<div align="left">
|
119 |
+
<img src="https://huggingface.co/datasets/oxai4science/sdoml-lite/resolve/main/assets/usage_example_1.png">
|
120 |
+
</div>
|
121 |
|
122 |
## Data Generation and Processing
|
123 |
|