Skip to main content

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)

Uploaded Source

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

Hashes for openml-pytorch-0.0.3.tar.gz
Algorithm Hash digest
SHA256 c325c4a3954d82c7103e05d3b4c8cb8747b78dbaf345ea1d74792b18862ab116
MD5 175ea62d985ff21867510e3b26003bf2
BLAKE2b-256 5383ba0467ad291c5505c18ddafc8d30284258bec6472929dbb8aa91f558f78c

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

0.0.5

1 file

0.0.4

1 file

This release

0.0.3 This release

1 file

0.0.2

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page