Skip to main content

Object oriented optimization

Project description


## objopt
This library provides object oriented optimization. This allows...

1. using theoretic values (such as the strong convexity parameter)
2. object-oriented definitions, both for models and optimization algorithms. This allows...
* interacting with the optimization as an object. Want to compute some
value partway through? Want to change the values as time goes on?
* getting results intermediately (or in the presence of a keyboard
interrept)
* having callbacks, etc

A typical example:

``` python
def get_stats():
# ...

model = Model()
opt = SGD(model.loss)

data = []
for _ in range(10):
opt.step(steps=10)
data += [get_stats(model)]
```

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

objopt-0.2.0.tar.gz (4.3 kB view details)

Uploaded Source

File details

Details for the file objopt-0.2.0.tar.gz.

File metadata

  • Download URL: objopt-0.2.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for objopt-0.2.0.tar.gz
Algorithm Hash digest
SHA256 00c6633602306f6b1d5a18ac5db6282cc9a4e46a500789409d5ef22f7234bfb3
MD5 c4008fb5021cfd0857c0fc318b287f08
BLAKE2b-256 07f47e53dc1550cdfc463cd3f5cc5fb862dd0ac35e57009018b16964815911e7

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