Skip to main content

Augment pandas DataFrame with methods for machine learning

Project description

pytorch extension for pandas-ml-utils

Adds a PytorchModel to the pandas ml utils suite. While a regular class extending nn.Module is sufficient, there is also a special class PytorchNN which can be extended as well. Using this class has the following advantages:

  • allows to use L1, L2 regularization -> example
  • allows different forward path for training and prediction (useful i.e. for reparameterization trick) -> example
  • allows to implement auto-encoders easily by just providing the encode/decode functions
  • added loss functions like SoftDTW (fit time series) loss or HeteroscedasticityLoss (fit Normal Distribution) -> example



Fitting Example

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

pandas-ml-utils-torch-0.2.7.tar.gz (47.4 kB view details)

Uploaded Source

File details

Details for the file pandas-ml-utils-torch-0.2.7.tar.gz.

File metadata

  • Download URL: pandas-ml-utils-torch-0.2.7.tar.gz
  • Upload date:
  • Size: 47.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for pandas-ml-utils-torch-0.2.7.tar.gz
Algorithm Hash digest
SHA256 e47498bcfa10d00fd423828e23a9921e785fce6a2d340a149fc1333ec7be6863
MD5 9f57cad375f88b3c0a2c5c8558211c05
BLAKE2b-256 dcd14cee7b4e22b9f3c3654932c80e4883954ece63c8259e50040121a313761a

See more details on using hashes here.

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