UNKNOWN
Project description
# PyPythia
Python library for the Pythia platform.
## Usage
```
from pythia import Experiment
# init experiment
# implies that an instance of Pythia is listening on localhost
exp = Experiment('http://localhost:5667/api/v1/')
exp.name = "some catchy name"
exp.description = "describe the experiment here"
# create a model
model = exp.create_model()
model.name = "2 layers foo bar dropout softmax"
for i in range(NUM_EPOCHS):
for j in range(NUM_EXAMPLES):
# the following two lines are not really valid
train_classifier()
train_accuracy = accuracy(classifier)
# save the measured training accuracy
model.add_measurement(name='train_accuracy',
value=train_accuracy,
step=j,
epoch=i)
```
## Examples
* [MNIST ConvNet in Tensorflow](https://github.com/ChristianSch/PyPythia/blob/master/examples/Tensorflow%20MNIST.ipynb)
Python library for the Pythia platform.
## Usage
```
from pythia import Experiment
# init experiment
# implies that an instance of Pythia is listening on localhost
exp = Experiment('http://localhost:5667/api/v1/')
exp.name = "some catchy name"
exp.description = "describe the experiment here"
# create a model
model = exp.create_model()
model.name = "2 layers foo bar dropout softmax"
for i in range(NUM_EPOCHS):
for j in range(NUM_EXAMPLES):
# the following two lines are not really valid
train_classifier()
train_accuracy = accuracy(classifier)
# save the measured training accuracy
model.add_measurement(name='train_accuracy',
value=train_accuracy,
step=j,
epoch=i)
```
## Examples
* [MNIST ConvNet in Tensorflow](https://github.com/ChristianSch/PyPythia/blob/master/examples/Tensorflow%20MNIST.ipynb)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size pypythia-0.0.3-py2-none-any.whl (5.0 kB) | File type Wheel | Python version 2.7 | Upload date | Hashes View |
Filename, size pypythia-0.0.3.tar.gz (3.2 kB) | File type Source | Python version None | Upload date | Hashes View |