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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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