Pytorch extension for OpenML python
Pytorch extension for openml-python API.
Installation Instructions:
pip install openml-pytorch
PyPi link https://pypi.org/project/openml-pytorch/
Usage
Import openML libraries
import openml
import openml_pytorch
import openml_pytorch.layers
import openml_pytorch.config
Create a torch model
model = torch.nn.Sequential(
processing_net,
features_net,
results_net
)
Download the task from openML and run the model on task.
task = openml.tasks.get_task(3573)
run = openml.runs.run_model_on_task(model, task, avoid_duplicate_runs=False)
run.publish()
print('URL for run: %s/run/%d' % (openml.config.server, run.run_id))
Note: The input layer of the network should be compatible with OpenML data output shape. Please check examples for more information.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
openml-pytorch-0.0.3.tar.gz
(18.1 kB
view details)
File details
Details for the file openml-pytorch-0.0.3.tar.gz.
File metadata
- Download URL: openml-pytorch-0.0.3.tar.gz
- Upload date:
- Size: 18.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c325c4a3954d82c7103e05d3b4c8cb8747b78dbaf345ea1d74792b18862ab116
|
|
| MD5 |
175ea62d985ff21867510e3b26003bf2
|
|
| BLAKE2b-256 |
5383ba0467ad291c5505c18ddafc8d30284258bec6472929dbb8aa91f558f78c
|