Skip to main content

A robust package for extrapolation control in neural networks

Project description

XtrapNet

XtrapNet is a robust package for extrapolation control in neural networks. It provides advanced uncertainty quantification, ensemble methods, and fallback mechanisms to improve predictions in out-of-distribution regions.

Installation

pip install xtrapnet

Usage

from xtrapnet import XtrapNet, XtrapTrainer, XtrapController

net = XtrapNet(input_dim=2) trainer = XtrapTrainer(net, num_epochs=100) trainer.train(labels, features) xtrap_ctrl = XtrapController(trained_model=net, train_features=features, train_labels=labels, mode='clip')

predictions = xtrap_ctrl.predict([[0.5, 0.5]]) print(predictions) License MIT License

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

xtrapnet-0.1.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

xtrapnet-0.1.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file xtrapnet-0.1.1.tar.gz.

File metadata

  • Download URL: xtrapnet-0.1.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for xtrapnet-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d656bd2702583eb509c2872f96dba06fe8b03f4d3fdf8eb90bb2061a1c7d4f49
MD5 5b843bc263b51e3d81d2c1f3e352d352
BLAKE2b-256 1c540585fd196dde106dbf6227301ec6922f5581ed48782079ad2f092218dd19

See more details on using hashes here.

File details

Details for the file xtrapnet-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: xtrapnet-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for xtrapnet-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0c5b579bcbdb0bea7b07d42765dd15cc1d78a75adf5c500741e4c2d078734bcc
MD5 4f3b67744f3c262292c6652f89c7d0e6
BLAKE2b-256 659acb32c5c9c51e7dcb2d365738a9ac2251f6e4070523996684caaf10d18da1

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