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.5.tar.gz (18.1 kB view details)

Uploaded Source

File details

Details for the file openml-pytorch-0.0.5.tar.gz.

File metadata

  • Download URL: openml-pytorch-0.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 0ce414aeb08f54387d9e0f44877d88fd3e03439c36847b50ced2a86d08a6aa77
MD5 7d23cb221af8cbe672d0460b9c7acd8c
BLAKE2b-256 bd76798eb6c9d8e254d0818073d7bf94e62f23461365c3a8c6f7446052bc5e57

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

This release

0.0.5 This release

1 file

0.0.4

1 file

0.0.3

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