dataSaver-0.0.3
توضیحات
Utility to save data to cvs as an easy (and very basic) to read and use alternative to tensorboard
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | dataSaver-0.0.3 |
| نام | dataSaver |
| نسخه کتابخانه | 0.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Pedro A. Favuzzi |
| ایمیل نویسنده | pa.favuzzi@gmail.com |
| آدرس صفحه اصلی | https://github.com/Pensarfeo/dataSaver |
| آدرس اینترنتی | https://pypi.org/project/dataSaver/ |
| مجوز | - |
# DataSaver
Utility to save data to cvs as an easy (and very basic) to read and use alternative to tensorboard.
## Usage
```python
from dataSaver import DataSaver
dataSaver = DataSaver('./somedir/filename/')
# creates a file in csv format, where the keys of the dictionary are the column names and the values of the first row are the values associated with each key
dataSaver.add({
'ephoch': 10,
, 'iter': 200
, 'learningRate': 0.0001,
, 'loss': 10324
}
# The first call fixes the columns and only the keys that where present the first time add was called will be added
dataSaver.add({
'ephoch': 10,
, 'bananass': 10324
, 'iter': 200
, 'learningRate': 0.0001,
, 'loss': 10324
, 'bananass': 10324
})
# collect all data in an internal array dataSaver.cacheArray
dataSaver.cache({....})
# Save the data collected by cache to file and empty cache
dataSaver.dumpCache()
```
نیازمندی
| مقدار | نام |
|---|---|
| - | numpy |
نحوه نصب
نصب پکیج whl dataSaver-0.0.3:
pip install dataSaver-0.0.3.whl
نصب پکیج tar.gz dataSaver-0.0.3:
pip install dataSaver-0.0.3.tar.gz