Skip to main content

Torch models rewritten in sklearn format

Project description

sk_in_torch

Some torch models in sklearn format.

Goal:

Installation of pytorch is everywhere Why not use torch to compute some of the traditional models as well? Also, it is possible to make torch conform to sklearn's grammar, making it almost plug and play. Here are some of the results & I show you that sklearn and packages in sklearn style (like linear-tree) can work with these functions seamlessly.

Quickstart:

an early version of call is at https://www.kaggle.com/code/hli111111/sklearn-in-pytorch-with-gpu note that you do not need to rewrite the classes if you import this.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sk_in_torch-0.0.3.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sk_in_torch-0.0.3-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file sk_in_torch-0.0.3.tar.gz.

File metadata

  • Download URL: sk_in_torch-0.0.3.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.0

File hashes

Hashes for sk_in_torch-0.0.3.tar.gz
Algorithm Hash digest
SHA256 6d0c3713a2d0fcd0cc898bd1e3f721eb2598231787eca92c3b695cbd35955438
MD5 ecaf70ec9ddbf851949d0dc484aaedd1
BLAKE2b-256 e865e45413944a4132470c5b36523e098ed560f462636b1af92f08b1a183dc15

See more details on using hashes here.

File details

Details for the file sk_in_torch-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: sk_in_torch-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.0

File hashes

Hashes for sk_in_torch-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 848f48b21e57db451b22df6439337532d17d0a6be42db29f218e1e7468336b48
MD5 c2071906a4389a0981d1c8ff68724022
BLAKE2b-256 6ce9230357ec407ea8dacba7917f6c296ce6a21b5480b45e6df840a42d9281be

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page